Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/powernv/
Didle.c75 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states() local
92 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states()
461 static void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val) in pnv_program_cpu_hotplug_lpcr() argument
465 mtspr(SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
472 opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
484 u64 lpcr_val; in pnv_cpu_offline() local
496 lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; in pnv_cpu_offline()
497 pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val); in pnv_cpu_offline()
536 lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1; in pnv_cpu_offline()
537 pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val); in pnv_cpu_offline()