Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/media/platform/mtk-vpu/
Dmtk_vpu.c484 u8 fw_type) in load_requested_vpu() argument
486 size_t tcm_size = fw_type ? VPU_DTCM_SIZE : VPU_PTCM_SIZE; in load_requested_vpu()
487 size_t fw_size = fw_type ? VPU_D_FW_SIZE : VPU_P_FW_SIZE; in load_requested_vpu()
488 char *fw_name = fw_type ? VPU_D_FW : VPU_P_FW; in load_requested_vpu()
521 if (fw_type == D_FW) in load_requested_vpu()
526 dest = vpu->extmem[fw_type].va; in load_requested_vpu()
528 fw_type); in load_requested_vpu()
671 static void vpu_free_ext_mem(struct mtk_vpu *vpu, u8 fw_type) in vpu_free_ext_mem() argument
674 size_t fw_ext_size = fw_type ? VPU_EXT_D_SIZE : VPU_EXT_P_SIZE; in vpu_free_ext_mem()
676 dma_free_coherent(dev, fw_ext_size, vpu->extmem[fw_type].va, in vpu_free_ext_mem()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c805 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_bootld_offs()
818 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_offs()
829 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_size()
847 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_fw_version()
877 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_bios_version()
893 u8 fw_type; in netxen_need_fw_reset() local
941 adapter->fw_type != NX_UNIFIED_ROMIMAGE) { in netxen_need_fw_reset()
944 fw_type = (val & 0x4) ? in netxen_need_fw_reset()
947 if (adapter->fw_type != fw_type) in netxen_need_fw_reset()
1001 fw_name[adapter->fw_type]); in netxen_load_firmware()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c972 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_bootld_offs()
986 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_offs()
1000 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_size()
1015 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_fw_version()
1046 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_bios_version()
1119 fw_name[adapter->ahw->fw_type]); in qlcnic_load_firmware()
1211 u8 fw_type = adapter->ahw->fw_type; in qlcnic_validate_firmware() local
1213 if (fw_type == QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_validate_firmware()
1235 fw_name[fw_type], _major(ver), _minor(ver), _build(ver)); in qlcnic_validate_firmware()
1243 fw_name[fw_type]); in qlcnic_validate_firmware()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
Dsmu7_smumgr.c231 enum cgs_ucode_id smu7_convert_fw_type_to_cgs(uint32_t fw_type) in smu7_convert_fw_type_to_cgs() argument
235 switch (fw_type) { in smu7_convert_fw_type_to_cgs()
307 static uint32_t smu7_get_mask_for_firmware_type(uint32_t fw_type) in smu7_get_mask_for_firmware_type() argument
311 switch (fw_type) { in smu7_get_mask_for_firmware_type()
344 uint32_t fw_type, in smu7_populate_single_firmware_entry() argument
351 smu7_convert_fw_type_to_cgs(fw_type), in smu7_populate_single_firmware_entry()
356 entry->id = (uint16_t)fw_type; in smu7_populate_single_firmware_entry()
369 if ((fw_type == UCODE_ID_RLC_G) in smu7_populate_single_firmware_entry()
370 || (fw_type == UCODE_ID_CP_MEC)) in smu7_populate_single_firmware_entry()
482 int smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type) in smu7_check_fw_load_finish() argument
[all …]
Dsmu7_smumgr.h70 enum cgs_ucode_id smu7_convert_fw_type_to_cgs(uint32_t fw_type);
77 int smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type);
Dsmu8_smumgr.c291 static enum cgs_ucode_id smu8_convert_fw_type_to_cgs(uint32_t fw_type) in smu8_convert_fw_type_to_cgs() argument
295 switch (fw_type) { in smu8_convert_fw_type_to_cgs()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h416 unsigned int fw_type; member
431 char fw_type; member
475 unsigned int fw_type; member
488 char fw_type; member
507 char fw_type; member
Dqat_uclo.c151 if (suof_hdr->fw_type != 0) { in qat_uclo_check_suof_format()
1040 suof_handle->fw_type = suof_ptr->fw_type; in qat_uclo_map_suof_file_hdr()
1071 suof_img_hdr->fw_type = ae_mode->fw_type; in qat_uclo_map_simg()
1273 length = (css_hdr->fw_type == CSS_AE_FIRMWARE) ? in qat_uclo_map_auth_fw()
1341 if (((struct icp_qat_css_hdr *)(uintptr_t)virt_addr)->fw_type == in qat_uclo_map_auth_fw()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c185 switch (query_fw->fw_type) { in amdgpu_firmware_info()
1122 query_fw.fw_type = AMDGPU_INFO_FW_VCE; in amdgpu_debugfs_firmware_info()
1130 query_fw.fw_type = AMDGPU_INFO_FW_UVD; in amdgpu_debugfs_firmware_info()
1138 query_fw.fw_type = AMDGPU_INFO_FW_GMC; in amdgpu_debugfs_firmware_info()
1146 query_fw.fw_type = AMDGPU_INFO_FW_GFX_ME; in amdgpu_debugfs_firmware_info()
1154 query_fw.fw_type = AMDGPU_INFO_FW_GFX_PFP; in amdgpu_debugfs_firmware_info()
1162 query_fw.fw_type = AMDGPU_INFO_FW_GFX_CE; in amdgpu_debugfs_firmware_info()
1170 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC; in amdgpu_debugfs_firmware_info()
1178 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL; in amdgpu_debugfs_firmware_info()
1186 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM; in amdgpu_debugfs_firmware_info()
[all …]
Dpsp_gfx_if.h201 enum psp_gfx_fw_type fw_type; /* FW type */ member
212 enum psp_gfx_fw_type fw_type; /* FW type */ member
Damdgpu_cgs.c111 static uint32_t fw_type_convert(struct cgs_device *cgs_device, uint32_t fw_type) in fw_type_convert() argument
116 switch (fw_type) { in fw_type_convert()
Dpsp_v10_0.c161 ret = psp_v10_0_get_fw_type(ucode, &cmd->cmd.cmd_load_ip_fw.fw_type); in psp_v10_0_prep_cmd_buf()
Dpsp_v3_1.c292 ret = psp_v3_1_get_fw_type(ucode, &cmd->cmd.cmd_load_ip_fw.fw_type); in psp_v3_1_prep_cmd_buf()
/Linux-v4.19/drivers/firmware/efi/
Desrt.c32 u32 fw_type; member
131 esre_attr_decl(fw_type, 32, "%u");
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h64 __le32 fw_type; member
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-firmware-efi-esrt34 What: /sys/firmware/efi/esrt/entries/entry$N/fw_type
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c64 static char fw_type[LIO_MAX_FW_TYPE_LEN] = LIO_FW_NAME_TYPE_AUTO; variable
65 module_param_string(fw_type, fw_type, sizeof(fw_type), 0444);
66 MODULE_PARM_DESC(fw_type, "Type of firmware to be loaded (default is \"auto\"), which uses firmware…
972 return strncmp(fw_type, LIO_FW_NAME_TYPE_AUTO, in fw_type_is_auto()
1761 strncpy(fw_type, tmp_fw_type, sizeof(fw_type)); in load_firmware()
1763 tmp_fw_type = fw_type; in load_firmware()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dmain.c744 enum wl12xx_fw_type fw_type; in wl12xx_fetch_firmware() local
748 fw_type = WL12XX_FW_TYPE_PLT; in wl12xx_fetch_firmware()
756 fw_type = WL12XX_FW_TYPE_MULTI; in wl12xx_fetch_firmware()
759 fw_type = WL12XX_FW_TYPE_NORMAL; in wl12xx_fetch_firmware()
764 if (wl->fw_type == fw_type) in wl12xx_fetch_firmware()
784 wl->fw_type = WL12XX_FW_TYPE_NONE; in wl12xx_fetch_firmware()
796 wl->fw_type = fw_type; in wl12xx_fetch_firmware()
2402 enum wl12xx_fw_type current_fw = wl->fw_type; in wl12xx_need_fw_change()
6439 wl->fw_type = WL12XX_FW_TYPE_NONE; in wlcore_alloc_hw()
6527 wl->fw_type = WL12XX_FW_TYPE_NONE; in wlcore_free_hw()
Dboot.c86 unsigned int *min_ver = (wl->fw_type == WL12XX_FW_TYPE_MULTI) ? in wlcore_validate_fw_ver()
Dwlcore.h208 enum wl12xx_fw_type fw_type; member
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_nx.c1598 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_bootld_offset()
1613 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_fw_size()
1629 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_fw_offs()
1876 qla82xx_validate_firmware_blob(scsi_qla_host_t *vha, uint8_t fw_type) in qla82xx_validate_firmware_blob() argument
1883 ha->fw_type = fw_type; in qla82xx_validate_firmware_blob()
1885 if (fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_validate_firmware_blob()
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Ddebug.c113 cw1200_fw_types[priv->wsm_caps.fw_type], in cw1200_status_show()
Dwsm.c822 priv->wsm_caps.fw_type = WSM_GET16(buf); in wsm_startup_indication()
832 if (WARN_ON(priv->wsm_caps.fw_type > 4)) in wsm_startup_indication()
843 cw1200_fw_types[priv->wsm_caps.fw_type], in wsm_startup_indication()
/Linux-v4.19/include/uapi/drm/
Damdgpu_drm.h729 __u32 fw_type; member
/Linux-v4.19/drivers/net/wireless/atmel/
Datmel.c87 AtmelFWType fw_type; member
1497 const AtmelFWType fw_type, in init_atmel_card() argument
1521 priv->firmware_type = fw_type; in init_atmel_card()
3907 while (fw_table[fw_index].fw_type != priv->firmware_type in reset_atmel_card()
3908 && fw_table[fw_index].fw_type != ATMEL_FW_TYPE_NONE) in reset_atmel_card()
3912 if (fw_table[fw_index].fw_type != ATMEL_FW_TYPE_NONE) { in reset_atmel_card()

12