Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/
H A Dintel.c67 struct microcode_header_intel *mc_hdr = mc; in find_matching_signature() local
72 if (cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature()
76 if (get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE) in find_matching_signature()
79 ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE; in find_matching_signature()
95 struct microcode_header_intel *mc_hdr = mc; in has_newer_microcode() local
97 if (mc_hdr->rev <= new_rev) in has_newer_microcode()
122 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; in save_microcode_patch() local
127 mc_hdr in save_microcode_patch()
[all...]
H A Damd.c240 struct microcode_header_amd *mc_hdr; in verify_patch() local
276 mc_hdr = (struct microcode_header_amd *)(buf + SECTION_HDR_SIZE); in verify_patch()
277 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_patch()
279 pr_err("Patch-ID 0x%08x: chipset-specific code unsupported.\n", mc_hdr->patch_id); in verify_patch()
283 proc_id = mc_hdr->processor_rev_id; in verify_patch()
776 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local
799 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()
800 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()
803 patch->patch_id = mc_hdr in verify_and_add_patch()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/microcode/
H A Dintel.c105 struct microcode_header_intel *mc_hdr = mc; in intel_find_matching_signature() local
110 if (intel_cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in intel_find_matching_signature()
114 if (get_totalsize(mc_hdr) <= intel_microcode_get_datasize(mc_hdr) + MC_HEADER_SIZE) in intel_find_matching_signature()
117 ext_hdr = mc + intel_microcode_get_datasize(mc_hdr) + MC_HEADER_SIZE; in intel_find_matching_signature()
248 struct microcode_header_intel *mc_hdr = mc; in has_newer_microcode() local
250 if (mc_hdr->rev <= new_rev) in has_newer_microcode()
275 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; in save_microcode_patch() local
280 mc_hdr in save_microcode_patch()
[all...]
H A Damd.c274 struct microcode_header_amd *mc_hdr; in verify_patch() local
310 mc_hdr = (struct microcode_header_amd *)(buf + SECTION_HDR_SIZE); in verify_patch()
311 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_patch()
313 pr_err("Patch-ID 0x%08x: chipset-specific code unsupported.\n", mc_hdr->patch_id); in verify_patch()
317 proc_id = mc_hdr->processor_rev_id; in verify_patch()
782 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local
805 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()
806 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()
809 patch->patch_id = mc_hdr in verify_and_add_patch()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = in radeon_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in radeon_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in radeon_ucode_print_mc_hdr()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = in radeon_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in radeon_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in radeon_ucode_print_mc_hdr()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = in amdgpu_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = in amdgpu_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr()

Completed in 8 milliseconds