Lines Matching refs:uinfop
184 cpu_ucode_info_t *uinfop = CPU->cpu_m.mcpu_ucode_info; in ucode_write() local
196 ucode->us_read_rev(uinfop); in ucode_write()
197 uusp->new_rev = uinfop->cui_rev; in ucode_write()
198 if (uinfop->cui_rev >= uusp->expected_rev) in ucode_write()
216 ucode->us_read_rev(uinfop); in ucode_write()
217 uusp->new_rev = uinfop->cui_rev; in ucode_write()
335 cpu_ucode_info_t *uinfop; in ucode_read_rev() local
342 uinfop = cp->cpu_m.mcpu_ucode_info; in ucode_read_rev()
343 ASSERT3P(uinfop, !=, NULL); in ucode_read_rev()
345 ucode->us_read_rev(uinfop); in ucode_read_rev()
357 cpu_ucode_info_t *uinfop; in ucode_locate() local
379 uinfop = cp->cpu_m.mcpu_ucode_info; in ucode_locate()
380 ASSERT3P(uinfop, !=, NULL); in ucode_locate()
393 if ((ucode->us_locate(cp, uinfop) != EM_OK) || ucode_cleanup_done) { in ucode_locate()
414 cpu_ucode_info_t *uinfop; in ucode_apply() local
421 uinfop = cp->cpu_m.mcpu_ucode_info; in ucode_apply()
422 ASSERT3P(uinfop, !=, NULL); in ucode_apply()
427 if (uinfop->cui_pending_ucode == NULL) in ucode_apply()
433 ucode->us_load(uinfop); in ucode_apply()
445 cpu_ucode_info_t *uinfop; in ucode_finish() local
453 uinfop = cp->cpu_m.mcpu_ucode_info; in ucode_finish()
454 ASSERT3P(uinfop, !=, NULL); in ucode_finish()
459 if (uinfop->cui_pending_ucode == NULL) in ucode_finish()
462 old_rev = uinfop->cui_rev; in ucode_finish()
463 new_rev = uinfop->cui_pending_rev; in ucode_finish()
464 ucode->us_read_rev(uinfop); in ucode_finish()
466 if (uinfop->cui_rev != new_rev) { in ucode_finish()
467 ASSERT3U(uinfop->cui_rev, ==, old_rev); in ucode_finish()
475 ucode_free(uinfop->cui_pending_ucode, uinfop->cui_pending_size); in ucode_finish()
476 uinfop->cui_pending_ucode = NULL; in ucode_finish()
477 uinfop->cui_pending_size = 0; in ucode_finish()
478 uinfop->cui_pending_rev = 0; in ucode_finish()
490 cpu_ucode_info_t *uinfop; in ucode_check_boot() local
503 uinfop = cp->cpu_m.mcpu_ucode_info = &cpu_ucode_info0; in ucode_check_boot()
541 ucode->us_read_rev(uinfop); in ucode_check_boot()
542 if (ucode->us_locate(cp, uinfop) == EM_OK) { in ucode_check_boot()
545 old_rev = uinfop->cui_rev; in ucode_check_boot()
546 new_rev = uinfop->cui_pending_rev; in ucode_check_boot()
547 ucode->us_load(uinfop); in ucode_check_boot()
548 ucode->us_read_rev(uinfop); in ucode_check_boot()
550 if (uinfop->cui_rev != new_rev) { in ucode_check_boot()
551 ASSERT3U(uinfop->cui_rev, ==, old_rev); in ucode_check_boot()
572 uinfop->cui_pending_ucode = NULL; in ucode_check_boot()
573 uinfop->cui_pending_size = 0; in ucode_check_boot()
574 uinfop->cui_pending_rev = 0; in ucode_check_boot()