Home
last modified time | relevance | path

Searched refs:tctl (Results 1 – 9 of 9) sorted by relevance

/dpdk/drivers/net/e1000/
H A Dem_rxtx.c1913 uint32_t tctl; in eth_em_tx_init() local
1951 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_em_tx_init()
1952 tctl &= ~E1000_TCTL_CT; in eth_em_tx_init()
1953 tctl |= (E1000_TCTL_PSP | E1000_TCTL_RTLC | E1000_TCTL_EN | in eth_em_tx_init()
1973 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in eth_em_tx_init()
2015 uint32_t tdt, tctl, txd_lower = E1000_TXD_CMD_IFCS; in e1000_flush_tx_ring() local
2022 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_flush_tx_ring()
2023 E1000_WRITE_REG(hw, E1000_TCTL, tctl | E1000_TCTL_EN); in e1000_flush_tx_ring()
H A Dem_ethdev.c500 uint32_t tctl, rctl; in eth_em_rxtx_control() local
502 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_em_rxtx_control()
506 tctl |= E1000_TCTL_EN; in eth_em_rxtx_control()
510 tctl &= ~E1000_TCTL_EN; in eth_em_rxtx_control()
513 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in eth_em_rxtx_control()
H A Digb_rxtx.c2578 uint32_t tctl; in eth_igb_tx_init() local
2611 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_igb_tx_init()
2612 tctl &= ~E1000_TCTL_CT; in eth_igb_tx_init()
2613 tctl |= (E1000_TCTL_PSP | E1000_TCTL_RTLC | E1000_TCTL_EN | in eth_igb_tx_init()
2619 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in eth_igb_tx_init()
H A Digb_ethdev.c1172 uint32_t tctl, rctl; in eth_igb_rxtx_control() local
1174 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_igb_rxtx_control()
1179 tctl |= E1000_TCTL_EN; in eth_igb_rxtx_control()
1183 tctl &= ~E1000_TCTL_EN; in eth_igb_rxtx_control()
1186 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in eth_igb_rxtx_control()
/dpdk/drivers/net/igc/base/
H A Digc_mac.c1194 u32 tctl; in igc_config_collision_dist_generic() local
1198 tctl = IGC_READ_REG(hw, IGC_TCTL); in igc_config_collision_dist_generic()
1200 tctl &= ~IGC_TCTL_COLD; in igc_config_collision_dist_generic()
1201 tctl |= IGC_COLLISION_DISTANCE << IGC_COLD_SHIFT; in igc_config_collision_dist_generic()
1203 IGC_WRITE_REG(hw, IGC_TCTL, tctl); in igc_config_collision_dist_generic()
/dpdk/drivers/net/e1000/base/
H A De1000_mac.c1201 u32 tctl; in e1000_config_collision_dist_generic() local
1205 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_config_collision_dist_generic()
1207 tctl &= ~E1000_TCTL_COLD; in e1000_config_collision_dist_generic()
1208 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in e1000_config_collision_dist_generic()
1210 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in e1000_config_collision_dist_generic()
H A De1000_82571.c1037 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
1053 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_reset_hw_82571()
1054 tctl &= ~E1000_TCTL_EN; in e1000_reset_hw_82571()
1055 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in e1000_reset_hw_82571()
/dpdk/drivers/net/igc/
H A Digc_txrx.c2160 uint32_t tctl; in igc_tx_init() local
2195 tctl = IGC_READ_REG(hw, IGC_TCTL); in igc_tx_init()
2196 tctl &= ~IGC_TCTL_CT; in igc_tx_init()
2197 tctl |= (IGC_TCTL_PSP | IGC_TCTL_RTLC | IGC_TCTL_EN | in igc_tx_init()
2201 IGC_WRITE_REG(hw, IGC_TCTL, tctl); in igc_tx_init()
H A Digc_ethdev.c583 uint32_t tctl, rctl; in eth_igc_rxtx_control() local
585 tctl = IGC_READ_REG(hw, IGC_TCTL); in eth_igc_rxtx_control()
590 tctl |= IGC_TCTL_EN; in eth_igc_rxtx_control()
594 tctl &= ~IGC_TCTL_EN; in eth_igc_rxtx_control()
597 IGC_WRITE_REG(hw, IGC_TCTL, tctl); in eth_igc_rxtx_control()