Home
last modified time | relevance | path

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

12

/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_devlink.c57 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_hwrm_remote_dev_reset_set()
360 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) { in bnxt_dl_livepatch_activate()
471 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET) { in bnxt_dl_reload_down()
537 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_dl_reload_up()
815 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) in bnxt_dl_livepatch_info_put()
1177 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_remote_dev_reset_get()
1240 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_dl_params_register()
1257 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_dl_params_unregister()
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()
543 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_hwrm_ptp_cfg()
590 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) { in bnxt_hwtstamp_set()
1025 return !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) == !ptp->ptp_info.pin_config; in bnxt_pps_config_ok()
1137 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PPS)) { in bnxt_ptp_init()
1142 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PTM) && pcie_ptm_enabled(bp->pdev) && in bnxt_ptp_init()
H A Dbnxt_sriov.c135 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_TRUSTED_VF)) in bnxt_is_trusted_vf()
147 if (!(bp->fw_cap & BNXT_FW_CAP_TRUSTED_VF)) in bnxt_hwrm_set_trusted_vf()
259 !(bp->fw_cap & BNXT_FW_CAP_DFLT_VLAN_TPID_PCP))) in bnxt_set_vf_vlan()
280 if (bp->fw_cap & BNXT_FW_CAP_DFLT_VLAN_TPID_PCP) { in bnxt_set_vf_vlan()
341 if (!(bp->fw_cap & BNXT_FW_CAP_LINK_ADMIN)) in bnxt_set_vf_link_admin_state()
394 if (bp->fw_cap & BNXT_FW_CAP_LINK_ADMIN) in bnxt_set_vf_link_state()
666 if ((bp->fw_cap & BNXT_FW_CAP_PRE_RESV_VNICS) && in bnxt_hwrm_func_vf_resc_cfg()
783 if (bp->fw_cap & BNXT_FW_CAP_LINK_ADMIN) { in bnxt_hwrm_func_cfg()
H A Dbnxt.c544 if (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP) { in bnxt_start_xmit()
797 if (!(bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) in bnxt_start_xmit()
836 if (is_ts_pkt && (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) { in __bnxt_tx_int()
2220 !(bp->fw_cap & BNXT_FW_CAP_RING_MONITOR)) { in bnxt_rx_pkt()
3484 if (bp->ptp_cfg && !(bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) in bnxt_free_tx_skbs()
5113 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_HW_STATS_SUPPORTED) || in bnxt_hwrm_func_qstat_ext()
5275 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) in bnxt_alloc_stats()
5292 (bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) { in bnxt_alloc_stats()
5705 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_hwrm_func_drv_rgtr()
5707 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_hwrm_func_drv_rgtr()
[all …]
H A Dbnxt.h2487 u64 fw_cap; member
2535 #define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM)
2537 ((bp)->fw_cap & BNXT_FW_CAP_PTP_RTC))
2539 (BNXT_PF(bp) && ((bp)->fw_cap & BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX_V3))
2545 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_DYN_ALLOC_SUPPORT)
2548 ((bp)->fw_cap & BNXT_FW_CAP_VNIC_RE_FLUSH))
2550 ((bp)->fw_cap & BNXT_FW_CAP_ENABLE_RDMA_SRIOV)
2552 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_RESC_MGMT_SUPPORTED)
2554 ((bp)->fw_cap & BNXT_FW_CAP_SW_MAX_RESOURCE_LIMITS)
2556 ((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.c1521 !(bp->fw_cap & BNXT_FW_CAP_CFA_NTUPLE_RX_EXT_IP_PROTO)) in bnxt_srxclsrlins()
2125 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_get_regs()
3615 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_firmware_reset_chip()
5325 !(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) { in bnxt_reset()
5336 if (!(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) in bnxt_reset()
5445 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_get_ts_info()
5456 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_hwrm_pcie_qstats()
5479 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_rpc.c120 if (fbnic_bmc_present(fbd) && fbd->fw_cap.all_multi) { in fbnic_bmc_rpc_all_multi_config()
151 if (!fbnic_bmc_present(fbd) || !fbd->fw_cap.all_multi || enable_host) { in fbnic_bmc_rpc_all_multi_config()
190 u8 *bmc_mac = fbd->fw_cap.bmc_mac_addr[j]; in fbnic_bmc_rpc_init()
245 if (fbd->fw_cap.need_bmc_tcam_reinit) { in fbnic_bmc_rpc_check()
248 fbd->fw_cap.need_bmc_tcam_reinit = false; in fbnic_bmc_rpc_check()
251 if (fbd->fw_cap.need_bmc_macda_sync) { in fbnic_bmc_rpc_check()
256 fbd->fw_cap.need_bmc_macda_sync = false; in fbnic_bmc_rpc_check()
490 (!fbnic_bmc_present(fbd) || !fbd->fw_cap.all_multi)) { in fbnic_promisc_sync()
661 if (fbd->fw_cap.need_bmc_tcam_reinit) in fbnic_write_macda()
666 fbd->fw_cap.need_bmc_macda_sync = true; in fbnic_write_macda()
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/ethernet/broadcom/bnge/
H A Dbnge_hwrm_lib.c73 bd->fw_cap |= BNGE_FW_CAP_PKG_VER; in bnge_hwrm_ver_get()
98 bd->fw_cap |= BNGE_FW_CAP_SHORT_CMD; in bnge_hwrm_ver_get()
101 bd->fw_cap |= BNGE_FW_CAP_KONG_MB_CHNL; in bnge_hwrm_ver_get()
105 bd->fw_cap |= BNGE_FW_CAP_CFA_ADV_FLOW; in bnge_hwrm_ver_get()
199 bd->fw_cap |= BNGE_FW_CAP_IF_CHANGE; in bnge_hwrm_func_drv_rgtr()
629 bd->fw_cap |= BNGE_FW_CAP_VLAN_RX_STRIP; in bnge_hwrm_vnic_qcaps()
638 bd->fw_cap |= BNGE_FW_CAP_VNIC_TUNNEL_TPA; in bnge_hwrm_vnic_qcaps()
1198 if (!(bd->fw_cap & BNGE_FW_CAP_VNIC_TUNNEL_TPA)) in bnge_hwrm_vnic_update_tunl_tpa()
H A Dbnge.h145 u64 fw_cap; member
H A Dbnge_core.c118 bd->fw_cap = 0; in bnge_fw_register_dev()
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()
H A Dbnge_netdev.c2758 if (bd->fw_cap & BNGE_FW_CAP_VLAN_RX_STRIP) in bnge_netdev_alloc()
2760 if (bd->fw_cap & BNGE_FW_CAP_VLAN_TX_INSERT) in bnge_netdev_alloc()
/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/ptp/
H A Dptp_ocp.c382 u64 fw_cap; member
2378 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
2387 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
2692 bp->fw_cap = cap; in ptp_ocp_fb_set_version()
2868 bp->fw_cap = OCP_CAP_BASIC; in ptp_ocp_art_board_init()
2911 bp->fw_cap = OCP_CAP_BASIC | OCP_CAP_SIGNAL | OCP_CAP_FREQ; in ptp_ocp_adva_board_init()
4190 if (bp->fw_cap & OCP_CAP_SIGNAL) in ptp_ocp_summary_show()
4194 if (bp->fw_cap & OCP_CAP_FREQ) in ptp_ocp_summary_show()
/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()

12