Lines Matching refs:flowctrl

1901 	u32 flowctrl = 0;  in tg3_decode_flowctrl_1000T()  local
1904 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T()
1906 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1908 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1910 return flowctrl; in tg3_decode_flowctrl_1000T()
1931 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local
1934 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X()
1936 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1938 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1940 return flowctrl; in tg3_decode_flowctrl_1000X()
1962 u8 flowctrl = 0; in tg3_setup_flow_control() local
1973 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control()
1975 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control()
1977 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1979 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
1981 if (flowctrl & FLOW_CTRL_RX) in tg3_setup_flow_control()
1989 if (flowctrl & FLOW_CTRL_TX) in tg3_setup_flow_control()
2028 tp->link_config.flowctrl); in tg3_adjust_link()
4321 static int tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) in tg3_phy_autoneg_cfg() argument
4328 new_adv |= mii_advertise_flowctrl(flowctrl); in tg3_phy_autoneg_cfg()
4432 fc = tp->link_config.flowctrl; in tg3_phy_copper_begin()
4546 tp->link_config.flowctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in tg3_phy_pull_config()
4566 tp->link_config.flowctrl = tg3_decode_flowctrl_1000T(val); in tg3_phy_pull_config()
4586 tp->link_config.flowctrl = adv; in tg3_phy_pull_config()
4650 tgtadv |= mii_advertise_flowctrl(tp->link_config.flowctrl); in tg3_phy_copper_an_config_ok()
5153 u16 flowctrl; in tg3_fiber_aneg_smachine() local
5253 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_fiber_aneg_smachine()
5254 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_fiber_aneg_smachine()
5256 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_fiber_aneg_smachine()
5499 u16 flowctrl; in tg3_setup_fiber_hw_autoneg() local
5547 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_hw_autoneg()
5548 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_setup_fiber_hw_autoneg()
5550 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_setup_fiber_hw_autoneg()
5890 newadv |= tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_mii_phy()
12168 if (tp->link_config.flowctrl & FLOW_CTRL_RX) { in tg3_get_link_ksettings()
12169 if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12175 } else if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12481 if (tp->link_config.flowctrl & FLOW_CTRL_RX) in tg3_get_pauseparam()
12486 if (tp->link_config.flowctrl & FLOW_CTRL_TX) in tg3_get_pauseparam()
12509 tp->link_config.flowctrl = 0; in tg3_set_pauseparam()
12512 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12515 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12518 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12556 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12558 tp->link_config.flowctrl &= ~FLOW_CTRL_RX; in tg3_set_pauseparam()
12560 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12562 tp->link_config.flowctrl &= ~FLOW_CTRL_TX; in tg3_set_pauseparam()
15445 tp->link_config.flowctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in tg3_phy_probe()
15573 tp->link_config.flowctrl); in tg3_phy_probe()