src/dpdk/drivers/net/igc/base/igc_mac.c
static void igc_config_collision_dist_generic(struct igc_hw *hw)
{
	u32 tctl;

	DEBUGFUNC("igc_config_collision_dist_generic");

	tctl = IGC_READ_REG(hw, IGC_TCTL);

	tctl &= ~IGC_TCTL_COLD;
	tctl |= IGC_COLLISION_DISTANCE << IGC_COLD_SHIFT;

	IGC_WRITE_REG(hw, IGC_TCTL, tctl);
	IGC_WRITE_FLUSH(hw);
}
/**
 *  igc_config_collision_dist_generic - Configure collision distance
 *  @hw: pointer to the HW structure
 *
 *  Configures the collision distance to the default value and is used
 *  during link setup.
 **/
Configure collision distance
@hw: pointer to the HW structure

Configures the collision distance to the default value and is used
during link setup.
Configure collision distance @hw : pointer to the HW structure Configures the collision distance to the default value and is used during link setup .
static void igc_config_collision_dist_generic(struct igc_hw *hw)
{
	u32 tctl;
	DEBUGFUNC("igc_config_collision_dist_generic");
	tctl = IGC_READ_REG(hw, IGC_TCTL);
	tctl &= ~IGC_TCTL_COLD;
	tctl |= IGC_COLLISION_DISTANCE << IGC_COLD_SHIFT;
	IGC_WRITE_REG(hw, IGC_TCTL, tctl);
	IGC_WRITE_FLUSH(hw);
}
static void igc_config_collision_dist_generic ( struct igc_hw * hw ) { u32 tctl ; DEBUGFUNC ( " " ) ; tctl = IGC_READ_REG ( hw , IGC_TCTL ) ; tctl &= ~ IGC_TCTL_COLD ; tctl |= IGC_COLLISION_DISTANCE << IGC_COLD_SHIFT ; IGC_WRITE_REG ( hw , IGC_TCTL , tctl ) ; IGC_WRITE_FLUSH ( hw ) ; }
igc_config_collision_dist_generic - Configure collision distance
  @hw: pointer to the HW structure
igc_config_collision_dist_generic - Configure collision distance @hw : pointer to the HW structure