Lines Matching refs:flowctrl

1905 	u32 flowctrl = 0;  in tg3_decode_flowctrl_1000T()  local
1908 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T()
1910 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1912 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1914 return flowctrl; in tg3_decode_flowctrl_1000T()
1935 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local
1938 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X()
1940 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1942 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1944 return flowctrl; in tg3_decode_flowctrl_1000X()
1966 u8 flowctrl = 0; in tg3_setup_flow_control() local
1977 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control()
1979 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control()
1981 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1983 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
1985 if (flowctrl & FLOW_CTRL_RX) in tg3_setup_flow_control()
1993 if (flowctrl & FLOW_CTRL_TX) in tg3_setup_flow_control()
2032 tp->link_config.flowctrl); in tg3_adjust_link()
4316 static int tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) in tg3_phy_autoneg_cfg() argument
4323 new_adv |= mii_advertise_flowctrl(flowctrl); in tg3_phy_autoneg_cfg()
4427 fc = tp->link_config.flowctrl; in tg3_phy_copper_begin()
4541 tp->link_config.flowctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in tg3_phy_pull_config()
4561 tp->link_config.flowctrl = tg3_decode_flowctrl_1000T(val); in tg3_phy_pull_config()
4581 tp->link_config.flowctrl = adv; in tg3_phy_pull_config()
4645 tgtadv |= mii_advertise_flowctrl(tp->link_config.flowctrl); in tg3_phy_copper_an_config_ok()
5148 u16 flowctrl; in tg3_fiber_aneg_smachine() local
5248 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_fiber_aneg_smachine()
5249 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_fiber_aneg_smachine()
5251 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_fiber_aneg_smachine()
5494 u16 flowctrl; in tg3_setup_fiber_hw_autoneg() local
5543 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_hw_autoneg()
5544 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_setup_fiber_hw_autoneg()
5546 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_setup_fiber_hw_autoneg()
5887 newadv |= tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_mii_phy()
12116 if (tp->link_config.flowctrl & FLOW_CTRL_RX) { in tg3_get_settings()
12117 if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_settings()
12123 } else if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_settings()
12409 if (tp->link_config.flowctrl & FLOW_CTRL_RX) in tg3_get_pauseparam()
12414 if (tp->link_config.flowctrl & FLOW_CTRL_TX) in tg3_get_pauseparam()
12439 tp->link_config.flowctrl = 0; in tg3_set_pauseparam()
12441 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12444 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12450 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12504 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12506 tp->link_config.flowctrl &= ~FLOW_CTRL_RX; in tg3_set_pauseparam()
12508 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12510 tp->link_config.flowctrl &= ~FLOW_CTRL_TX; in tg3_set_pauseparam()
15416 tp->link_config.flowctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in tg3_phy_probe()
15544 tp->link_config.flowctrl); in tg3_phy_probe()