Lines Matching refs:advertising

589 	linkmode_and(state->advertising, state->advertising, mask);  in phylink_generic_validate()
630 linkmode_and(state->advertising, state->advertising, in phylink_validate_mac_and_pcs()
659 linkmode_or(all_adv, all_adv, t.advertising); in phylink_validate_mask()
665 linkmode_copy(state->advertising, all_adv); in phylink_validate_mask()
760 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_fixedlink()
779 linkmode_and(pl->link_config.advertising, pl->link_config.advertising, in phylink_parse_fixedlink()
907 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_mode()
940 linkmode_resolve_pause(state->advertising, in phylink_resolve_flow()
972 __ETHTOOL_LINK_MODE_MASK_NBITS, state->advertising, in phylink_mac_config()
1034 state->advertising, in phylink_major_config()
1080 __ETHTOOL_LINK_MODE_MASK_NBITS, pl->link_config.advertising, in phylink_change_inband_advert()
1089 pl->link_config.advertising, in phylink_change_inband_advert()
1104 linkmode_copy(state->advertising, pl->link_config.advertising); in phylink_mac_pcs_get_state()
1506 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_create()
1604 linkmode_copy(config.advertising, phy->advertising); in phylink_bringup_phy()
1635 __ETHTOOL_LINK_MODE_MASK_NBITS, config.advertising, in phylink_bringup_phy()
1658 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_bringup_phy()
1661 linkmode_copy(phy->advertising, config.advertising); in phylink_bringup_phy()
1669 __ETHTOOL_LINK_MODE_MASK_NBITS, phy->advertising); in phylink_bringup_phy()
2100 phylink_merge_link_mode(kset->link_modes.advertising, state->advertising); in phylink_get_ksettings()
2203 linkmode_and(config.advertising, kset->link_modes.advertising, in phylink_ethtool_ksettings_set()
2237 if (!linkmode_equal(config.advertising, in phylink_ethtool_ksettings_set()
2238 pl->link_config.advertising)) in phylink_ethtool_ksettings_set()
2255 linkmode_mod_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, config.advertising, in phylink_ethtool_ksettings_set()
2264 config.advertising); in phylink_ethtool_ksettings_set()
2269 config.advertising); in phylink_ethtool_ksettings_set()
2290 if (config.an_enabled && phylink_is_empty_linkmode(config.advertising)) in phylink_ethtool_ksettings_set()
2309 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
2310 } else if (!linkmode_equal(pl->link_config.advertising, in phylink_ethtool_ksettings_set()
2311 config.advertising)) { in phylink_ethtool_ksettings_set()
2312 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
2409 linkmode_set_pause(config->advertising, pause->tx_pause, in phylink_ethtool_set_pauseparam()
2863 if (!linkmode_equal(pl->link_config.advertising, state->advertising)) { in phylink_sfp_set_config()
2864 linkmode_copy(pl->link_config.advertising, state->advertising); in phylink_sfp_set_config()
2897 linkmode_copy(config.advertising, phy->advertising); in phylink_sfp_config_phy()
2913 iface = sfp_select_interface(pl->sfp_bus, config.advertising); in phylink_sfp_config_phy()
2917 __ETHTOOL_LINK_MODE_MASK_NBITS, config.advertising); in phylink_sfp_config_phy()
2967 linkmode_copy(config.advertising, pl->sfp_support); in phylink_sfp_config_optical()
3159 if (linkmode_test_bit(fd_bit, state->advertising) && in phylink_decode_c37_word()
3168 linkmode_resolve_pause(state->advertising, state->lp_advertising, in phylink_decode_c37_word()
3340 const unsigned long *advertising) in phylink_mii_c22_pcs_encode_advertisement() argument
3349 advertising)) in phylink_mii_c22_pcs_encode_advertisement()
3352 advertising)) in phylink_mii_c22_pcs_encode_advertisement()
3379 const unsigned long *advertising) in phylink_mii_c22_pcs_config() argument
3385 adv = phylink_mii_c22_pcs_encode_advertisement(interface, advertising); in phylink_mii_c22_pcs_config()
3398 linkmode_test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, advertising))) in phylink_mii_c22_pcs_config()