Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c53 u32 fw_cap = 0; in amdgpu_atomfirmware_query_firmware_capability() local
64 fw_cap = le32_to_cpu(firmware_info->v31.firmware_capability); in amdgpu_atomfirmware_query_firmware_capability()
68 return fw_cap; in amdgpu_atomfirmware_query_firmware_capability()
80 u32 fw_cap; in amdgpu_atomfirmware_gpu_virtualization_supported() local
82 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_gpu_virtualization_supported()
84 return (fw_cap & ATOM_FIRMWARE_CAP_GPU_VIRTUALIZATION) ? true : false; in amdgpu_atomfirmware_gpu_virtualization_supported()
482 u32 fw_cap; in amdgpu_atomfirmware_sram_ecc_supported() local
484 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_sram_ecc_supported()
486 return (fw_cap & ATOM_FIRMWARE_CAP_SRAM_ECC) ? true : false; in amdgpu_atomfirmware_sram_ecc_supported()
498 u32 fw_cap; in amdgpu_atomfirmware_dynamic_boot_config_supported() local
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c65 if (ptp->bp->fw_cap & BNXT_FW_CAP_PTP_RTC) in bnxt_ptp_settime()
198 if (ptp->bp->fw_cap & BNXT_FW_CAP_PTP_RTC) in bnxt_ptp_adjtime()
318 if (!(bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) && (ptp->tstamp_filters & in bnxt_ptp_cfg_tstamp_filters()
348 if (!ptp || !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) || in bnxt_ptp_reapply_pps()
490 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_hwrm_ptp_cfg()
551 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) { in bnxt_hwtstamp_set()
838 return !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) == !ptp->ptp_info.pin_config; in bnxt_pps_config_ok()
871 if (!bp->ptp_cfg || !(bp->fw_cap & BNXT_FW_CAP_PTP_RTC)) in bnxt_ptp_init_rtc()
924 if (bp->fw_cap & BNXT_FW_CAP_PTP_RTC) { in bnxt_ptp_init()
934 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PPS)) { in bnxt_ptp_init()
Dbnxt_devlink.c62 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_hwrm_remote_dev_reset_set()
394 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) { in bnxt_dl_livepatch_activate()
508 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET) { in bnxt_dl_reload_down()
570 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_dl_reload_up()
841 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) in bnxt_dl_livepatch_info_put()
1182 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()
Dbnxt.c1910 !(bp->fw_cap & BNXT_FW_CAP_RING_MONITOR)) { in bnxt_rx_pkt()
2388 if (bp->fw_cap & BNXT_FW_CAP_PTP_RTC) { in bnxt_async_event_process()
4243 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_HW_STATS_SUPPORTED) || in bnxt_hwrm_func_qstat_ext()
4398 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) in bnxt_alloc_stats()
4415 (bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) { in bnxt_alloc_stats()
4744 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_hwrm_func_drv_rgtr()
4746 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_hwrm_func_drv_rgtr()
4778 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) in bnxt_hwrm_func_drv_rgtr()
4787 !(bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY)) in bnxt_hwrm_func_drv_rgtr()
4810 bp->fw_cap |= BNXT_FW_CAP_IF_CHANGE; 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_dcb.c731 if (BNXT_VF(bp) || (bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcbnl_setdcbx()
766 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcb_init()
768 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()
511 if ((bp->fw_cap & BNXT_FW_CAP_SHORT_CMD) || in __hwrm_send()
Dbnxt_ethtool.c1395 if (bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED) in bnxt_get_regs_len()
1413 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_get_regs()
2297 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_firmware_reset_chip()
3707 !(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) { in bnxt_reset()
3718 if (!(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) in bnxt_reset()
3822 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_get_ts_info()
3835 if (!(bp->fw_cap & BNXT_FW_CAP_PKG_VER)) in bnxt_ethtool_init()
Dbnxt_coredump.c394 if (!(bp->fw_cap & BNXT_FW_CAP_DBG_QCAPS)) in bnxt_hwrm_get_dump_len()
Dbnxt_sriov.c134 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_TRUSTED_VF)) in bnxt_is_trusted_vf()
146 if (!(bp->fw_cap & BNXT_FW_CAP_TRUSTED_VF)) in bnxt_hwrm_set_trusted_vf()
Dbnxt_tc.c511 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) in bnxt_hwrm_cfa_flow_free()
780 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) { in bnxt_hwrm_cfa_flow_alloc()
1660 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) { in bnxt_fill_cfa_stats_req()
Dbnxt.h1962 u32 fw_cap; member
1992 #define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM)
/linux-6.1.9/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.1.9/drivers/ptp/
Dptp_ocp.c335 u64 fw_cap; member
1950 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
1960 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
2196 bp->fw_cap = cap; in ptp_ocp_fb_set_version()
3279 if (bp->fw_cap & OCP_CAP_SIGNAL) in ptp_ocp_summary_show()
3283 if (bp->fw_cap & OCP_CAP_FREQ) in ptp_ocp_summary_show()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1855 u32 fw_cap; member
Dbnx2x_sriov.c770 if (bp->fw_cap & FW_CAP_INVALIDATE_VF_FP_HSI) in bnx2x_vf_enable_access()
Dbnx2x_main.c13439 bp->fw_cap |= FW_CAP_INVALIDATE_VF_FP_HSI; in bnx2x_init_firmware()