Searched refs:fw_speeds (Results 1 – 2 of 2) sorted by relevance
1481 u32 _bnxt_fw_to_ethtool_adv_spds(u16 fw_speeds, u8 fw_pause) in _bnxt_fw_to_ethtool_adv_spds() argument1487 if (fw_speeds & BNXT_LINK_SPEED_MSK_100MB) in _bnxt_fw_to_ethtool_adv_spds()1489 if (fw_speeds & BNXT_LINK_SPEED_MSK_1GB) in _bnxt_fw_to_ethtool_adv_spds()1491 if (fw_speeds & BNXT_LINK_SPEED_MSK_2_5GB) in _bnxt_fw_to_ethtool_adv_spds()1493 if (fw_speeds & BNXT_LINK_SPEED_MSK_10GB) in _bnxt_fw_to_ethtool_adv_spds()1495 if (fw_speeds & BNXT_LINK_SPEED_MSK_40GB) in _bnxt_fw_to_ethtool_adv_spds()1508 #define BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, fw_pause, lk_ksettings, name)\ argument1510 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_100MB) \1513 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_1GB) \1516 if ((fw_speeds) & BNXT_LINK_SPEED_MSK_10GB) \[all …]
9571 u16 fw_speeds = le16_to_cpu(resp->supported_speeds_eee_mode); in bnxt_hwrm_phy_qcaps() local9573 eee->supported = _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_hwrm_phy_qcaps()9677 u16 fw_speeds; in bnxt_update_link() local9683 fw_speeds = le16_to_cpu( in bnxt_update_link()9686 _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_update_link()9695 fw_speeds = le16_to_cpu(resp->adv_eee_link_speed_mask); in bnxt_update_link()9697 _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_update_link()