Home
last modified time | relevance | path

Searched refs:fw_speeds (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1287 u32 _bnxt_fw_to_ethtool_adv_spds(u16 fw_speeds, u8 fw_pause) in _bnxt_fw_to_ethtool_adv_spds() argument
1293 if (fw_speeds & BNXT_LINK_SPEED_MSK_100MB) in _bnxt_fw_to_ethtool_adv_spds()
1295 if (fw_speeds & BNXT_LINK_SPEED_MSK_1GB) in _bnxt_fw_to_ethtool_adv_spds()
1297 if (fw_speeds & BNXT_LINK_SPEED_MSK_2_5GB) in _bnxt_fw_to_ethtool_adv_spds()
1299 if (fw_speeds & BNXT_LINK_SPEED_MSK_10GB) in _bnxt_fw_to_ethtool_adv_spds()
1301 if (fw_speeds & BNXT_LINK_SPEED_MSK_40GB) in _bnxt_fw_to_ethtool_adv_spds()
1314 #define BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, fw_pause, lk_ksettings, name)\ argument
1316 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_100MB) \
1319 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_1GB) \
1322 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_10GB) \
[all …]
Dbnxt.c8418 u16 fw_speeds = le16_to_cpu(resp->supported_speeds_eee_mode); in bnxt_hwrm_phy_qcaps() local
8421 eee->supported = _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_hwrm_phy_qcaps()
8493 u16 fw_speeds; in bnxt_update_link() local
8499 fw_speeds = le16_to_cpu( in bnxt_update_link()
8502 _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_update_link()
8511 fw_speeds = le16_to_cpu(resp->adv_eee_link_speed_mask); in bnxt_update_link()
8513 _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_update_link()