Home
last modified time | relevance | path

Searched refs:fw_cap (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwmon.c64 bp->fw_cap |= BNXT_FW_CAP_THRESHOLD_TEMP_SUPPORTED; in bnxt_hwrm_temp_query()
92 if (!(bp->fw_cap & BNXT_FW_CAP_THRESHOLD_TEMP_SUPPORTED)) in bnxt_hwmon_is_visible()
197 if (!(bp->fw_cap & BNXT_FW_CAP_THRESHOLD_TEMP_SUPPORTED) || in bnxt_temp_extra_attrs_visible()
H A Dbnxt_ptp.c373 if (!(bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) && (ptp->tstamp_filters & in bnxt_ptp_cfg_tstamp_filters()
405 if (!ptp || !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) || in bnxt_ptp_reapply_pps()
524 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_hwrm_ptp_cfg()
571 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) { in bnxt_hwtstamp_set()
1006 return !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) == !ptp->ptp_info.pin_config; in bnxt_pps_config_ok()
1118 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PPS)) { in bnxt_ptp_init()
1123 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PTM) && pcie_ptm_enabled(bp->pdev) && in bnxt_ptp_init()
H A Dbnxt.c551 if (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP) { in bnxt_start_xmit()
801 if (!(bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) in bnxt_start_xmit()
842 if (is_ts_pkt && (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) { in __bnxt_tx_int()
2233 !(bp->fw_cap & BNXT_FW_CAP_RING_MONITOR)) { in bnxt_rx_pkt()
3528 if (bp->ptp_cfg && !(bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) in bnxt_free_tx_skbs()
5205 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_HW_STATS_SUPPORTED) || in bnxt_hwrm_func_qstat_ext()
5367 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) in bnxt_alloc_stats()
5384 (bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) { in bnxt_alloc_stats()
5797 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_hwrm_func_drv_rgtr()
5799 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_hwrm_func_drv_rgtr()
[all …]
H A Dbnxt.h2496 u64 fw_cap; member
2544 #define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM)
2546 ((bp)->fw_cap & BNXT_FW_CAP_PTP_RTC))
2548 (BNXT_PF(bp) && ((bp)->fw_cap & BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX_V3))
2554 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_DYN_ALLOC_SUPPORT)
2557 ((bp)->fw_cap & BNXT_FW_CAP_VNIC_RE_FLUSH))
2559 ((bp)->fw_cap & BNXT_FW_CAP_ENABLE_RDMA_SRIOV)
2561 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_RESC_MGMT_SUPPORTED)
2563 ((bp)->fw_cap & BNXT_FW_CAP_SW_MAX_RESOURCE_LIMITS)
2565 ((bp)->fw_cap & BNXT_FW_CAP_MIRROR_ON_ROCE)
H A Dbnxt_hwrm.h123 return (bp->fw_cap & BNXT_FW_CAP_KONG_MB_CHNL && in bnxt_kong_hwrm_message()
H A Dbnxt_dcb.c741 if (BNXT_VF(bp) || (bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcbnl_setdcbx()
776 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcb_init()
778 else if (bp->fw_cap & BNXT_FW_CAP_DCBX_AGENT) in bnxt_dcb_init()
H A Dbnxt_hwrm.c213 if ((bp->fw_cap & BNXT_FW_CAP_SHORT_CMD) || len > BNXT_HWRM_MAX_REQ_LEN) { in hwrm_req_replace()
513 if ((bp->fw_cap & BNXT_FW_CAP_SHORT_CMD) || in __hwrm_send()
H A Dbnxt_ethtool.c1554 !(bp->fw_cap & BNXT_FW_CAP_CFA_NTUPLE_RX_EXT_IP_PROTO)) in bnxt_srxclsrlins()
2158 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_get_regs()
3648 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_firmware_reset_chip()
5358 !(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) { in bnxt_reset()
5369 if (!(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) in bnxt_reset()
5478 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_get_ts_info()
5489 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_hwrm_pcie_qstats()
5512 if (!(bp->fw_cap & BNXT_FW_CAP_PKG_VER)) in bnxt_ethtool_init()
H A Dbnxt_tc.c515 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) in bnxt_hwrm_cfa_flow_free()
784 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) { in bnxt_hwrm_cfa_flow_alloc()
1664 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) { in bnxt_fill_cfa_stats_req()
H A Dbnxt_coredump.c609 if (!(bp->fw_cap & BNXT_FW_CAP_DBG_QCAPS)) in bnxt_hwrm_get_dump_len()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_fw_log.c18 if (fbd->fw_cap.running.mgmt.version < MIN_FW_VER_CODE_HIST) in fbnic_fw_log_enable()
/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.c818 priv->wsm_caps.fw_cap = WSM_GET16(buf); in wsm_startup_indication()
843 priv->wsm_caps.fw_api, priv->wsm_caps.fw_cap); in wsm_startup_indication()
846 if (!(priv->wsm_caps.fw_cap & 0x1)) in wsm_startup_indication()
848 if (!(priv->wsm_caps.fw_cap & 0x2)) in wsm_startup_indication()
H A Ddebug.c116 priv->wsm_caps.fw_cap); in cw1200_status_show()
H A Dwsm.h617 u16 fw_cap; member
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_hwrm.c123 if ((bd->fw_cap & BNGE_FW_CAP_SHORT_CMD) || len > BNGE_HWRM_MAX_REQ_LEN) { in bnge_hwrm_req_replace()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h1856 u32 fw_cap; member
H A Dbnx2x_sriov.c769 if (bp->fw_cap & FW_CAP_INVALIDATE_VF_FP_HSI) in bnx2x_vf_enable_access()
H A Dbnx2x_main.c13424 bp->fw_cap |= FW_CAP_INVALIDATE_VF_FP_HSI; in bnx2x_init_firmware()