Lines Matching refs:ucode_ptr
52 struct microcode_intel *ucode_ptr, *new_mc = NULL; in load_microcode_early() local
59 ucode_ptr = saved[i]; in load_microcode_early()
60 mc_hdr = (struct microcode_header_intel *)ucode_ptr; in load_microcode_early()
62 ret = has_newer_microcode(ucode_ptr, in load_microcode_early()
70 new_mc = ucode_ptr; in load_microcode_early()
246 u8 *ucode_ptr, unsigned int num_saved) in _save_mc() argument
252 mc_hdr = (struct microcode_header_intel *)ucode_ptr; in _save_mc()
259 if (!find_matching_signature(ucode_ptr, sig, pf)) in _save_mc()
271 mc_saved[i] = (struct microcode_intel *)ucode_ptr; in _save_mc()
277 mc_saved[num_saved++] = (struct microcode_intel *)ucode_ptr; in _save_mc()
293 u8 *ucode_ptr = data; in get_matching_model_microcode() local
307 mc_header = (struct microcode_header_intel *)ucode_ptr; in get_matching_model_microcode()
311 microcode_sanity_check(ucode_ptr, 0) < 0) in get_matching_model_microcode()
323 ucode_ptr += mc_size; in get_matching_model_microcode()
327 mc_saved_count = _save_mc(mc_saved_tmp, ucode_ptr, mc_saved_count); in get_matching_model_microcode()
329 ucode_ptr += mc_size; in get_matching_model_microcode()
906 u8 *ucode_ptr = data, *new_mc = NULL, *mc = NULL; in generic_load_microcode() local
922 if (get_ucode_data(&mc_header, ucode_ptr, sizeof(mc_header))) in generic_load_microcode()
940 if (get_ucode_data(mc, ucode_ptr, mc_size) || in generic_load_microcode()
954 ucode_ptr += mc_size; in generic_load_microcode()