Lines Matching refs:advertising
635 linkmode_and(state->advertising, state->advertising, mask); in phylink_validate_mask_caps()
693 linkmode_and(state->advertising, state->advertising, in phylink_validate_mac_and_pcs()
725 linkmode_or(all_adv, all_adv, t.advertising); in phylink_validate_mask()
731 linkmode_copy(state->advertising, all_adv); in phylink_validate_mask()
824 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_fixedlink()
853 linkmode_and(pl->link_config.advertising, pl->link_config.advertising, in phylink_parse_fixedlink()
982 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_mode()
999 state->advertising)) in phylink_apply_manual_flow()
1012 linkmode_resolve_pause(state->advertising, in phylink_resolve_an_pause()
1064 state->advertising, permit_pause_to_mac); in phylink_pcs_config()
1104 __ETHTOOL_LINK_MODE_MASK_NBITS, st.advertising, in phylink_mac_config()
1113 pl->link_config.advertising) && in phylink_pcs_an_restart()
1132 state->advertising); in phylink_major_config()
1232 __ETHTOOL_LINK_MODE_MASK_NBITS, pl->link_config.advertising, in phylink_change_inband_advert()
1238 pl->link_config.advertising); in phylink_change_inband_advert()
1262 linkmode_copy(state->advertising, pl->link_config.advertising); in phylink_mac_pcs_get_state()
1267 state->advertising)) { in phylink_mac_pcs_get_state()
1659 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_create()
1776 linkmode_copy(config.advertising, phy->advertising); in phylink_bringup_phy()
1807 __ETHTOOL_LINK_MODE_MASK_NBITS, config.advertising, in phylink_bringup_phy()
1830 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_bringup_phy()
1833 linkmode_copy(phy->advertising, config.advertising); in phylink_bringup_phy()
1841 __ETHTOOL_LINK_MODE_MASK_NBITS, phy->advertising); in phylink_bringup_phy()
2298 phylink_merge_link_mode(kset->link_modes.advertising, state->advertising); in phylink_get_ksettings()
2305 state->advertising) ? in phylink_get_ksettings()
2380 linkmode_and(phy_kset.link_modes.advertising, in phylink_ethtool_ksettings_set()
2381 phy_kset.link_modes.advertising, in phylink_ethtool_ksettings_set()
2407 linkmode_and(config.advertising, kset->link_modes.advertising, in phylink_ethtool_ksettings_set()
2441 if (!linkmode_equal(config.advertising, in phylink_ethtool_ksettings_set()
2442 pl->link_config.advertising)) in phylink_ethtool_ksettings_set()
2458 linkmode_mod_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, config.advertising, in phylink_ethtool_ksettings_set()
2467 config.advertising); in phylink_ethtool_ksettings_set()
2472 config.advertising); in phylink_ethtool_ksettings_set()
2494 config.advertising) && in phylink_ethtool_ksettings_set()
2495 phylink_is_empty_linkmode(config.advertising)) in phylink_ethtool_ksettings_set()
2513 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
2514 } else if (!linkmode_equal(pl->link_config.advertising, in phylink_ethtool_ksettings_set()
2515 config.advertising)) { in phylink_ethtool_ksettings_set()
2516 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
2613 linkmode_set_pause(config->advertising, pause->tx_pause, in phylink_ethtool_set_pauseparam()
3067 if (!linkmode_equal(pl->link_config.advertising, state->advertising)) { in phylink_sfp_set_config()
3068 linkmode_copy(pl->link_config.advertising, state->advertising); in phylink_sfp_set_config()
3101 linkmode_copy(config.advertising, phy->advertising); in phylink_sfp_config_phy()
3116 iface = sfp_select_interface(pl->sfp_bus, config.advertising); in phylink_sfp_config_phy()
3120 __ETHTOOL_LINK_MODE_MASK_NBITS, config.advertising); in phylink_sfp_config_phy()
3170 linkmode_copy(config.advertising, pl->sfp_support); in phylink_sfp_config_optical()
3370 if (linkmode_test_bit(bit, state->advertising) && in phylink_resolve_c73()
3399 if (linkmode_test_bit(fd_bit, state->advertising) && in phylink_decode_c37_word()
3540 state->advertising)) in phylink_mii_c22_pcs_decode_state()
3612 const unsigned long *advertising) in phylink_mii_c22_pcs_encode_advertisement() argument
3621 advertising)) in phylink_mii_c22_pcs_encode_advertisement()
3624 advertising)) in phylink_mii_c22_pcs_encode_advertisement()
3651 const unsigned long *advertising, in phylink_mii_c22_pcs_config() argument
3658 adv = phylink_mii_c22_pcs_encode_advertisement(interface, advertising); in phylink_mii_c22_pcs_config()