Searched refs:mc_hdr (Results 1 – 4 of 4) sorted by relevance
53 struct microcode_header_intel *mc_hdr = mc; in find_matching_signature() local58 if (intel_cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature()62 if (get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE) in find_matching_signature()65 ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE; in find_matching_signature()81 struct microcode_header_intel *mc_hdr = mc; in has_newer_microcode() local83 if (mc_hdr->rev <= new_rev) in has_newer_microcode()108 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; in save_microcode_patch() local113 mc_hdr = (struct microcode_header_intel *)data; in save_microcode_patch()123 if (mc_hdr->rev <= mc_saved_hdr->rev) in save_microcode_patch()
237 struct microcode_header_amd *mc_hdr; in verify_patch() local273 mc_hdr = (struct microcode_header_amd *)(buf + SECTION_HDR_SIZE); in verify_patch()274 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_patch()276 pr_err("Patch-ID 0x%08x: chipset-specific code unsupported.\n", mc_hdr->patch_id); in verify_patch()280 proc_id = mc_hdr->processor_rev_id; in verify_patch()780 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local803 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()804 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()807 patch->patch_id = mc_hdr->patch_id; in verify_and_add_patch()
55 const struct mc_firmware_header_v1_0 *mc_hdr = in radeon_ucode_print_mc_hdr() local59 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()
55 const struct mc_firmware_header_v1_0 *mc_hdr = in amdgpu_ucode_print_mc_hdr() local59 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()