Searched refs:mc_hdr (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/x86/kernel/cpu/microcode/
H A Dintel_lib.c135 struct microcode_header_intel *mc_hdr = mc; find_matching_signature() local
140 if (cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) find_matching_signature()
144 if (get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE) find_matching_signature()
147 ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE; find_matching_signature()
163 struct microcode_header_intel *mc_hdr = mc; has_newer_microcode() local
165 if (mc_hdr->rev <= new_rev) has_newer_microcode()
H A Dintel.c53 struct microcode_header_intel *mc_hdr; load_microcode_early() local
60 mc_hdr = (struct microcode_header_intel *)ucode_ptr; load_microcode_early()
69 new_rev = mc_hdr->rev; load_microcode_early()
197 struct microcode_header_intel *mc_hdr; save_microcode() local
207 mc_hdr = &mc->hdr; save_microcode()
208 size = get_totalsize(mc_hdr); save_microcode()
248 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; _save_mc() local
252 mc_hdr = (struct microcode_header_intel *)ucode_ptr; _save_mc()
264 if (mc_hdr->rev <= mc_saved_hdr->rev) _save_mc()
H A Damd.c756 struct microcode_header_amd *mc_hdr; verify_and_add_patch() local
764 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); verify_and_add_patch()
765 proc_id = mc_hdr->processor_rev_id; verify_and_add_patch()
778 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { verify_and_add_patch()
780 mc_hdr->patch_id); verify_and_add_patch()
786 pr_err("Patch-ID 0x%08x: size mismatch.\n", mc_hdr->patch_id); verify_and_add_patch()
806 patch->patch_id = mc_hdr->patch_id; verify_and_add_patch()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = radeon_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); radeon_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); radeon_ucode_print_mc_hdr()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = amdgpu_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); amdgpu_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); amdgpu_ucode_print_mc_hdr()

Completed in 175 milliseconds