adver 1014 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c static bool ext_link_mode_requested(const unsigned long *adver) adver 1021 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c return bitmap_intersects(modes, adver, __ETHTOOL_LINK_MODE_MASK_NBITS); adver 1024 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c static bool ext_requested(u8 autoneg, const unsigned long *adver, bool ext_supported) adver 1026 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c bool ext_link_mode = ext_link_mode_requested(adver); adver 1036 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c const unsigned long *adver; adver 1049 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c u32 (*ethtool2ptys_adver_func)(const unsigned long *adver); adver 1051 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c adver = link_ksettings->link_modes.advertising; adver 1056 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c ext = ext_requested(autoneg, adver, ext_supported); adver 1068 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c link_modes = autoneg == AUTONEG_ENABLE ? ethtool2ptys_adver_func(adver) :