Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_fw.c308 !fbd->fw_cap.running.mgmt.version) in fbnic_mbx_postinit_desc_ring()
309 fbd->fw_cap.running.mgmt.version = 1; in fbnic_mbx_postinit_desc_ring()
448 fbd->fw_cap.running.mgmt.version); in fbnic_fw_parse_cap_resp()
450 if (!fbd->fw_cap.running.mgmt.version) in fbnic_fw_parse_cap_resp()
453 if (fbd->fw_cap.running.mgmt.version < MIN_FW_VERSION_CODE) { in fbnic_fw_parse_cap_resp()
456 fbnic_mk_fw_ver_str(fbd->fw_cap.running.mgmt.version, in fbnic_fw_parse_cap_resp()
471 fbd->fw_cap.running.mgmt.commit, in fbnic_fw_parse_cap_resp()
477 fbd->fw_cap.stored.mgmt.version); in fbnic_fw_parse_cap_resp()
479 fbd->fw_cap.stored.mgmt.commit, in fbnic_fw_parse_cap_resp()
483 fbd->fw_cap.running.bootloader.version); in fbnic_fw_parse_cap_resp()
[all …]
Dfbnic_devlink.c70 err = fbnic_version_running_put(req, &fbd->fw_cap.running.mgmt, in fbnic_devlink_info_get()
75 err = fbnic_version_running_put(req, &fbd->fw_cap.running.bootloader, in fbnic_devlink_info_get()
80 err = fbnic_version_stored_put(req, &fbd->fw_cap.stored.mgmt, in fbnic_devlink_info_get()
85 err = fbnic_version_stored_put(req, &fbd->fw_cap.stored.bootloader, in fbnic_devlink_info_get()
90 err = fbnic_version_stored_put(req, &fbd->fw_cap.stored.undi, in fbnic_devlink_info_get()
Dfbnic.h32 struct fbnic_fw_cap fw_cap; member
112 return fbd->fw_cap.bmc_present; in fbnic_bmc_present()
Dfbnic_rpc.c115 if (fbnic_bmc_present(fbd) && fbd->fw_cap.all_multi) { in fbnic_bmc_rpc_all_multi_config()
149 if (!fbnic_bmc_present(fbd) || !fbd->fw_cap.all_multi || enable_host) { in fbnic_bmc_rpc_all_multi_config()
188 u8 *bmc_mac = fbd->fw_cap.bmc_mac_addr[j]; in fbnic_bmc_rpc_init()
Dfbnic_phylink.c28 switch (fbd->fw_cap.link_speed) { in fbnic_phylink_pcs_get_state()
Dfbnic_mac.c557 switch (fbd->fw_cap.link_fec) { in fbnic_pcs_get_fw_settings()
576 switch (fbd->fw_cap.link_speed) { in fbnic_pcs_get_fw_settings()
Dfbnic_netdev.c230 (!fbnic_bmc_present(fbd) || !fbd->fw_cap.all_multi)) { in __fbnic_set_rx_mode()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c54 u32 fw_cap = 0; in amdgpu_atomfirmware_query_firmware_capability() local
65 fw_cap = le32_to_cpu(firmware_info->v31.firmware_capability); in amdgpu_atomfirmware_query_firmware_capability()
69 return fw_cap; in amdgpu_atomfirmware_query_firmware_capability()
81 u32 fw_cap; in amdgpu_atomfirmware_gpu_virtualization_supported() local
83 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_gpu_virtualization_supported()
85 return (fw_cap & ATOM_FIRMWARE_CAP_GPU_VIRTUALIZATION) ? true : false; in amdgpu_atomfirmware_gpu_virtualization_supported()
614 u32 fw_cap; in amdgpu_atomfirmware_sram_ecc_supported() local
616 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_sram_ecc_supported()
618 return (fw_cap & ATOM_FIRMWARE_CAP_SRAM_ECC) ? true : false; in amdgpu_atomfirmware_sram_ecc_supported()
630 u32 fw_cap; in amdgpu_atomfirmware_dynamic_boot_config_supported() local
[all …]
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
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()
Dbnxt_devlink.c62 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_hwrm_remote_dev_reset_set()
365 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) { in bnxt_dl_livepatch_activate()
472 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET) { in bnxt_dl_reload_down()
533 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_dl_reload_up()
806 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) in bnxt_dl_livepatch_info_put()
1144 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_remote_dev_reset_get()
1203 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_dl_params_register()
1220 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_dl_params_unregister()
Dbnxt_ptp.c349 if (!(bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) && (ptp->tstamp_filters & in bnxt_ptp_cfg_tstamp_filters()
381 if (!ptp || !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) || in bnxt_ptp_reapply_pps()
523 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_hwrm_ptp_cfg()
572 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) { in bnxt_hwtstamp_set()
952 return !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) == !ptp->ptp_info.pin_config; in bnxt_pps_config_ok()
1060 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PPS)) { in bnxt_ptp_init()
Dbnxt.c512 if (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP) { in bnxt_start_xmit()
763 if (!(bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) in bnxt_start_xmit()
801 if (is_ts_pkt && (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) { in __bnxt_tx_int()
2133 !(bp->fw_cap & BNXT_FW_CAP_RING_MONITOR)) { in bnxt_rx_pkt()
4788 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_HW_STATS_SUPPORTED) || in bnxt_hwrm_func_qstat_ext()
4950 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) in bnxt_alloc_stats()
4967 (bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) { in bnxt_alloc_stats()
5380 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_hwrm_func_drv_rgtr()
5382 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_hwrm_func_drv_rgtr()
5414 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) in bnxt_hwrm_func_drv_rgtr()
[all …]
Dbnxt_hwrm.h123 return (bp->fw_cap & BNXT_FW_CAP_KONG_MB_CHNL && in bnxt_kong_hwrm_message()
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()
576 if ((bp->fw_cap & BNXT_FW_CAP_PRE_RESV_VNICS) && in bnxt_hwrm_func_vf_resc_cfg()
Dbnxt_dcb.c739 if (BNXT_VF(bp) || (bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcbnl_setdcbx()
774 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcb_init()
776 else if (bp->fw_cap & BNXT_FW_CAP_DCBX_AGENT) in bnxt_dcb_init()
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()
Dbnxt.h2403 u64 fw_cap; member
2443 #define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM)
2445 ((bp)->fw_cap & BNXT_FW_CAP_PTP_RTC))
2447 (BNXT_PF(bp) && ((bp)->fw_cap & BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX_V3))
2454 ((bp)->fw_cap & BNXT_FW_CAP_VNIC_RE_FLUSH))
Dbnxt_ethtool.c1489 !(bp->fw_cap & BNXT_FW_CAP_CFA_NTUPLE_RX_EXT_IP_PROTO)) in bnxt_srxclsrlins()
2034 if (bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED) in bnxt_get_regs_len()
2052 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_get_regs()
3439 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_firmware_reset_chip()
4945 !(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) { in bnxt_reset()
4956 if (!(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) in bnxt_reset()
5064 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_get_ts_info()
5077 if (!(bp->fw_cap & BNXT_FW_CAP_PKG_VER)) in bnxt_ethtool_init()
Dbnxt_coredump.c455 if (!(bp->fw_cap & BNXT_FW_CAP_DBG_QCAPS)) in bnxt_hwrm_get_dump_len()
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()
/linux-6.12.1/drivers/net/wireless/st/cw1200/
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()
Ddebug.c116 priv->wsm_caps.fw_cap); in cw1200_status_show()
Dwsm.h617 u16 fw_cap; member
/linux-6.12.1/drivers/ptp/
Dptp_ocp.c380 u64 fw_cap; member
2367 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
2377 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
2634 bp->fw_cap = cap; in ptp_ocp_fb_set_version()
2808 bp->fw_cap = OCP_CAP_BASIC; in ptp_ocp_art_board_init()
2847 bp->fw_cap = OCP_CAP_BASIC | OCP_CAP_SIGNAL | OCP_CAP_FREQ; in ptp_ocp_adva_board_init()
4127 if (bp->fw_cap & OCP_CAP_SIGNAL) in ptp_ocp_summary_show()
4131 if (bp->fw_cap & OCP_CAP_FREQ) in ptp_ocp_summary_show()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1856 u32 fw_cap; member

12