| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ucode.c | 469 struct amdgpu_firmware_info *ucode, in amdgpu_ucode_init_single_fw() argument 478 if (NULL == ucode->fw) in amdgpu_ucode_init_single_fw() 481 ucode->mc_addr = mc_addr; in amdgpu_ucode_init_single_fw() 482 ucode->kaddr = kptr; in amdgpu_ucode_init_single_fw() 484 if (ucode->ucode_id == AMDGPU_UCODE_ID_STORAGE) in amdgpu_ucode_init_single_fw() 487 header = (const struct common_firmware_header *)ucode->fw->data; in amdgpu_ucode_init_single_fw() 488 cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw() 489 dmcu_hdr = (const struct dmcu_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw() 490 dmcub_hdr = (const struct dmcub_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw() 491 mes_hdr = (const struct mes_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw() [all …]
|
| H A D | amdgpu_psp.c | 245 struct amdgpu_firmware_info *ucode, in psp_cmd_submit_buf() argument 299 if (ucode) in psp_cmd_submit_buf() 301 ucode->ucode_id); in psp_cmd_submit_buf() 314 if (ucode) { in psp_cmd_submit_buf() 315 ucode->tmr_mc_addr_lo = psp->cmd_buf_mem->resp.fw_addr_lo; in psp_cmd_submit_buf() 316 ucode->tmr_mc_addr_hi = psp->cmd_buf_mem->resp.fw_addr_hi; in psp_cmd_submit_buf() 1697 static int psp_get_fw_type(struct amdgpu_firmware_info *ucode, in psp_get_fw_type() argument 1700 switch (ucode->ucode_id) { in psp_get_fw_type() 1812 struct amdgpu_firmware_info *ucode) in psp_print_fw_hdr() argument 1817 switch (ucode->ucode_id) { in psp_print_fw_hdr() [all …]
|
| H A D | amdgpu_cgs.c | 213 struct amdgpu_firmware_info *ucode; in amdgpu_cgs_get_firmware_info() local 216 ucode = &adev->firmware.ucode[id]; in amdgpu_cgs_get_firmware_info() 217 if (ucode->fw == NULL) in amdgpu_cgs_get_firmware_info() 220 gpu_addr = ucode->mc_addr; in amdgpu_cgs_get_firmware_info() 221 header = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_cgs_get_firmware_info() 230 info->kptr = ucode->kaddr; in amdgpu_cgs_get_firmware_info() 248 struct amdgpu_firmware_info *ucode = NULL; in amdgpu_cgs_get_firmware_info() local 453 ucode = &adev->firmware.ucode[AMDGPU_UCODE_ID_SMC]; in amdgpu_cgs_get_firmware_info() 454 ucode->ucode_id = AMDGPU_UCODE_ID_SMC; in amdgpu_cgs_get_firmware_info() 455 ucode->fw = adev->pm.fw; in amdgpu_cgs_get_firmware_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptpf_ucode.c | 97 static void set_ucode_filename(struct otx_cpt_ucode *ucode, in set_ucode_filename() argument 100 strlcpy(ucode->filename, filename, OTX_CPT_UCODE_NAME_LENGTH); in set_ucode_filename() 188 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].align_dma; in cpt_set_ucode_base() 190 dma_addr = eng_grp->ucode[0].align_dma; in cpt_set_ucode_base() 325 set_ucode_filename(&tar_info->ucode, filename); in process_tar_file() 326 memcpy(tar_info->ucode.ver_str, ucode_hdr->ver_str, in process_tar_file() 328 tar_info->ucode.ver_num = ucode_hdr->ver_num; in process_tar_file() 329 tar_info->ucode.type = ucode_type; in process_tar_file() 330 tar_info->ucode.size = ucode_size; in process_tar_file() 360 if (!is_eng_type(curr->ucode.type, ucode_type)) in get_uc_from_tar_archive() [all …]
|
| 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()
|
| H A D | otx_cptpf_ucode.h | 97 struct otx_cpt_ucode ucode;/* microcode information */ member 115 struct otx_cpt_ucode *ucode; /* ucode used by these engines */ member 141 struct otx_cpt_ucode ucode[OTX_CPT_MAX_ETYPES_PER_GRP]; member 176 int otx_cpt_uc_supports_eng_type(struct otx_cpt_ucode *ucode, int eng_type);
|
| /OK3568_Linux_fs/u-boot/drivers/qe/ |
| H A D | qe.c | 345 const struct qe_microcode *ucode) in qe_upload_microcode() argument 347 const u32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode() 350 if (ucode->major || ucode->minor || ucode->revision) in qe_upload_microcode() 352 (char *)ucode->id, (u16)ucode->major, (u16)ucode->minor, in qe_upload_microcode() 353 (u16)ucode->revision); in qe_upload_microcode() 355 printf("QE: uploading microcode '%s'\n", (char *)ucode->id); in qe_upload_microcode() 358 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode() 361 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode() 482 const struct qe_microcode *ucode = &firmware->microcode[i]; in qe_upload_firmware() local 485 if (ucode->code_offset) in qe_upload_firmware() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/serial/ |
| H A D | serial_efi.c | 76 uint16_t ucode[2]; in serial_efi_putc() local 79 ucode[0] = ch; in serial_efi_putc() 80 ucode[1] = '\0'; in serial_efi_putc() 81 ret = priv->con_out->output_string(priv->con_out, ucode); in serial_efi_putc() 117 uint16_t ucode[2]; in _debug_uart_putc() local 119 ucode[0] = ch; in _debug_uart_putc() 120 ucode[1] = '\0'; in _debug_uart_putc() 121 sys_table->con_out->output_string(sys_table->con_out, ucode); in _debug_uart_putc()
|
| /OK3568_Linux_fs/kernel/drivers/soc/fsl/qe/ |
| H A D | qe.c | 405 const struct qe_microcode *ucode) in qe_upload_microcode() argument 407 const __be32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode() 410 if (ucode->major || ucode->minor || ucode->revision) in qe_upload_microcode() 413 ucode->id, ucode->major, ucode->minor, ucode->revision); in qe_upload_microcode() 416 "uploading microcode '%s'\n", ucode->id); in qe_upload_microcode() 419 qe_iowrite32be(be32_to_cpu(ucode->iram_offset) | QE_IRAM_IADD_AIE | QE_IRAM_IADD_BADDR, in qe_upload_microcode() 422 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode() 534 const struct qe_microcode *ucode = &firmware->microcode[i]; in qe_upload_firmware() local 537 if (ucode->code_offset) in qe_upload_firmware() 538 qe_upload_microcode(firmware, ucode); in qe_upload_firmware() [all …]
|
| /OK3568_Linux_fs/buildroot/package/intel-microcode/ |
| H A D | intel-microcode.mk | 15 mkdir -p $(BINARIES_DIR)/intel-ucode 16 $(INSTALL) -m 0644 -t $(BINARIES_DIR)/intel-ucode \ 17 $(@D)/intel-ucode/* 22 mkdir -p $(TARGET_DIR)/lib/firmware/intel-ucode 23 $(INSTALL) -m 0644 -t $(TARGET_DIR)/lib/firmware/intel-ucode \ 24 $(@D)/intel-ucode/*
|
| /OK3568_Linux_fs/kernel/Documentation/x86/ |
| H A D | microcode.rst | 71 if [ -d /lib/firmware/amd-ucode ]; then 72 cat /lib/firmware/amd-ucode/microcode_amd*.bin > $DSTDIR/AuthenticAMD.bin 75 if [ -d /lib/firmware/intel-ucode ]; then 76 cat /lib/firmware/intel-ucode/* > $DSTDIR/GenuineIntel.bin 79 find . | cpio -o -H newc >../ucode.cpio 82 cat ucode.cpio $INITRD.orig > $INITRD 110 /lib/firmware/{intel-ucode,amd-ucode}. The default distro installation 122 CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09 amd-ucode/microcode_amd_fam15h.bin" 128 |-- amd-ucode 132 |-- intel-ucode
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_main.c | 69 struct ucode { struct 123 struct ucode *ucode; in nitrox_load_fw() local 141 ucode = (struct ucode *)fw->data; in nitrox_load_fw() 143 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw() 150 ucode_data = ucode->code; in nitrox_load_fw() 153 memcpy(&ndev->hw.fw_name[0][0], ucode->version, (VERSION_LEN - 2)); in nitrox_load_fw() 192 ucode = (struct ucode *)fw->data; in nitrox_load_fw() 194 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw() 201 ucode_data = ucode->code; in nitrox_load_fw() 204 memcpy(&ndev->hw.fw_name[1][0], ucode->version, (VERSION_LEN - 2)); in nitrox_load_fw()
|
| /OK3568_Linux_fs/u-boot/tools/binman/test/ |
| H A D | 44_x86_optional_ucode.dts | 11 u-boot-with-ucode-ptr { 12 optional-ucode; 15 u-boot-dtb-with-ucode { 18 u-boot-ucode {
|
| H A D | 37_x86_no_ucode.dts | 11 u-boot-with-ucode-ptr { 14 u-boot-dtb-with-ucode { 17 u-boot-ucode {
|
| H A D | 35_x86_single_ucode.dts | 11 u-boot-with-ucode-ptr { 14 u-boot-dtb-with-ucode { 17 u-boot-ucode {
|
| H A D | 40_x86_ucode_not_in_image.dts | 10 u-boot-with-ucode-ptr { 13 u-boot-dtb-with-ucode { 16 u-boot-ucode {
|
| H A D | 34_x86_ucode.dts | 11 u-boot-with-ucode-ptr { 14 u-boot-dtb-with-ucode { 17 u-boot-ucode {
|
| /OK3568_Linux_fs/u-boot/arch/x86/dts/ |
| H A D | emulation-u-boot.dtsi | 14 u-boot-spl-with-ucode-ptr { 15 optional-ucode; 18 u-boot-with-ucode-ptr { 19 optional-ucode;
|
| H A D | u-boot.dtsi | 27 u-boot-spl-with-ucode-ptr { 32 type = "u-boot-dtb-with-ucode"; 38 u-boot-with-ucode-ptr { 42 u-boot-dtb-with-ucode { 44 u-boot-ucode {
|
| /OK3568_Linux_fs/u-boot/drivers/net/fm/ |
| H A D | fm.c | 76 u32 *ucode, unsigned int size) in fm_upload_ucode() argument 85 out_be32(&imem->idata, (be32_to_cpu(ucode[i]))); in fm_upload_ucode() 89 while ((in_be32(&imem->idata) != be32_to_cpu(ucode[0])) && --timeout) in fm_upload_ucode() 179 const struct qe_microcode *ucode = &firmware->microcode[i]; in fman_upload_firmware() local 182 if (be32_to_cpu(ucode->code_offset)) { in fman_upload_firmware() 186 fm_idx + 1, ucode->major, ucode->minor, in fman_upload_firmware() 187 ucode->revision); in fman_upload_firmware() 189 be32_to_cpu(ucode->code_offset); in fman_upload_firmware() 190 ucode_size = sizeof(u32) * be32_to_cpu(ucode->count); in fman_upload_firmware()
|
| /OK3568_Linux_fs/u-boot/tools/binman/etype/ |
| H A D | u_boot_dtb_with_ucode.py | 48 ucode = dtb.GetNode('/microcode') 49 if not ucode: 54 self.collate = len(ucode.subnodes) > 1 55 for node in ucode.subnodes:
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | hideep.c | 412 const __be32 *ucode, size_t xfer_count) in hideep_program_page() argument 438 val = be32_to_cpu(ucode[0]); in hideep_program_page() 442 ucode, xfer_count); in hideep_program_page() 444 val = be32_to_cpu(ucode[xfer_count - 1]); in hideep_program_page() 461 const __be32 *ucode, size_t ucode_len) in hideep_program_nvm() argument 476 xfer_count = xfer_len / sizeof(*ucode); in hideep_program_nvm() 488 if (memcmp(ucode, current_ucode, xfer_len)) { in hideep_program_nvm() 490 ucode, xfer_count); in hideep_program_nvm() 501 ucode += xfer_count; in hideep_program_nvm() 510 const __be32 *ucode, size_t ucode_len) in hideep_verify_nvm() argument [all …]
|
| /OK3568_Linux_fs/u-boot/lib/efi/ |
| H A D | efi.c | 43 uint16_t ucode[2]; in efi_putc() local 45 ucode[0] = ch; in efi_putc() 46 ucode[1] = '\0'; in efi_putc() 47 con->output_string(con, ucode); in efi_putc()
|
| /OK3568_Linux_fs/u-boot/board/freescale/p2041rdb/ |
| H A D | README | 30 4. Program FMAN Firmware ucode 31 => tftp 1000000 ucode.bin 55 4. Program FMAN Firmware ucode 56 => tftp 1000000 ucode.bin 79 4. Program FMAN Firmware ucode 80 => tftp 1000000 ucode.bin
|