Home
last modified time | relevance | path

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

/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.c747 u32 tctl; in igc_setup_tctl() local
753 tctl = rd32(IGC_TCTL); in igc_setup_tctl()
754 tctl &= ~IGC_TCTL_CT; in igc_setup_tctl()
755 tctl |= IGC_TCTL_PSP | IGC_TCTL_RTLC | in igc_setup_tctl()
759 tctl |= IGC_TCTL_EN; in igc_setup_tctl()
761 wr32(IGC_TCTL, tctl); in igc_setup_tctl()
3912 u32 tctl, rctl; in igc_down() local
3933 tctl = rd32(IGC_TCTL); in igc_down()
3934 tctl &= ~IGC_TCTL_EN; in igc_down()
3935 wr32(IGC_TCTL, tctl); in igc_down()
/drivers/net/ethernet/intel/igb/
De1000_mac.c708 u32 tctl; in igb_config_collision_dist() local
710 tctl = rd32(E1000_TCTL); in igb_config_collision_dist()
712 tctl &= ~E1000_TCTL_COLD; in igb_config_collision_dist()
713 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in igb_config_collision_dist()
715 wr32(E1000_TCTL, tctl); in igb_config_collision_dist()
Digb_main.c2171 u32 tctl, rctl; in igb_down() local
2190 tctl = rd32(E1000_TCTL); in igb_down()
2191 tctl &= ~E1000_TCTL_EN; in igb_down()
2192 wr32(E1000_TCTL, tctl); in igb_down()
4271 u32 tctl; in igb_setup_tctl() local
4277 tctl = rd32(E1000_TCTL); in igb_setup_tctl()
4278 tctl &= ~E1000_TCTL_CT; in igb_setup_tctl()
4279 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in igb_setup_tctl()
4285 tctl |= E1000_TCTL_EN; in igb_setup_tctl()
4287 wr32(E1000_TCTL, tctl); in igb_setup_tctl()
/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.c628 u32 tctl = er32(TCTL); in e1000e_update_tdt_wa() local
630 ew32(TCTL, tctl & ~E1000_TCTL_EN); in e1000e_update_tdt_wa()
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()
2974 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in e1000_configure_tx()
3007 ew32(TCTL, tctl); in e1000_configure_tx()
3817 u32 tdt, tctl, txd_lower = E1000_TXD_CMD_IFCS; in e1000_flush_tx_ring() local
3820 tctl = er32(TCTL); in e1000_flush_tx_ring()
3821 ew32(TCTL, tctl | E1000_TCTL_EN); in e1000_flush_tx_ring()
[all …]
/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()
2360 u32 tctl; in e1000_82547_tx_fifo_stall_task() local
[all …]
De1000_hw.c1879 u32 tctl, coll_dist; in e1000_config_collision_dist() local
1886 tctl = er32(TCTL); in e1000_config_collision_dist()
1888 tctl &= ~E1000_TCTL_COLD; in e1000_config_collision_dist()
1889 tctl |= coll_dist << E1000_COLD_SHIFT; in e1000_config_collision_dist()
1891 ew32(TCTL, tctl); in e1000_config_collision_dist()
/drivers/net/ethernet/ti/
Dtlan.c2577 u16 tctl; in tlan_phy_start_link() local
2631 tlan_mii_read_reg(dev, phy, TLAN_TLPHY_CTL, &tctl); in tlan_phy_start_link()
2633 tctl |= TLAN_TC_AUISEL; in tlan_phy_start_link()
2635 tctl &= ~TLAN_TC_AUISEL; in tlan_phy_start_link()
2644 tlan_mii_write_reg(dev, phy, TLAN_TLPHY_CTL, tctl); in tlan_phy_start_link()
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c704 u32 tctl; in ixgb_configure_tx() local
729 tctl = IXGB_TCTL_TCE | IXGB_TCTL_TXEN | IXGB_TCTL_TPDE; in ixgb_configure_tx()
730 IXGB_WRITE_REG(hw, TCTL, tctl); in ixgb_configure_tx()