Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/igc/
A Digc_mac.c431 u32 tctl; in igc_config_collision_dist() local
433 tctl = rd32(IGC_TCTL); in igc_config_collision_dist()
435 tctl &= ~IGC_TCTL_COLD; in igc_config_collision_dist()
436 tctl |= IGC_COLLISION_DISTANCE << IGC_COLD_SHIFT; in igc_config_collision_dist()
438 wr32(IGC_TCTL, tctl); in igc_config_collision_dist()
A Digc_main.c847 u32 tctl; in igc_setup_tctl() local
853 tctl = rd32(IGC_TCTL); in igc_setup_tctl()
854 tctl &= ~IGC_TCTL_CT; in igc_setup_tctl()
855 tctl |= IGC_TCTL_PSP | IGC_TCTL_RTLC | in igc_setup_tctl()
859 tctl |= IGC_TCTL_EN; in igc_setup_tctl()
861 wr32(IGC_TCTL, tctl); in igc_setup_tctl()
4765 u32 tctl, rctl; in igc_down() local
4786 tctl = rd32(IGC_TCTL); in igc_down()
4787 tctl &= ~IGC_TCTL_EN; in igc_down()
4788 wr32(IGC_TCTL, tctl); in igc_down()
/linux/drivers/net/ethernet/intel/igb/
A De1000_mac.c739 u32 tctl; in igb_config_collision_dist() local
741 tctl = rd32(E1000_TCTL); in igb_config_collision_dist()
743 tctl &= ~E1000_TCTL_COLD; in igb_config_collision_dist()
744 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in igb_config_collision_dist()
746 wr32(E1000_TCTL, tctl); in igb_config_collision_dist()
A Digb_main.c2165 u32 tctl, rctl; in igb_down() local
2184 tctl = rd32(E1000_TCTL); in igb_down()
2185 tctl &= ~E1000_TCTL_EN; in igb_down()
2186 wr32(E1000_TCTL, tctl); in igb_down()
4267 u32 tctl; in igb_setup_tctl() local
4273 tctl = rd32(E1000_TCTL); in igb_setup_tctl()
4274 tctl &= ~E1000_TCTL_CT; in igb_setup_tctl()
4275 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in igb_setup_tctl()
4281 tctl |= E1000_TCTL_EN; in igb_setup_tctl()
4283 wr32(E1000_TCTL, tctl); in igb_setup_tctl()
/linux/drivers/net/ethernet/intel/e1000e/
A Dmac.c885 u32 tctl; in e1000e_config_collision_dist_generic() local
887 tctl = er32(TCTL); in e1000e_config_collision_dist_generic()
889 tctl &= ~E1000_TCTL_COLD; in e1000e_config_collision_dist_generic()
890 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in e1000e_config_collision_dist_generic()
892 ew32(TCTL, tctl); in e1000e_config_collision_dist_generic()
A D82571.c945 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
959 tctl = er32(TCTL); in e1000_reset_hw_82571()
960 tctl &= ~E1000_TCTL_EN; in e1000_reset_hw_82571()
961 ew32(TCTL, tctl); in e1000_reset_hw_82571()
A Dnetdev.c629 u32 tctl = er32(TCTL); in e1000e_update_tdt_wa() local
2927 u32 tdlen, tctl, tarc; in e1000_configure_tx() local
2972 tctl = er32(TCTL); in e1000_configure_tx()
2973 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
3007 ew32(TCTL, tctl); in e1000_configure_tx()
3821 tctl = er32(TCTL); in e1000_flush_tx_ring()
4275 u32 tctl, rctl; in e1000e_down() local
4293 tctl = er32(TCTL); in e1000e_down()
4295 ew32(TCTL, tctl); in e1000e_down()
5327 tctl = er32(TCTL); in e1000_watchdog_task()
[all …]
/linux/drivers/net/ethernet/intel/e1000/
A De1000_main.c493 u32 rctl, tctl; in e1000_down() local
503 tctl = er32(TCTL); in e1000_down()
505 ew32(TCTL, tctl); in e1000_down()
1651 tctl = er32(TCTL); in e1000_configure_tx()
1677 ew32(TCTL, tctl); in e1000_configure_tx()
2360 u32 tctl; in e1000_82547_tx_fifo_stall_task() local
2366 tctl = er32(TCTL); in e1000_82547_tx_fifo_stall_task()
2372 ew32(TCTL, tctl); in e1000_82547_tx_fifo_stall_task()
2433 u32 link, tctl; in e1000_watchdog() local
2471 tctl = er32(TCTL); in e1000_watchdog()
[all …]
A De1000_hw.c1880 u32 tctl, coll_dist; in e1000_config_collision_dist() local
1887 tctl = er32(TCTL); in e1000_config_collision_dist()
1889 tctl &= ~E1000_TCTL_COLD; in e1000_config_collision_dist()
1890 tctl |= coll_dist << E1000_COLD_SHIFT; in e1000_config_collision_dist()
1892 ew32(TCTL, tctl); in e1000_config_collision_dist()
/linux/drivers/net/ethernet/ti/
A Dtlan.c2589 u16 tctl; in tlan_phy_start_link() local
2643 tlan_mii_read_reg(dev, phy, TLAN_TLPHY_CTL, &tctl); in tlan_phy_start_link()
2645 tctl |= TLAN_TC_AUISEL; in tlan_phy_start_link()
2647 tctl &= ~TLAN_TC_AUISEL; in tlan_phy_start_link()
2656 tlan_mii_write_reg(dev, phy, TLAN_TLPHY_CTL, tctl); in tlan_phy_start_link()
/linux/drivers/net/ethernet/intel/ixgb/
A Dixgb_main.c706 u32 tctl; in ixgb_configure_tx() local
731 tctl = IXGB_TCTL_TCE | IXGB_TCTL_TXEN | IXGB_TCTL_TPDE; in ixgb_configure_tx()
732 IXGB_WRITE_REG(hw, TCTL, tctl); in ixgb_configure_tx()

Completed in 85 milliseconds