| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | ucode_loader.c | 40 int brcms_ucode_data_init(struct brcms_info *wl, struct brcms_ucode *ucode) in brcms_ucode_data_init() argument 47 brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn0bsinitvals24, in brcms_ucode_data_init() 50 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn0initvals24, in brcms_ucode_data_init() 53 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn1bsinitvals24, in brcms_ucode_data_init() 56 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn1initvals24, in brcms_ucode_data_init() 59 brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn2bsinitvals24, in brcms_ucode_data_init() 62 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn2initvals24, in brcms_ucode_data_init() 65 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11n0absinitvals16, in brcms_ucode_data_init() 68 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11n0bsinitvals16, in brcms_ucode_data_init() 71 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11n0initvals16, in brcms_ucode_data_init() [all …]
|
| H A D | ucode_loader.h | 46 int brcms_ucode_data_init(struct brcms_info *wl, struct brcms_ucode *ucode); 48 void brcms_ucode_data_free(struct brcms_ucode *ucode);
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptpf_ucode.c | 68 if (eng_grp->ucode[1].type) in is_2nd_ucode_used() 74 static void set_ucode_filename(struct otx2_cpt_ucode *ucode, in set_ucode_filename() argument 77 strscpy(ucode->filename, filename, OTX2_CPT_NAME_LENGTH); in set_ucode_filename() 191 dma_addr = engs->ucode->dma; in cptx_set_ucode_base() 395 set_ucode_filename(&uc_info->ucode, filename); in load_fw() 396 memcpy(uc_info->ucode.ver_str, ucode_hdr->ver_str, in load_fw() 398 uc_info->ucode.ver_str[OTX2_CPT_UCODE_VER_STR_SZ] = 0; in load_fw() 399 uc_info->ucode.ver_num = ucode_hdr->ver_num; in load_fw() 400 uc_info->ucode.type = ucode_type; in load_fw() 401 uc_info->ucode.size = ucode_size; in load_fw() [all …]
|
| /linux/Documentation/gpu/nova/core/ |
| H A D | falcon.rst | 6 The following sections describe the Falcon core and the ucode running on it. 18 The code running on the Falcon cores is also called 'ucode', and will be 33 HS ucode is the most trusted code and has access to pretty much everything on 38 (Write Protect Region), has to be done by the HS ucode and cannot be done by the 39 host CPU or LS ucode. 43 These modes are less secure than HS. Like HS, the LS or NS ucode binary also 47 ucode in HS mode on the SEC2 Falcon, which then authenticates and runs the 60 After nova-core driver reads the necessary ucode from VBIOS, it programs the 61 BROM and DMA registers to trigger the Falcon to load the HS ucode from the system 62 memory into the Falcon's IMEM/DMEM. Once the HS ucode is loaded, it is verified [all …]
|
| H A D | fwsec.rst | 15 before loading various ucode images onto other microcontrollers on the GPU, 21 reset and loading them with other non-FWSEC ucode). The kernel driver only needs 26 data required for power management. Once setup, only HS mode ucode can access it 30 various ucode images (also known as applications) -- one of them being FWSEC. For how 33 The Falcon data for each ucode images (including the FWSEC image) is a combination 35 ucode images are stored in the same ROM partition and the PMU table is used to look
|
| H A D | vbios.rst | 14 are the ones that contain Falcon ucode and what we are mainly looking for. 29 of different functions. The FWSEC ucode is run in heavy-secure mode and 34 loads (see devinit.rst). The DEVINIT ucode is itself another ucode that is 42 region is only accessible to heavy-secure ucode. 232 used to find the required Falcon ucode based on an application ID.
|
| /linux/drivers/soc/fsl/qe/ |
| H A D | qe.c | 409 const struct qe_microcode *ucode) in qe_upload_microcode() 411 const __be32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode() 414 if (ucode->major || ucode->minor || ucode->revision) in qe_upload_microcode() 417 ucode->id, ucode->major, ucode->minor, ucode->revision); in qe_upload_microcode() 420 "uploading microcode '%s'\n", ucode in qe_upload_microcode() 406 qe_upload_microcode(const void * base,const struct qe_microcode * ucode) qe_upload_microcode() argument 535 const struct qe_microcode *ucode = &firmware->microcode[i]; qe_upload_firmware() local [all...] |
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cgs.c | 213 struct amdgpu_firmware_info *ucode; in amdgpu_cgs_get_firmware_info() local 219 ucode = &adev->firmware.ucode[id]; in amdgpu_cgs_get_firmware_info() 220 if (ucode->fw == NULL) in amdgpu_cgs_get_firmware_info() 223 gpu_addr = ucode->mc_addr; in amdgpu_cgs_get_firmware_info() 224 header = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_cgs_get_firmware_info() 233 info->kptr = ucode->kaddr; in amdgpu_cgs_get_firmware_info() 251 struct amdgpu_firmware_info *ucode = NULL; in amdgpu_cgs_get_firmware_info() local 367 ucode = &adev->firmware.ucode[AMDGPU_UCODE_ID_SMC]; in amdgpu_cgs_get_firmware_info() 368 ucode->ucode_id = AMDGPU_UCODE_ID_SMC; in amdgpu_cgs_get_firmware_info() 369 ucode->fw = adev->pm.fw; in amdgpu_cgs_get_firmware_info() [all …]
|
| H A D | smu_v13_0_10.c | 144 struct amdgpu_firmware_info *ucode; in smu_v13_0_10_mode2_restore_ip() local 149 ucode = &adev->firmware.ucode[i]; in smu_v13_0_10_mode2_restore_ip() 151 switch (ucode->ucode_id) { in smu_v13_0_10_mode2_restore_ip() 154 ucode_list[ucode_count++] = ucode; in smu_v13_0_10_mode2_restore_ip()
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_main.c | 52 * struct ucode - Firmware Header 59 struct ucode { struct 113 struct ucode *ucode; in nitrox_load_fw() local 131 ucode = (struct ucode *)fw->data; in nitrox_load_fw() 133 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw() 135 dev_err(DEV(ndev), "Invalid ucode size: %u for firmware %s\n", in nitrox_load_fw() 140 ucode_data = ucode->code; in nitrox_load_fw() 143 memcpy(&ndev->hw.fw_name[0][0], ucode in nitrox_load_fw() 70 codeucode write_to_ucd_unit() argument [all...] |
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptpf_mbox.c | 140 struct otx_cpt_ucode *ucode; in otx_cpt_bind_vq_to_grp() local 165 ucode = &eng_grp->g->grp[eng_grp->mirror.idx].ucode[0]; in otx_cpt_bind_vq_to_grp() 167 ucode = &eng_grp->ucode[0]; in otx_cpt_bind_vq_to_grp() 169 if (otx_cpt_uc_supports_eng_type(ucode, OTX_CPT_SE_TYPES)) in otx_cpt_bind_vq_to_grp() 171 else if (otx_cpt_uc_supports_eng_type(ucode, OTX_CPT_AE_TYPES)) in otx_cpt_bind_vq_to_grp()
|
| /linux/Documentation/arch/x86/ |
| H A D | microcode.rst | 72 if [ -d /lib/firmware/amd-ucode ]; then 73 cat /lib/firmware/amd-ucode/microcode_amd*.bin > $DSTDIR/AuthenticAMD.bin 76 if [ -d /lib/firmware/intel-ucode ]; then 77 cat /lib/firmware/intel-ucode/* > $DSTDIR/GenuineIntel.bin 80 find . | cpio -o -H newc >../ucode.cpio 83 cat ucode.cpio $INITRD.orig > $INITRD 104 /lib/firmware/{intel-ucode,amd-ucode}. The default distro installation 220 CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09 amd-ucode/microcode_amd_fam15h.bin" 226 |-- amd-ucode 230 |-- intel-ucode
|
| H A D | tsx_async_abort.rst | 46 ucode needed Mitigation is enabled. CPU is affected and MD_CLEAR is not 71 …0 1 0 HW default No Need ucode update Need ucode up… 86 …0 1 0 HW default No Need ucode update Need ucode up… 101 …0 1 0 HW default No Need ucode update Need ucode up…
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A D | ctxnv40.h | 13 u32 *ucode; member 27 u32 *ctxprog = ctx->ucode; in cp_out() 61 u32 *ctxprog = ctx->ucode; in cp_name()
|
| H A D | gf104.c | 135 .fecs.ucode = &gf100_gr_fecs_ucode, 137 .gpccs.ucode = &gf100_gr_gpccs_ucode,
|
| H A D | gf110.c | 107 .fecs.ucode = &gf100_gr_fecs_ucode, 109 .gpccs.ucode = &gf100_gr_gpccs_ucode,
|
| H A D | gk110b.c | 126 .fecs.ucode = &gk110_gr_fecs_ucode, 128 .gpccs.ucode = &gk110_gr_gpccs_ucode,
|
| H A D | gf108.c | 133 .fecs.ucode = &gf100_gr_fecs_ucode, 135 .gpccs.ucode = &gf100_gr_gpccs_ucode,
|
| H A D | gf119.c | 198 .fecs.ucode = &gf100_gr_fecs_ucode, 200 .gpccs.ucode = &gf100_gr_gpccs_ucode,
|
| H A D | gk208.c | 184 .fecs.ucode = &gk208_gr_fecs_ucode, 186 .gpccs.ucode = &gk208_gr_gpccs_ucode,
|
| H A D | gf117.c | 173 .fecs.ucode = &gf117_gr_fecs_ucode, 175 .gpccs.ucode = &gf117_gr_gpccs_ucode,
|
| H A D | gk110.c | 374 .fecs.ucode = &gk110_gr_fecs_ucode, 376 .gpccs.ucode = &gk110_gr_gpccs_ucode,
|
| /linux/arch/x86/kernel/cpu/microcode/ |
| H A D | amd.c | 590 * This scans the ucode blob for the proper container as we can have multiple 596 static size_t parse_container(u8 *ucode, size_t size, struct cont_desc *desc) in parse_container() 600 u32 *hdr = (u32 *)ucode; in parse_container() 604 if (!verify_equivalence_table(ucode, size)) in parse_container() 607 buf = ucode; in parse_container() 661 * container which has a patch for this CPU so return 0 to mean, @ucode in parse_container() 667 desc->data = ucode; in parse_container() 677 * Scan the ucode blob for the proper container as we can have multiple in scan_containers() argument 680 static void scan_containers(u8 *ucode, size_t size, struct cont_desc *desc) in scan_containers() 683 size_t s = parse_container(ucode, siz in scan_containers() 593 parse_container(u8 * ucode,size_t size,struct cont_desc * desc) parse_container() argument [all...] |
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_devlink.c | 358 devlink_fmsg_u8_pair_put(fmsg, "Cause_id", event->event.ucode.cause_id); in fault_report_show() 359 devlink_fmsg_u8_pair_put(fmsg, "core_id", event->event.ucode.core_id); in fault_report_show() 360 devlink_fmsg_u8_pair_put(fmsg, "c_id", event->event.ucode.c_id); in fault_report_show() 361 devlink_fmsg_u8_pair_put(fmsg, "epc", event->event.ucode.epc); in fault_report_show()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu15/ |
| H A D | smu_v15_0.c | 70 struct amdgpu_firmware_info *ucode = NULL; in smu_v15_0_init_microcode() local 87 ucode = &adev->firmware.ucode[AMDGPU_UCODE_ID_SMC]; in smu_v15_0_init_microcode() 88 ucode->ucode_id = AMDGPU_UCODE_ID_SMC; in smu_v15_0_init_microcode() 89 ucode->fw = adev->pm.fw; in smu_v15_0_init_microcode() 90 header = (const struct common_firmware_header *)ucode->fw->data; in smu_v15_0_init_microcode() 150 struct amdgpu_firmware_info *ucode = NULL; in smu_v15_0_init_pptable_microcode() local 184 ucode = &adev->firmware.ucode[AMDGPU_UCODE_ID_PPTABLE]; in smu_v15_0_init_pptable_microcode() 185 ucode in smu_v15_0_init_pptable_microcode() [all...] |