Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/intel/igc/
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()
Digc_main.c885 u32 tctl; in igc_setup_tctl() local
891 tctl = rd32(IGC_TCTL); in igc_setup_tctl()
892 tctl &= ~IGC_TCTL_CT; in igc_setup_tctl()
893 tctl |= IGC_TCTL_PSP | IGC_TCTL_RTLC | in igc_setup_tctl()
897 tctl |= IGC_TCTL_EN; in igc_setup_tctl()
899 wr32(IGC_TCTL, tctl); in igc_setup_tctl()
5061 u32 tctl, rctl; in igc_down() local
5082 tctl = rd32(IGC_TCTL); in igc_down()
5083 tctl &= ~IGC_TCTL_EN; in igc_down()
5084 wr32(IGC_TCTL, tctl); in igc_down()
/Linux-v6.6/drivers/net/ethernet/intel/igb/
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()
Digb_main.c2168 u32 tctl, rctl; in igb_down() local
2187 tctl = rd32(E1000_TCTL); in igb_down()
2188 tctl &= ~E1000_TCTL_EN; in igb_down()
2189 wr32(E1000_TCTL, tctl); in igb_down()
4350 u32 tctl; in igb_setup_tctl() local
4356 tctl = rd32(E1000_TCTL); in igb_setup_tctl()
4357 tctl &= ~E1000_TCTL_CT; in igb_setup_tctl()
4358 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in igb_setup_tctl()
4364 tctl |= E1000_TCTL_EN; in igb_setup_tctl()
4366 wr32(E1000_TCTL, tctl); in igb_setup_tctl()
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/
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()
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()
Dnetdev.c632 u32 tctl = er32(TCTL); in e1000e_update_tdt_wa() local
634 ew32(TCTL, tctl & ~E1000_TCTL_EN); in e1000e_update_tdt_wa()
2920 u32 tdlen, tctl, tarc; in e1000_configure_tx() local
2965 tctl = er32(TCTL); in e1000_configure_tx()
2966 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
2967 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in e1000_configure_tx()
3000 ew32(TCTL, tctl); in e1000_configure_tx()
3809 u32 tdt, tctl, txd_lower = E1000_TXD_CMD_IFCS; in e1000_flush_tx_ring() local
3812 tctl = er32(TCTL); in e1000_flush_tx_ring()
3813 ew32(TCTL, tctl | E1000_TCTL_EN); in e1000_flush_tx_ring()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/e1000/
De1000_main.c493 u32 rctl, tctl; in e1000_down() local
503 tctl = er32(TCTL); in e1000_down()
504 tctl &= ~E1000_TCTL_EN; in e1000_down()
505 ew32(TCTL, tctl); in e1000_down()
1597 u32 tdlen, tctl, tipg; in e1000_configure_tx() local
1651 tctl = er32(TCTL); in e1000_configure_tx()
1652 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
1653 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in e1000_configure_tx()
1677 ew32(TCTL, tctl); in e1000_configure_tx()
2361 u32 tctl; in e1000_82547_tx_fifo_stall_task() local
[all …]
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-v6.6/drivers/net/ethernet/ti/
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()