Lines Matching refs:pause

714 	bool pause, asym_pause, autoneg;  in phylink_parse_fixedlink()  local
787 pause = phylink_test(pl->supported, Pause); in phylink_parse_fixedlink()
795 if (pause) in phylink_parse_fixedlink()
961 state->pause &= ~MLO_PAUSE_AN; in phylink_apply_manual_flow()
964 if (!(pl->link_config.pause & MLO_PAUSE_AN)) in phylink_apply_manual_flow()
965 state->pause = pl->link_config.pause; in phylink_apply_manual_flow()
972 state->pause = MLO_PAUSE_NONE; in phylink_resolve_flow()
978 state->pause |= MLO_PAUSE_TX; in phylink_resolve_flow()
980 state->pause |= MLO_PAUSE_RX; in phylink_resolve_flow()
1007 state->pause, state->link, state->an_enabled); in phylink_mac_config()
1069 !!(pl->link_config.pause & in phylink_major_config()
1115 pl->link_config.pause); in phylink_change_inband_advert()
1124 !!(pl->link_config.pause & in phylink_change_inband_advert()
1146 state->pause = MLO_PAUSE_NONE; in phylink_mac_pcs_get_state()
1150 state->pause = pl->link_config.pause; in phylink_mac_pcs_get_state()
1195 link_state.pause = MLO_PAUSE_NONE; in phylink_mac_initial_config()
1208 static const char *phylink_pause_to_str(int pause) in phylink_pause_to_str() argument
1210 switch (pause & MLO_PAUSE_TXRX_MASK) { in phylink_pause_to_str()
1231 rx_pause = !!(link_state.pause & MLO_PAUSE_RX); in phylink_link_up()
1262 !!(link_state.pause & MLO_PAUSE_TX), rx_pause); in phylink_link_up()
1271 phylink_pause_to_str(link_state.pause)); in phylink_link_up()
1368 link_state.pause = pl->phy_state.pause; in phylink_resolve()
1531 pl->link_config.pause = MLO_PAUSE_AN; in phylink_create()
1600 pl->phy_state.pause = MLO_PAUSE_NONE; in phylink_phy_change()
1602 pl->phy_state.pause |= MLO_PAUSE_TX; in phylink_phy_change()
1604 pl->phy_state.pause |= MLO_PAUSE_RX; in phylink_phy_change()
1616 phylink_pause_to_str(pl->phy_state.pause)); in phylink_phy_change()
1687 pl->phy_state.pause = MLO_PAUSE_NONE; in phylink_bringup_phy()
2385 struct ethtool_pauseparam *pause) in phylink_ethtool_get_pauseparam() argument
2389 pause->autoneg = !!(pl->link_config.pause & MLO_PAUSE_AN); in phylink_ethtool_get_pauseparam()
2390 pause->rx_pause = !!(pl->link_config.pause & MLO_PAUSE_RX); in phylink_ethtool_get_pauseparam()
2391 pause->tx_pause = !!(pl->link_config.pause & MLO_PAUSE_TX); in phylink_ethtool_get_pauseparam()
2401 struct ethtool_pauseparam *pause) in phylink_ethtool_set_pauseparam() argument
2417 pause->rx_pause != pause->tx_pause) in phylink_ethtool_set_pauseparam()
2421 if (pause->autoneg) in phylink_ethtool_set_pauseparam()
2423 if (pause->rx_pause) in phylink_ethtool_set_pauseparam()
2425 if (pause->tx_pause) in phylink_ethtool_set_pauseparam()
2442 linkmode_set_pause(config->advertising, pause->tx_pause, in phylink_ethtool_set_pauseparam()
2443 pause->rx_pause); in phylink_ethtool_set_pauseparam()
2445 manual_changed = (config->pause ^ pause_state) & MLO_PAUSE_AN || in phylink_ethtool_set_pauseparam()
2447 (config->pause ^ pause_state) & MLO_PAUSE_TXRX_MASK); in phylink_ethtool_set_pauseparam()
2449 config->pause = pause_state; in phylink_ethtool_set_pauseparam()
2465 phy_set_asym_pause(pl->phydev, pause->rx_pause, in phylink_ethtool_set_pauseparam()
2466 pause->tx_pause); in phylink_ethtool_set_pauseparam()
2573 fs.pause = test_bit(ETHTOOL_LINK_MODE_Pause_BIT, lpa); in phylink_mii_emul_read()
2934 config.pause = MLO_PAUSE_AN; in phylink_sfp_config_phy()
3003 config.pause = MLO_PAUSE_AN; in phylink_sfp_config_optical()
3205 state->pause |= MLO_PAUSE_TX; in phylink_decode_c37_word()
3207 state->pause |= MLO_PAUSE_RX; in phylink_decode_c37_word()