Home
last modified time | relevance | path

Searched refs:microcode_header_intel (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Dmicrocode.h28 struct microcode_header_intel { struct
43 struct microcode_header_intel hdr; argument
48 #define MC_HEADER_SIZE (sizeof(struct microcode_header_intel))
52 static inline int intel_microcode_get_datasize(struct microcode_header_intel *hdr) in intel_microcode_get_datasize()
/openbmc/linux/drivers/platform/x86/intel/ifs/
H A Dload.c27 #define IFS_HEADER_SIZE (sizeof(struct microcode_header_intel))
29 static struct microcode_header_intel *ifs_header_ptr; /* pointer to the ifs image header */
59 struct microcode_header_intel *hdr = &((struct microcode_intel *)ucode)->hdr; in find_meta_data()
228 static int image_sanity_check(struct device *dev, const struct microcode_header_intel *data) in image_sanity_check()
278 expected_size = ((struct microcode_header_intel *)fw->data)->totalsize; in ifs_load_firmware()
286 ret = image_sanity_check(dev, (struct microcode_header_intel *)fw->data); in ifs_load_firmware()
290 ifs_header_ptr = (struct microcode_header_intel *)fw->data; in ifs_load_firmware()
/openbmc/linux/arch/x86/kernel/cpu/microcode/
H A Dintel.c105 struct microcode_header_intel *mc_hdr = mc; in intel_find_matching_signature()
146 struct microcode_header_intel *mc_header = mc; in intel_microcode_sanity_check()
248 struct microcode_header_intel *mc_hdr = mc; in has_newer_microcode()
275 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; in save_microcode_patch()
280 mc_hdr = (struct microcode_header_intel *)data; in save_microcode_patch()
340 struct microcode_header_intel *mc_header; in scan_microcode()
345 if (size < sizeof(struct microcode_header_intel)) in scan_microcode()
348 mc_header = (struct microcode_header_intel *)data; in scan_microcode()
378 struct microcode_header_intel *phdr = &patch->hdr; in scan_microcode()
617 struct microcode_header_intel *phdr; in find_patch()
[all …]