• Home
  • Raw
  • Download

Lines Matching refs:flowctrl

1908 	u32 flowctrl = 0;  in tg3_decode_flowctrl_1000T()  local
1911 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T()
1913 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1915 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1917 return flowctrl; in tg3_decode_flowctrl_1000T()
1938 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local
1941 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X()
1943 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1945 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1947 return flowctrl; in tg3_decode_flowctrl_1000X()
1969 u8 flowctrl = 0; in tg3_setup_flow_control() local
1980 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control()
1982 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control()
1984 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1986 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
1988 if (flowctrl & FLOW_CTRL_RX) in tg3_setup_flow_control()
1996 if (flowctrl & FLOW_CTRL_TX) in tg3_setup_flow_control()
2035 tp->link_config.flowctrl); in tg3_adjust_link()
4327 static int tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) in tg3_phy_autoneg_cfg() argument
4334 new_adv |= mii_advertise_flowctrl(flowctrl); in tg3_phy_autoneg_cfg()
4438 fc = tp->link_config.flowctrl; in tg3_phy_copper_begin()
4552 tp->link_config.flowctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in tg3_phy_pull_config()
4572 tp->link_config.flowctrl = tg3_decode_flowctrl_1000T(val); in tg3_phy_pull_config()
4592 tp->link_config.flowctrl = adv; in tg3_phy_pull_config()
4656 tgtadv |= mii_advertise_flowctrl(tp->link_config.flowctrl); in tg3_phy_copper_an_config_ok()
5159 u16 flowctrl; in tg3_fiber_aneg_smachine() local
5259 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_fiber_aneg_smachine()
5260 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_fiber_aneg_smachine()
5262 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_fiber_aneg_smachine()
5505 u16 flowctrl; in tg3_setup_fiber_hw_autoneg() local
5554 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_hw_autoneg()
5555 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_setup_fiber_hw_autoneg()
5557 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_setup_fiber_hw_autoneg()
5898 newadv |= tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_mii_phy()
12223 if (tp->link_config.flowctrl & FLOW_CTRL_RX) { in tg3_get_link_ksettings()
12224 if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12230 } else if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12530 if (tp->link_config.flowctrl & FLOW_CTRL_RX) in tg3_get_pauseparam()
12535 if (tp->link_config.flowctrl & FLOW_CTRL_TX) in tg3_get_pauseparam()
12558 tp->link_config.flowctrl = 0; in tg3_set_pauseparam()
12561 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12564 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12567 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12605 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12607 tp->link_config.flowctrl &= ~FLOW_CTRL_RX; in tg3_set_pauseparam()
12609 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12611 tp->link_config.flowctrl &= ~FLOW_CTRL_TX; in tg3_set_pauseparam()
15528 tp->link_config.flowctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in tg3_phy_probe()
15656 tp->link_config.flowctrl); in tg3_phy_probe()