Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/meta/fbnic/
A Dfbnic_fw.c99 memset(&fbd->fw_cap, 0, sizeof(fbd->fw_cap)); in fbnic_mbx_init()
573 if (!fbd->fw_cap.running.mgmt.version) in fbnic_fw_parse_cap_resp()
593 fbd->fw_cap.running.mgmt.commit, in fbnic_fw_parse_cap_resp()
600 fbd->fw_cap.stored.mgmt.commit, in fbnic_fw_parse_cap_resp()
618 fbd->fw_cap.stored.undi.commit, in fbnic_fw_parse_cap_resp()
621 fbd->fw_cap.active_slot = in fbnic_fw_parse_cap_resp()
623 fbd->fw_cap.link_speed = in fbnic_fw_parse_cap_resp()
625 fbd->fw_cap.link_fec = in fbnic_fw_parse_cap_resp()
644 memset(fbd->fw_cap.bmc_mac_addr, 0, in fbnic_fw_parse_cap_resp()
651 fbd->fw_cap.all_multi = all_multi; in fbnic_fw_parse_cap_resp()
[all …]
A Dfbnic_devlink.c72 err = fbnic_version_running_put(req, &fbd->fw_cap.running.mgmt, in fbnic_devlink_info_get()
77 err = fbnic_version_running_put(req, &fbd->fw_cap.running.bootloader, in fbnic_devlink_info_get()
82 err = fbnic_version_stored_put(req, &fbd->fw_cap.stored.mgmt, in fbnic_devlink_info_get()
87 err = fbnic_version_stored_put(req, &fbd->fw_cap.stored.bootloader, in fbnic_devlink_info_get()
92 err = fbnic_version_stored_put(req, &fbd->fw_cap.stored.undi, in fbnic_devlink_info_get()
148 if (anti_rollback_ver < fbd->fw_cap.anti_rollback_version) { in fbnic_pldm_match_record()
153 anti_rollback_ver, fbd->fw_cap.anti_rollback_version); in fbnic_pldm_match_record()
A Dfbnic.h46 struct fbnic_fw_cap fw_cap; member
149 return fbd->fw_cap.bmc_present; in fbnic_bmc_present()
A Dfbnic_fw_log.c18 if (fbd->fw_cap.running.mgmt.version < MIN_FW_VER_CODE_HIST) in fbnic_fw_log_enable()
A Dfbnic_rpc.c117 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()
A Dfbnic_mac.c546 switch (fbd->fw_cap.link_speed) { in fbnic_mac_get_fw_settings()
567 switch (fbd->fw_cap.link_fec) { in fbnic_mac_get_fw_settings()
/drivers/gpu/drm/amd/amdgpu/
A 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()
623 u32 fw_cap; in amdgpu_atomfirmware_sram_ecc_supported() local
625 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_sram_ecc_supported()
639 u32 fw_cap; in amdgpu_atomfirmware_dynamic_boot_config_supported() local
641 fw_cap = adev->mode_info.firmware_flags; in amdgpu_atomfirmware_dynamic_boot_config_supported()
899 u32 fw_cap; in amdgpu_atomfirmware_mem_training_supported() local
[all …]
/drivers/net/ethernet/broadcom/bnxt/
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()
A Dbnxt_devlink.c63 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()
A Dbnxt.c9640 bp->fw_cap |= BNXT_FW_CAP_HOT_RESET; in __bnxt_hwrm_func_qcaps()
9650 bp->fw_cap |= BNXT_FW_CAP_DBG_QCAPS; in __bnxt_hwrm_func_qcaps()
9656 bp->fw_cap |= BNXT_FW_CAP_PTP_PPS; in __bnxt_hwrm_func_qcaps()
9658 bp->fw_cap |= BNXT_FW_CAP_PTP_RTC; in __bnxt_hwrm_func_qcaps()
9662 bp->fw_cap |= BNXT_FW_CAP_LIVEPATCH; in __bnxt_hwrm_func_qcaps()
9664 bp->fw_cap |= BNXT_FW_CAP_NPAR_1_2; in __bnxt_hwrm_func_qcaps()
9721 bp->fw_cap |= BNXT_FW_CAP_PTP; in __bnxt_hwrm_func_qcaps()
9791 bp->fw_cap |= BNXT_FW_CAP_NEW_RM; in bnxt_hwrm_func_qcaps()
10205 bp->fw_cap |= BNXT_FW_CAP_PKG_VER; in bnxt_hwrm_ver_get()
14714 bp->fw_cap = 0; in bnxt_fw_init_one_p1()
[all …]
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()
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()
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()
626 if ((bp->fw_cap & BNXT_FW_CAP_PRE_RESV_VNICS) && in bnxt_hwrm_func_vf_resc_cfg()
A Dbnxt_hwrm.h123 return (bp->fw_cap & BNXT_FW_CAP_KONG_MB_CHNL && in bnxt_kong_hwrm_message()
A Dbnxt.h2469 u64 fw_cap; member
2513 #define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM)
2515 ((bp)->fw_cap & BNXT_FW_CAP_PTP_RTC))
2517 (BNXT_PF(bp) && ((bp)->fw_cap & BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX_V3))
2524 ((bp)->fw_cap & BNXT_FW_CAP_VNIC_RE_FLUSH))
2526 ((bp)->fw_cap & BNXT_FW_CAP_ENABLE_RDMA_SRIOV)
2528 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_RESC_MGMT_SUPPORTED)
2530 ((bp)->fw_cap & BNXT_FW_CAP_SW_MAX_RESOURCE_LIMITS)
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()
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()
A Dbnxt_ethtool.c1514 !(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()
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()
/drivers/net/ethernet/broadcom/bnge/
A Dbnge_hwrm_lib.c71 bd->fw_cap |= BNGE_FW_CAP_PKG_VER; in bnge_hwrm_ver_get()
96 bd->fw_cap |= BNGE_FW_CAP_SHORT_CMD; in bnge_hwrm_ver_get()
99 bd->fw_cap |= BNGE_FW_CAP_KONG_MB_CHNL; in bnge_hwrm_ver_get()
103 bd->fw_cap |= BNGE_FW_CAP_CFA_ADV_FLOW; in bnge_hwrm_ver_get()
197 bd->fw_cap |= BNGE_FW_CAP_IF_CHANGE; in bnge_hwrm_func_drv_rgtr()
627 bd->fw_cap |= BNGE_FW_CAP_VLAN_RX_STRIP; in bnge_hwrm_vnic_qcaps()
636 bd->fw_cap |= BNGE_FW_CAP_VNIC_TUNNEL_TPA; in bnge_hwrm_vnic_qcaps()
A Dbnge_netdev.c220 if (bd->fw_cap & BNGE_FW_CAP_VLAN_RX_STRIP) in bnge_netdev_alloc()
222 if (bd->fw_cap & BNGE_FW_CAP_VLAN_TX_INSERT) in bnge_netdev_alloc()
A Dbnge.h133 u64 fw_cap; member
A Dbnge_core.c103 bd->fw_cap = 0; in bnge_fw_register_dev()
/drivers/net/wireless/st/cw1200/
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()
A Ddebug.c116 priv->wsm_caps.fw_cap); in cw1200_status_show()
/drivers/ptp/
A Dptp_ocp.c382 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()

Completed in 125 milliseconds

12