microcode_header_intel
struct microcode_header_intel hdr;
#define MC_HEADER_SIZE (sizeof(struct microcode_header_intel))
static inline int intel_microcode_get_datasize(struct microcode_header_intel *hdr)
static inline unsigned int get_totalsize(struct microcode_header_intel *hdr)
struct microcode_header_intel *mc_hdr = mc;
struct microcode_header_intel *mc_header = mc;
struct microcode_header_intel *mc_header;
for (; size >= sizeof(struct microcode_header_intel); size -= mc_size, data += mc_size) {
mc_header = (struct microcode_header_intel *)data;
static bool ucode_validate_minrev(struct microcode_header_intel *mc_header)
struct microcode_header_intel mc_header;
#define IFS_HEADER_SIZE (sizeof(struct microcode_header_intel))
static struct microcode_header_intel *ifs_header_ptr; /* pointer to the ifs image header */
static int image_sanity_check(struct device *dev, const struct microcode_header_intel *data)
expected_size = ((struct microcode_header_intel *)fw->data)->totalsize;
ret = image_sanity_check(dev, (struct microcode_header_intel *)fw->data);
ifs_header_ptr = (struct microcode_header_intel *)fw->data;
struct microcode_header_intel *hdr = &((struct microcode_intel *)ucode)->hdr;