| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_fw.c | 508 if (!fbd->fw_cap.running.mgmt.version) in fbnic_fw_parse_cap_resp() 529 fbd->fw_cap.running.mgmt.commit, in fbnic_fw_parse_cap_resp() 536 fbd->fw_cap.stored.mgmt.commit, in fbnic_fw_parse_cap_resp() 554 fbd->fw_cap.stored.undi.commit, in fbnic_fw_parse_cap_resp() 557 fbd->fw_cap.active_slot = in fbnic_fw_parse_cap_resp() 559 fbd->fw_cap.link_speed = in fbnic_fw_parse_cap_resp() 561 fbd->fw_cap.link_fec = in fbnic_fw_parse_cap_resp() 580 memset(fbd->fw_cap.bmc_mac_addr, 0, in fbnic_fw_parse_cap_resp() 584 fbd->fw_cap.bmc_present = bmc_present; in fbnic_fw_parse_cap_resp() 587 fbd->fw_cap.all_multi = all_multi; in fbnic_fw_parse_cap_resp() [all …]
|
| H A D | fbnic_devlink.c | 70 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()
|
| H A D | fbnic.h | 44 struct fbnic_fw_cap fw_cap; member 142 return fbd->fw_cap.bmc_present; in fbnic_bmc_present()
|
| H A D | fbnic_phylink.c | 28 switch (fbd->fw_cap.link_speed) { in fbnic_phylink_pcs_get_state()
|
| H A D | fbnic_mac.c | 551 switch (fbd->fw_cap.link_fec) { in fbnic_pcs_get_fw_settings() 570 switch (fbd->fw_cap.link_speed) { in fbnic_pcs_get_fw_settings()
|
| H A D | fbnic_rpc.c | 117 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()
|
| H A D | fbnic_netdev.c | 235 (!fbnic_bmc_present(fbd) || !fbd->fw_cap.all_multi)) { in __fbnic_set_rx_mode()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_atomfirmware.c | 54 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() 620 u32 fw_cap; in amdgpu_atomfirmware_sram_ecc_supported() local 622 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_sram_ecc_supported() 636 u32 fw_cap; in amdgpu_atomfirmware_dynamic_boot_config_supported() local 638 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_dynamic_boot_config_supported() 896 u32 fw_cap; in amdgpu_atomfirmware_mem_training_supported() local [all …]
|
| /linux-6.15/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_hwmon.c | 64 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 D | bnxt_devlink.c | 63 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_hwrm_remote_dev_reset_set() 366 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) { in bnxt_dl_livepatch_activate() 477 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET) { in bnxt_dl_reload_down() 543 if (bp->fw_cap & BNXT_FW_CAP_ERROR_RECOVERY) in bnxt_dl_reload_up() 821 if (~bp->fw_cap & BNXT_FW_CAP_LIVEPATCH) in bnxt_dl_livepatch_info_put() 1188 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_remote_dev_reset_get() 1251 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_dl_params_register() 1268 if (~bp->fw_cap & BNXT_FW_CAP_HOT_RESET_IF) in bnxt_dl_params_unregister()
|
| H A D | bnxt.c | 9579 bp->fw_cap |= BNXT_FW_CAP_HOT_RESET; in __bnxt_hwrm_func_qcaps() 9589 bp->fw_cap |= BNXT_FW_CAP_DBG_QCAPS; in __bnxt_hwrm_func_qcaps() 9595 bp->fw_cap |= BNXT_FW_CAP_PTP_PPS; in __bnxt_hwrm_func_qcaps() 9597 bp->fw_cap |= BNXT_FW_CAP_PTP_RTC; in __bnxt_hwrm_func_qcaps() 9601 bp->fw_cap |= BNXT_FW_CAP_LIVEPATCH; in __bnxt_hwrm_func_qcaps() 9603 bp->fw_cap |= BNXT_FW_CAP_NPAR_1_2; in __bnxt_hwrm_func_qcaps() 9660 bp->fw_cap |= BNXT_FW_CAP_PTP; in __bnxt_hwrm_func_qcaps() 9730 bp->fw_cap |= BNXT_FW_CAP_NEW_RM; in bnxt_hwrm_func_qcaps() 10144 bp->fw_cap |= BNXT_FW_CAP_PKG_VER; in bnxt_hwrm_ver_get() 14599 bp->fw_cap = 0; in bnxt_fw_init_one_p1() [all …]
|
| H A D | bnxt_ptp.c | 373 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() 592 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) { in bnxt_hwtstamp_set() 983 return !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) == !ptp->ptp_info.pin_config; in bnxt_pps_config_ok() 1095 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PPS)) { in bnxt_ptp_init()
|
| H A D | bnxt_hwrm.h | 123 return (bp->fw_cap & BNXT_FW_CAP_KONG_MB_CHNL && in bnxt_kong_hwrm_message()
|
| H A D | bnxt_dcb.c | 739 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()
|
| H A D | bnxt_sriov.c | 135 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() 626 if ((bp->fw_cap & BNXT_FW_CAP_PRE_RESV_VNICS) && in bnxt_hwrm_func_vf_resc_cfg()
|
| H A D | bnxt.h | 2468 u64 fw_cap; member 2512 #define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM) 2514 ((bp)->fw_cap & BNXT_FW_CAP_PTP_RTC)) 2516 (BNXT_PF(bp) && ((bp)->fw_cap & BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX_V3)) 2523 ((bp)->fw_cap & BNXT_FW_CAP_VNIC_RE_FLUSH)) 2525 ((bp)->fw_cap & BNXT_FW_CAP_ENABLE_RDMA_SRIOV) 2527 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_RESC_MGMT_SUPPORTED) 2529 ((bp)->fw_cap & BNXT_FW_CAP_SW_MAX_RESOURCE_LIMITS)
|
| H A D | bnxt_hwrm.c | 213 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 D | bnxt_ethtool.c | 1514 !(bp->fw_cap & BNXT_FW_CAP_CFA_NTUPLE_RX_EXT_IP_PROTO)) in bnxt_srxclsrlins() 2059 if (bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED) in bnxt_get_regs_len() 2089 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_get_regs() 3496 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_firmware_reset_chip() 5132 !(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) { in bnxt_reset() 5143 if (!(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) in bnxt_reset() 5252 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_get_ts_info() 5265 if (!(bp->fw_cap & BNXT_FW_CAP_PKG_VER)) in bnxt_ethtool_init()
|
| H A D | bnxt_tc.c | 515 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 D | bnxt_coredump.c | 595 if (!(bp->fw_cap & BNXT_FW_CAP_DBG_QCAPS)) in bnxt_hwrm_get_dump_len()
|
| /linux-6.15/drivers/net/wireless/st/cw1200/ |
| H A D | wsm.c | 818 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 D | debug.c | 116 priv->wsm_caps.fw_cap); in cw1200_status_show()
|
| H A D | wsm.h | 617 u16 fw_cap; member
|
| /linux-6.15/drivers/ptp/ |
| H A D | ptp_ocp.c | 382 u64 fw_cap; member 2376 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add() 2386 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add() 2691 bp->fw_cap = cap; in ptp_ocp_fb_set_version() 2867 bp->fw_cap = OCP_CAP_BASIC; in ptp_ocp_art_board_init() 2910 bp->fw_cap = OCP_CAP_BASIC | OCP_CAP_SIGNAL | OCP_CAP_FREQ; in ptp_ocp_adva_board_init() 4187 if (bp->fw_cap & OCP_CAP_SIGNAL) in ptp_ocp_summary_show() 4191 if (bp->fw_cap & OCP_CAP_FREQ) in ptp_ocp_summary_show()
|
| /linux-6.15/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x.h | 1856 u32 fw_cap; member
|