Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dsmp.c168 u64 lpcr_val; in pnv_cpu_offline_self() local
213 lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; in pnv_cpu_offline_self()
214 pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val); in pnv_cpu_offline_self()
290 lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1; in pnv_cpu_offline_self()
291 pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val); in pnv_cpu_offline_self()
H A Didle.c74 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states() local
88 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states()
1040 void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val) in pnv_program_cpu_hotplug_lpcr() argument
1044 mtspr(SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
1051 opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
/openbmc/linux/arch/powerpc/include/asm/
H A Dpowernv.h12 void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);