Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1476 u32 _bnxt_fw_to_ethtool_adv_spds(u16 fw_speeds, u8 fw_pause) in _bnxt_fw_to_ethtool_adv_spds() argument
1482 if (fw_speeds & BNXT_LINK_SPEED_MSK_100MB) in _bnxt_fw_to_ethtool_adv_spds()
1484 if (fw_speeds & BNXT_LINK_SPEED_MSK_1GB) in _bnxt_fw_to_ethtool_adv_spds()
1486 if (fw_speeds & BNXT_LINK_SPEED_MSK_2_5GB) in _bnxt_fw_to_ethtool_adv_spds()
1488 if (fw_speeds & BNXT_LINK_SPEED_MSK_10GB) in _bnxt_fw_to_ethtool_adv_spds()
1490 if (fw_speeds & BNXT_LINK_SPEED_MSK_40GB) in _bnxt_fw_to_ethtool_adv_spds()
1503 #define BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, fw_pause, lk_ksettings, name)\ argument
1505 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_100MB) \
1508 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_1GB) \
1511 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_10GB) \
[all …]
Dbnxt.c9604 u16 fw_speeds = le16_to_cpu(resp->supported_speeds_eee_mode); in bnxt_hwrm_phy_qcaps() local
9606 eee->supported = _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_hwrm_phy_qcaps()
9710 u16 fw_speeds; in bnxt_update_link() local
9716 fw_speeds = le16_to_cpu( in bnxt_update_link()
9719 _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_update_link()
9728 fw_speeds = le16_to_cpu(resp->adv_eee_link_speed_mask); in bnxt_update_link()
9730 _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_update_link()