Home
last modified time | relevance | path

Searched refs:fw_pause (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1481 u32 _bnxt_fw_to_ethtool_adv_spds(u16 fw_speeds, u8 fw_pause) in _bnxt_fw_to_ethtool_adv_spds() argument
1498 if ((fw_pause & BNXT_LINK_PAUSE_BOTH) == BNXT_LINK_PAUSE_BOTH) in _bnxt_fw_to_ethtool_adv_spds()
1500 else if (fw_pause & BNXT_LINK_PAUSE_TX) in _bnxt_fw_to_ethtool_adv_spds()
1502 else if (fw_pause & BNXT_LINK_PAUSE_RX) in _bnxt_fw_to_ethtool_adv_spds()
1508 #define BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, fw_pause, lk_ksettings, name)\ argument
1531 if ((fw_pause) & BNXT_LINK_PAUSE_RX) { \
1534 if (!((fw_pause) & BNXT_LINK_PAUSE_TX)) \
1537 } else if ((fw_pause) & BNXT_LINK_PAUSE_TX) { \
1623 u8 fw_pause = 0; in bnxt_fw_to_ethtool_advertised_spds() local
1626 fw_pause = link_info->auto_pause_setting; in bnxt_fw_to_ethtool_advertised_spds()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c368 static inline enum cc_pause fwcap_to_cc_pause(fw_port_cap32_t fw_pause) in fwcap_to_cc_pause() argument
372 if (fw_pause & FW_PORT_CAP32_FC_RX) in fwcap_to_cc_pause()
374 if (fw_pause & FW_PORT_CAP32_FC_TX) in fwcap_to_cc_pause()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4024 static inline enum cc_pause fwcap_to_cc_pause(fw_port_cap32_t fw_pause) in fwcap_to_cc_pause() argument
4028 if (fw_pause & FW_PORT_CAP32_FC_RX) in fwcap_to_cc_pause()
4030 if (fw_pause & FW_PORT_CAP32_FC_TX) in fwcap_to_cc_pause()
4042 fw_port_cap32_t fw_pause = 0; in cc_to_fwcap_pause() local
4045 fw_pause |= FW_PORT_CAP32_FC_RX; in cc_to_fwcap_pause()
4047 fw_pause |= FW_PORT_CAP32_FC_TX; in cc_to_fwcap_pause()
4049 fw_pause |= FW_PORT_CAP32_FORCE_PAUSE; in cc_to_fwcap_pause()
4057 fw_pause |= FW_PORT_CAP32_802_3_PAUSE; in cc_to_fwcap_pause()
4059 fw_pause |= FW_PORT_CAP32_802_3_ASM_DIR | in cc_to_fwcap_pause()
4062 fw_pause |= FW_PORT_CAP32_802_3_ASM_DIR; in cc_to_fwcap_pause()
[all …]
/linux-6.1.9/drivers/scsi/csiostor/
Dcsio_hw.c1515 fw_port_cap32_t fw_pause = 0; in cc_to_fwcap_pause() local
1518 fw_pause |= FW_PORT_CAP32_FC_RX; in cc_to_fwcap_pause()
1520 fw_pause |= FW_PORT_CAP32_FC_TX; in cc_to_fwcap_pause()
1522 return fw_pause; in cc_to_fwcap_pause()