Lines Matching refs:flowctrl

1913 	u32 flowctrl = 0;  in tg3_decode_flowctrl_1000T()  local
1916 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T()
1918 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1920 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1922 return flowctrl; in tg3_decode_flowctrl_1000T()
1943 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local
1946 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X()
1948 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1950 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1952 return flowctrl; in tg3_decode_flowctrl_1000X()
1974 u8 flowctrl = 0; in tg3_setup_flow_control() local
1985 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control()
1987 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control()
1989 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1991 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
1993 if (flowctrl & FLOW_CTRL_RX) in tg3_setup_flow_control()
2001 if (flowctrl & FLOW_CTRL_TX) in tg3_setup_flow_control()
2040 tp->link_config.flowctrl); in tg3_adjust_link()
4332 static int tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) in tg3_phy_autoneg_cfg() argument
4339 new_adv |= mii_advertise_flowctrl(flowctrl); in tg3_phy_autoneg_cfg()
4443 fc = tp->link_config.flowctrl; in tg3_phy_copper_begin()
4557 tp->link_config.flowctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in tg3_phy_pull_config()
4577 tp->link_config.flowctrl = tg3_decode_flowctrl_1000T(val); in tg3_phy_pull_config()
4597 tp->link_config.flowctrl = adv; in tg3_phy_pull_config()
4661 tgtadv |= mii_advertise_flowctrl(tp->link_config.flowctrl); in tg3_phy_copper_an_config_ok()
5164 u16 flowctrl; in tg3_fiber_aneg_smachine() local
5264 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_fiber_aneg_smachine()
5265 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_fiber_aneg_smachine()
5267 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_fiber_aneg_smachine()
5510 u16 flowctrl; in tg3_setup_fiber_hw_autoneg() local
5559 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_hw_autoneg()
5560 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_setup_fiber_hw_autoneg()
5562 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_setup_fiber_hw_autoneg()
5903 newadv |= tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_mii_phy()
12184 if (tp->link_config.flowctrl & FLOW_CTRL_RX) { in tg3_get_link_ksettings()
12185 if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12191 } else if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12492 if (tp->link_config.flowctrl & FLOW_CTRL_RX) in tg3_get_pauseparam()
12497 if (tp->link_config.flowctrl & FLOW_CTRL_TX) in tg3_get_pauseparam()
12520 tp->link_config.flowctrl = 0; in tg3_set_pauseparam()
12523 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12526 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12529 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12567 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12569 tp->link_config.flowctrl &= ~FLOW_CTRL_RX; in tg3_set_pauseparam()
12571 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12573 tp->link_config.flowctrl &= ~FLOW_CTRL_TX; in tg3_set_pauseparam()
15485 tp->link_config.flowctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in tg3_phy_probe()
15613 tp->link_config.flowctrl); in tg3_phy_probe()