Lines Matching refs:flowctrl
1907 u32 flowctrl = 0; in tg3_decode_flowctrl_1000T() local
1910 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T()
1912 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1914 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1916 return flowctrl; in tg3_decode_flowctrl_1000T()
1937 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local
1940 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X()
1942 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1944 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1946 return flowctrl; in tg3_decode_flowctrl_1000X()
1968 u8 flowctrl = 0; in tg3_setup_flow_control() local
1979 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control()
1981 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control()
1983 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1985 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
1987 if (flowctrl & FLOW_CTRL_RX) in tg3_setup_flow_control()
1995 if (flowctrl & FLOW_CTRL_TX) in tg3_setup_flow_control()
2034 tp->link_config.flowctrl); in tg3_adjust_link()
4326 static int tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) in tg3_phy_autoneg_cfg() argument
4333 new_adv |= mii_advertise_flowctrl(flowctrl); in tg3_phy_autoneg_cfg()
4437 fc = tp->link_config.flowctrl; in tg3_phy_copper_begin()
4551 tp->link_config.flowctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in tg3_phy_pull_config()
4571 tp->link_config.flowctrl = tg3_decode_flowctrl_1000T(val); in tg3_phy_pull_config()
4591 tp->link_config.flowctrl = adv; in tg3_phy_pull_config()
4655 tgtadv |= mii_advertise_flowctrl(tp->link_config.flowctrl); in tg3_phy_copper_an_config_ok()
5158 u16 flowctrl; in tg3_fiber_aneg_smachine() local
5258 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_fiber_aneg_smachine()
5259 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_fiber_aneg_smachine()
5261 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_fiber_aneg_smachine()
5504 u16 flowctrl; in tg3_setup_fiber_hw_autoneg() local
5553 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_hw_autoneg()
5554 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_setup_fiber_hw_autoneg()
5556 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_setup_fiber_hw_autoneg()
5897 newadv |= tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_mii_phy()
12183 if (tp->link_config.flowctrl & FLOW_CTRL_RX) { in tg3_get_link_ksettings()
12184 if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12190 } else if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12490 if (tp->link_config.flowctrl & FLOW_CTRL_RX) in tg3_get_pauseparam()
12495 if (tp->link_config.flowctrl & FLOW_CTRL_TX) in tg3_get_pauseparam()
12518 tp->link_config.flowctrl = 0; in tg3_set_pauseparam()
12521 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12524 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12527 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12565 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12567 tp->link_config.flowctrl &= ~FLOW_CTRL_RX; in tg3_set_pauseparam()
12569 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12571 tp->link_config.flowctrl &= ~FLOW_CTRL_TX; in tg3_set_pauseparam()
15488 tp->link_config.flowctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in tg3_phy_probe()
15616 tp->link_config.flowctrl); in tg3_phy_probe()