Lines Matching full:advertising

652 	linkmode_and(state->advertising, state->advertising, mask);  in phylink_validate_mask_caps()
690 /* Ensure the advertising mask is a subset of the in phylink_validate_mac_and_pcs()
693 linkmode_and(state->advertising, state->advertising, in phylink_validate_mac_and_pcs()
736 tmp_state.advertising); in phylink_validate_one()
754 linkmode_copy(state->advertising, all_adv); in phylink_validate_mask()
848 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_fixedlink()
877 linkmode_and(pl->link_config.advertising, pl->link_config.advertising, in phylink_parse_fixedlink()
951 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_mode()
968 state->advertising)) in phylink_apply_manual_flow()
981 linkmode_resolve_pause(state->advertising, in phylink_resolve_an_pause()
1033 state->advertising, permit_pause_to_mac); in phylink_pcs_config()
1088 __ETHTOOL_LINK_MODE_MASK_NBITS, st.advertising, in phylink_mac_config()
1097 pl->link_config.advertising) && in phylink_pcs_an_restart()
1107 * @advertising: adertisement ethtool link mode mask
1124 const unsigned long *advertising) in phylink_pcs_neg_mode() argument
1156 advertising)) in phylink_pcs_neg_mode()
1183 state->advertising); in phylink_major_config()
1283 __ETHTOOL_LINK_MODE_MASK_NBITS, pl->link_config.advertising, in phylink_change_inband_advert()
1289 pl->link_config.advertising); in phylink_change_inband_advert()
1313 linkmode_copy(state->advertising, pl->link_config.advertising); in phylink_mac_pcs_get_state()
1318 state->advertising)) { in phylink_mac_pcs_get_state()
1663 adv = pl->link_config.advertising; in phylink_set_fixed_link()
1752 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_create()
1938 * clearing the bits from both supported and advertising fields. in phylink_bringup_phy()
1944 linkmode_copy(config.advertising, phy->advertising); in phylink_bringup_phy()
1952 __ETHTOOL_LINK_MODE_MASK_NBITS, config.advertising, in phylink_bringup_phy()
1975 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_bringup_phy()
1978 linkmode_copy(phy->advertising, config.advertising); in phylink_bringup_phy()
1983 "phy: %s setting supported %*pb advertising %*pb\n", in phylink_bringup_phy()
1986 __ETHTOOL_LINK_MODE_MASK_NBITS, phy->advertising); in phylink_bringup_phy()
2026 * This updates the phylink's ethtool supported and advertising link mode
2451 phylink_merge_link_mode(kset->link_modes.advertising, state->advertising); in phylink_get_ksettings()
2458 state->advertising) ? in phylink_get_ksettings()
2533 linkmode_and(phy_kset.link_modes.advertising, in phylink_ethtool_ksettings_set()
2534 phy_kset.link_modes.advertising, in phylink_ethtool_ksettings_set()
2550 * - the only possible use would be link_config.advertising in phylink_ethtool_ksettings_set()
2560 linkmode_and(config.advertising, kset->link_modes.advertising, in phylink_ethtool_ksettings_set()
2594 if (!linkmode_equal(config.advertising, in phylink_ethtool_ksettings_set()
2595 pl->link_config.advertising)) in phylink_ethtool_ksettings_set()
2611 linkmode_mod_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, config.advertising, in phylink_ethtool_ksettings_set()
2620 config.advertising); in phylink_ethtool_ksettings_set()
2625 config.advertising); in phylink_ethtool_ksettings_set()
2647 config.advertising) && in phylink_ethtool_ksettings_set()
2648 phylink_is_empty_linkmode(config.advertising)) in phylink_ethtool_ksettings_set()
2666 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
2667 } else if (!linkmode_equal(pl->link_config.advertising, in phylink_ethtool_ksettings_set()
2668 config.advertising)) { in phylink_ethtool_ksettings_set()
2669 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
2766 linkmode_set_pause(config->advertising, pause->tx_pause, in phylink_ethtool_set_pauseparam()
3207 if (!linkmode_equal(pl->link_config.advertising, state->advertising)) { in phylink_sfp_set_config()
3208 linkmode_copy(pl->link_config.advertising, state->advertising); in phylink_sfp_set_config()
3241 linkmode_copy(config.advertising, phy->advertising); in phylink_sfp_config_phy()
3256 iface = sfp_select_interface(pl->sfp_bus, config.advertising); in phylink_sfp_config_phy()
3260 __ETHTOOL_LINK_MODE_MASK_NBITS, config.advertising); in phylink_sfp_config_phy()
3310 linkmode_copy(config.advertising, pl->sfp_support); in phylink_sfp_config_optical()
3440 * clearing the bits from both supported and advertising fields. in phylink_sfp_connect_phy()
3512 if (linkmode_test_bit(bit, state->advertising) && in phylink_resolve_c73()
3541 if (linkmode_test_bit(fd_bit, state->advertising) && in phylink_decode_c37_word()
3682 state->advertising)) in phylink_mii_c22_pcs_decode_state()
3743 * @advertising: the ethtool advertisement mask
3749 * @advertising.
3754 const unsigned long *advertising) in phylink_mii_c22_pcs_encode_advertisement() argument
3763 advertising)) in phylink_mii_c22_pcs_encode_advertisement()
3766 advertising)) in phylink_mii_c22_pcs_encode_advertisement()
3783 * @advertising: the ethtool advertisement mask
3787 * parameters for the @mode, @interface and @advertising parameters.
3793 const unsigned long *advertising, in phylink_mii_c22_pcs_config() argument
3800 adv = phylink_mii_c22_pcs_encode_advertisement(interface, advertising); in phylink_mii_c22_pcs_config()