Lines Matching refs:flowctrl
1902 u32 flowctrl = 0; in tg3_decode_flowctrl_1000T() local
1905 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T()
1907 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1909 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T()
1911 return flowctrl; in tg3_decode_flowctrl_1000T()
1932 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local
1935 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X()
1937 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1939 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X()
1941 return flowctrl; in tg3_decode_flowctrl_1000X()
1963 u8 flowctrl = 0; in tg3_setup_flow_control() local
1974 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control()
1976 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control()
1978 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1980 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
1982 if (flowctrl & FLOW_CTRL_RX) in tg3_setup_flow_control()
1990 if (flowctrl & FLOW_CTRL_TX) in tg3_setup_flow_control()
2029 tp->link_config.flowctrl); in tg3_adjust_link()
4322 static int tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) in tg3_phy_autoneg_cfg() argument
4329 new_adv |= mii_advertise_flowctrl(flowctrl); in tg3_phy_autoneg_cfg()
4433 fc = tp->link_config.flowctrl; in tg3_phy_copper_begin()
4547 tp->link_config.flowctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in tg3_phy_pull_config()
4567 tp->link_config.flowctrl = tg3_decode_flowctrl_1000T(val); in tg3_phy_pull_config()
4587 tp->link_config.flowctrl = adv; in tg3_phy_pull_config()
4651 tgtadv |= mii_advertise_flowctrl(tp->link_config.flowctrl); in tg3_phy_copper_an_config_ok()
5154 u16 flowctrl; in tg3_fiber_aneg_smachine() local
5254 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_fiber_aneg_smachine()
5255 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_fiber_aneg_smachine()
5257 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_fiber_aneg_smachine()
5500 u16 flowctrl; in tg3_setup_fiber_hw_autoneg() local
5548 flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_hw_autoneg()
5549 if (flowctrl & ADVERTISE_1000XPAUSE) in tg3_setup_fiber_hw_autoneg()
5551 if (flowctrl & ADVERTISE_1000XPSE_ASYM) in tg3_setup_fiber_hw_autoneg()
5891 newadv |= tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); in tg3_setup_fiber_mii_phy()
12164 if (tp->link_config.flowctrl & FLOW_CTRL_RX) { in tg3_get_link_ksettings()
12165 if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12171 } else if (tp->link_config.flowctrl & FLOW_CTRL_TX) { in tg3_get_link_ksettings()
12477 if (tp->link_config.flowctrl & FLOW_CTRL_RX) in tg3_get_pauseparam()
12482 if (tp->link_config.flowctrl & FLOW_CTRL_TX) in tg3_get_pauseparam()
12505 tp->link_config.flowctrl = 0; in tg3_set_pauseparam()
12508 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12511 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12514 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12552 tp->link_config.flowctrl |= FLOW_CTRL_RX; in tg3_set_pauseparam()
12554 tp->link_config.flowctrl &= ~FLOW_CTRL_RX; in tg3_set_pauseparam()
12556 tp->link_config.flowctrl |= FLOW_CTRL_TX; in tg3_set_pauseparam()
12558 tp->link_config.flowctrl &= ~FLOW_CTRL_TX; in tg3_set_pauseparam()
15441 tp->link_config.flowctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in tg3_phy_probe()
15569 tp->link_config.flowctrl); in tg3_phy_probe()