Lines Matching refs:uinfop
223 ucode_match_amd(uint16_t eq_sig, cpu_ucode_info_t *uinfop, in ucode_match_amd() argument
258 if (uh->uh_patch_id <= uinfop->cui_rev && !ucode_force_update) in ucode_match_amd()
269 ucode_copy_amd(cpu_ucode_info_t *uinfop, const ucode_file_amd_t *ucodefp, in ucode_copy_amd() argument
272 ASSERT3P(uinfop->cui_pending_ucode, ==, NULL); in ucode_copy_amd()
275 uinfop->cui_pending_ucode = ucode_zalloc(size); in ucode_copy_amd()
276 if (uinfop->cui_pending_ucode == NULL) in ucode_copy_amd()
279 (void) memcpy(uinfop->cui_pending_ucode, ucodefp, size); in ucode_copy_amd()
280 uinfop->cui_pending_size = size; in ucode_copy_amd()
281 uinfop->cui_pending_rev = ucodefp->uf_header.uh_patch_id; in ucode_copy_amd()
293 ucode_locate_amd(cpu_t *cp, cpu_ucode_info_t *uinfop) in ucode_locate_amd() argument
316 rc = ucode_match_amd(eq_sig, uinfop, amd_ucodef, in ucode_locate_amd()
321 return (ucode_copy_amd(uinfop, amd_ucodef, in ucode_locate_amd()
392 rc = ucode_match_amd(eq_sig, uinfop, amd_ucodef, in ucode_locate_amd()
397 return (ucode_copy_amd(uinfop, amd_ucodef, in ucode_locate_amd()
405 ucode_read_rev_amd(cpu_ucode_info_t *uinfop) in ucode_read_rev_amd() argument
407 uinfop->cui_rev = rdmsr(MSR_AMD_PATCHLEVEL); in ucode_read_rev_amd()
411 ucode_load_amd(cpu_ucode_info_t *uinfop) in ucode_load_amd() argument
413 ucode_file_amd_t *ucodefp = uinfop->cui_pending_ucode; in ucode_load_amd()
417 VERIFY3U(ucodefp->uf_header.uh_patch_id, ==, uinfop->cui_pending_rev); in ucode_load_amd()