Home
last modified time | relevance | path

Searched refs:fw_type (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.15/drivers/media/platform/mtk-vpu/
Dmtk_vpu.c500 u8 fw_type) in load_requested_vpu() argument
502 size_t tcm_size = fw_type ? VPU_DTCM_SIZE : VPU_PTCM_SIZE; in load_requested_vpu()
503 size_t fw_size = fw_type ? VPU_D_FW_SIZE : VPU_P_FW_SIZE; in load_requested_vpu()
504 char *fw_name = fw_type ? VPU_D_FW : VPU_P_FW; in load_requested_vpu()
505 char *fw_new_name = fw_type ? VPU_D_FW_NEW : VPU_P_FW_NEW; in load_requested_vpu()
546 if (fw_type == D_FW) in load_requested_vpu()
551 dest = vpu->extmem[fw_type].va; in load_requested_vpu()
553 fw_type); in load_requested_vpu()
702 static void vpu_free_ext_mem(struct mtk_vpu *vpu, u8 fw_type) in vpu_free_ext_mem() argument
705 size_t fw_ext_size = fw_type ? VPU_EXT_D_SIZE : VPU_EXT_P_SIZE; in vpu_free_ext_mem()
[all …]
/Linux-v5.15/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c787 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_bootld_offs()
800 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_offs()
811 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_size()
829 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_fw_version()
859 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_bios_version()
875 u8 fw_type; in netxen_need_fw_reset() local
923 adapter->fw_type != NX_UNIFIED_ROMIMAGE) { in netxen_need_fw_reset()
926 fw_type = (val & 0x4) ? in netxen_need_fw_reset()
929 if (adapter->fw_type != fw_type) in netxen_need_fw_reset()
983 fw_name[adapter->fw_type]); in netxen_load_firmware()
[all …]
/Linux-v5.15/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c968 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_bootld_offs()
982 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_offs()
996 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_size()
1011 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_fw_version()
1042 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_bios_version()
1115 fw_name[adapter->ahw->fw_type]); in qlcnic_load_firmware()
1207 u8 fw_type = adapter->ahw->fw_type; in qlcnic_validate_firmware() local
1209 if (fw_type == QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_validate_firmware()
1231 fw_name[fw_type], _major(ver), _minor(ver), _build(ver)); in qlcnic_validate_firmware()
1239 fw_name[fw_type]); in qlcnic_validate_firmware()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu7_smumgr.c213 enum cgs_ucode_id smu7_convert_fw_type_to_cgs(uint32_t fw_type) in smu7_convert_fw_type_to_cgs() argument
217 switch (fw_type) { in smu7_convert_fw_type_to_cgs()
288 uint32_t fw_type, in smu7_populate_single_firmware_entry() argument
295 smu7_convert_fw_type_to_cgs(fw_type), in smu7_populate_single_firmware_entry()
300 entry->id = (uint16_t)fw_type; in smu7_populate_single_firmware_entry()
313 if ((fw_type == UCODE_ID_RLC_G) in smu7_populate_single_firmware_entry()
314 || (fw_type == UCODE_ID_CP_MEC)) in smu7_populate_single_firmware_entry()
434 int smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type) in smu7_check_fw_load_finish() argument
442 fw_type, fw_type); in smu7_check_fw_load_finish()
Dsmu7_smumgr.h68 enum cgs_ucode_id smu7_convert_fw_type_to_cgs(uint32_t fw_type);
75 int smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type);
Dsmu8_smumgr.c290 static enum cgs_ucode_id smu8_convert_fw_type_to_cgs(uint32_t fw_type) in smu8_convert_fw_type_to_cgs() argument
294 switch (fw_type) { in smu8_convert_fw_type_to_cgs()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c281 switch (query_fw->fw_type) { in amdgpu_firmware_info()
1433 query_fw.fw_type = AMDGPU_INFO_FW_VCE; in amdgpu_debugfs_firmware_info_show()
1441 query_fw.fw_type = AMDGPU_INFO_FW_UVD; in amdgpu_debugfs_firmware_info_show()
1449 query_fw.fw_type = AMDGPU_INFO_FW_GMC; in amdgpu_debugfs_firmware_info_show()
1457 query_fw.fw_type = AMDGPU_INFO_FW_GFX_ME; in amdgpu_debugfs_firmware_info_show()
1465 query_fw.fw_type = AMDGPU_INFO_FW_GFX_PFP; in amdgpu_debugfs_firmware_info_show()
1473 query_fw.fw_type = AMDGPU_INFO_FW_GFX_CE; in amdgpu_debugfs_firmware_info_show()
1481 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC; in amdgpu_debugfs_firmware_info_show()
1489 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL; in amdgpu_debugfs_firmware_info_show()
1497 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM; in amdgpu_debugfs_firmware_info_show()
[all …]
Dpsp_gfx_if.h271 enum psp_gfx_fw_type fw_type; /* FW type */ member
282 enum psp_gfx_fw_type fw_type; /* FW type */ member
Damdgpu_cgs.c112 static uint32_t fw_type_convert(struct cgs_device *cgs_device, uint32_t fw_type) in fw_type_convert() argument
117 switch (fw_type) { in fw_type_convert()
Damdgpu_ucode.h110 uint32_t fw_type; member
/Linux-v5.15/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h412 unsigned int fw_type; member
427 char fw_type; member
471 unsigned int fw_type; member
484 char fw_type; member
503 char fw_type; member
Dqat_uclo.c108 if (suof_hdr->fw_type != 0) { in qat_uclo_check_suof_format()
1052 suof_handle->fw_type = suof_ptr->fw_type; in qat_uclo_map_suof_file_hdr()
1084 suof_img_hdr->fw_type = ae_mode->fw_type; in qat_uclo_map_simg()
1382 length = (css_hdr->fw_type == CSS_AE_FIRMWARE) ? in qat_uclo_map_auth_fw()
1450 if (((struct icp_qat_css_hdr *)(uintptr_t)virt_addr)->fw_type == in qat_uclo_map_auth_fw()
/Linux-v5.15/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec_drv.c217 enum mtk_vcodec_fw_type fw_type; in mtk_vcodec_probe() local
229 fw_type = VPU; in mtk_vcodec_probe()
232 fw_type = SCP; in mtk_vcodec_probe()
239 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, DECODER); in mtk_vcodec_probe()
Dmtk_vcodec_enc_drv.c248 enum mtk_vcodec_fw_type fw_type; in mtk_vcodec_probe() local
260 fw_type = VPU; in mtk_vcodec_probe()
263 fw_type = SCP; in mtk_vcodec_probe()
270 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, ENCODER); in mtk_vcodec_probe()
/Linux-v5.15/drivers/firmware/efi/
Desrt.c33 u32 fw_type; member
132 esre_attr_decl(fw_type, 32, "%u");
/Linux-v5.15/drivers/net/phy/
Dmxl-gpy.c120 int fw_ver, fw_type, fw_minor; in gpy_sgmii_need_reaneg() local
127 fw_type = FIELD_GET(PHY_FWV_TYPE_MASK, fw_ver); in gpy_sgmii_need_reaneg()
131 if (fw_type != ver_need_sgmii_reaneg[i].type) in gpy_sgmii_need_reaneg()
/Linux-v5.15/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h56 __le32 fw_type; member
/Linux-v5.15/drivers/misc/mei/
Dhw-me.c1420 u32 fw_type; in mei_me_fw_type_sps() local
1426 fw_type = (reg & PCI_CFG_HFS_3_FW_SKU_MSK); in mei_me_fw_type_sps()
1428 dev_dbg(&pdev->dev, "fw type is %d\n", fw_type); in mei_me_fw_type_sps()
1430 return fw_type == PCI_CFG_HFS_3_FW_SKU_SPS; in mei_me_fw_type_sps()
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-firmware-efi-esrt34 What: /sys/firmware/efi/esrt/entries/entry$N/fw_type
/Linux-v5.15/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c62 static char fw_type[LIO_MAX_FW_TYPE_LEN] = LIO_FW_NAME_TYPE_AUTO; variable
63 module_param_string(fw_type, fw_type, sizeof(fw_type), 0444);
64 MODULE_PARM_DESC(fw_type, "Type of firmware to be loaded (default is \"auto\"), which uses firmware…
920 return strncmp(fw_type, LIO_FW_NAME_TYPE_AUTO, in fw_type_is_auto()
1697 strncpy(fw_type, tmp_fw_type, sizeof(fw_type)); in load_firmware()
1699 tmp_fw_type = fw_type; in load_firmware()
/Linux-v5.15/drivers/net/wireless/ti/wlcore/
Dmain.c740 enum wl12xx_fw_type fw_type; in wl12xx_fetch_firmware() local
744 fw_type = WL12XX_FW_TYPE_PLT; in wl12xx_fetch_firmware()
752 fw_type = WL12XX_FW_TYPE_MULTI; in wl12xx_fetch_firmware()
755 fw_type = WL12XX_FW_TYPE_NORMAL; in wl12xx_fetch_firmware()
760 if (wl->fw_type == fw_type) in wl12xx_fetch_firmware()
780 wl->fw_type = WL12XX_FW_TYPE_NONE; in wl12xx_fetch_firmware()
792 wl->fw_type = fw_type; in wl12xx_fetch_firmware()
2400 enum wl12xx_fw_type current_fw = wl->fw_type; in wl12xx_need_fw_change()
6438 wl->fw_type = WL12XX_FW_TYPE_NONE; in wlcore_alloc_hw()
6526 wl->fw_type = WL12XX_FW_TYPE_NONE; in wlcore_free_hw()
Dboot.c72 unsigned int *min_ver = (wl->fw_type == WL12XX_FW_TYPE_MULTI) ? in wlcore_validate_fw_ver()
Dwlcore.h196 enum wl12xx_fw_type fw_type; member
/Linux-v5.15/drivers/net/wireless/st/cw1200/
Ddebug.c110 cw1200_fw_types[priv->wsm_caps.fw_type], in cw1200_status_show()
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_nx.c1558 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_bootld_offset()
1572 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_fw_size()
1588 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_fw_offs()
1836 qla82xx_validate_firmware_blob(scsi_qla_host_t *vha, uint8_t fw_type) in qla82xx_validate_firmware_blob() argument
1843 ha->fw_type = fw_type; in qla82xx_validate_firmware_blob()
1845 if (fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_validate_firmware_blob()

12