Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/igb/
De1000_mac.c611 u32 tctl; in igb_config_collision_dist() local
613 tctl = rd32(E1000_TCTL); in igb_config_collision_dist()
615 tctl &= ~E1000_TCTL_COLD; in igb_config_collision_dist()
616 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in igb_config_collision_dist()
618 wr32(E1000_TCTL, tctl); in igb_config_collision_dist()
Digb_main.c1514 u32 tctl, rctl; in igb_down() local
1529 tctl = rd32(E1000_TCTL); in igb_down()
1530 tctl &= ~E1000_TCTL_EN; in igb_down()
1531 wr32(E1000_TCTL, tctl); in igb_down()
2592 u32 tctl; in igb_setup_tctl() local
2598 tctl = rd32(E1000_TCTL); in igb_setup_tctl()
2599 tctl &= ~E1000_TCTL_CT; in igb_setup_tctl()
2600 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in igb_setup_tctl()
2606 tctl |= E1000_TCTL_EN; in igb_setup_tctl()
2608 wr32(E1000_TCTL, tctl); in igb_setup_tctl()
/linux-2.6.39/drivers/net/e1000/
De1000_main.c494 u32 rctl, tctl; in e1000_down() local
505 tctl = er32(TCTL); in e1000_down()
506 tctl &= ~E1000_TCTL_EN; in e1000_down()
507 ew32(TCTL, tctl); in e1000_down()
1568 u32 tdlen, tctl, tipg; in e1000_configure_tx() local
1620 tctl = er32(TCTL); in e1000_configure_tx()
1621 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
1622 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in e1000_configure_tx()
1645 ew32(TCTL, tctl); in e1000_configure_tx()
2329 u32 tctl; in e1000_82547_tx_fifo_stall_task() local
[all …]
De1000_hw.c1916 u32 tctl, coll_dist; in e1000_config_collision_dist() local
1925 tctl = er32(TCTL); in e1000_config_collision_dist()
1927 tctl &= ~E1000_TCTL_COLD; in e1000_config_collision_dist()
1928 tctl |= coll_dist << E1000_COLD_SHIFT; in e1000_config_collision_dist()
1930 ew32(TCTL, tctl); in e1000_config_collision_dist()
/linux-2.6.39/drivers/net/e1000e/
Dlib.c960 u32 tctl; in e1000e_config_collision_dist() local
962 tctl = er32(TCTL); in e1000e_config_collision_dist()
964 tctl &= ~E1000_TCTL_COLD; in e1000e_config_collision_dist()
965 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in e1000e_config_collision_dist()
967 ew32(TCTL, tctl); in e1000e_config_collision_dist()
Dnetdev.c2630 u32 tdlen, tctl, tipg, tarc; in e1000_configure_tx() local
2682 tctl = er32(TCTL); in e1000_configure_tx()
2683 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
2684 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in e1000_configure_tx()
2718 ew32(TCTL, tctl); in e1000_configure_tx()
3365 u32 tctl, rctl; in e1000e_down() local
3381 tctl = er32(TCTL); in e1000e_down()
3382 tctl &= ~E1000_TCTL_EN; in e1000e_down()
3383 ew32(TCTL, tctl); in e1000e_down()
4188 u32 link, tctl; in e1000_watchdog_task() local
[all …]
/linux-2.6.39/drivers/net/
Dtlan.c2574 u16 tctl; in tlan_phy_start_link() local
2628 tlan_mii_read_reg(dev, phy, TLAN_TLPHY_CTL, &tctl); in tlan_phy_start_link()
2630 tctl |= TLAN_TC_AUISEL; in tlan_phy_start_link()
2632 tctl &= ~TLAN_TC_AUISEL; in tlan_phy_start_link()
2641 tlan_mii_write_reg(dev, phy, TLAN_TLPHY_CTL, tctl); in tlan_phy_start_link()
/linux-2.6.39/drivers/net/ixgb/
Dixgb_main.c711 u32 tctl; in ixgb_configure_tx() local
736 tctl = IXGB_TCTL_TCE | IXGB_TCTL_TXEN | IXGB_TCTL_TPDE; in ixgb_configure_tx()
737 IXGB_WRITE_REG(hw, TCTL, tctl); in ixgb_configure_tx()