Searched refs:hid0 (Results 1 – 11 of 11) sorted by relevance
/arch/powerpc/platforms/powernv/ |
D | subcore.c | 160 static void update_hid_in_slw(u64 hid0) in update_hid_in_slw() argument 168 opal_slw_set_reg(cpu_pir, SPRN_HID0, hid0); in update_hid_in_slw() 172 static inline void update_power8_hid0(unsigned long hid0) in update_power8_hid0() argument 179 asm volatile("sync; mtspr %0,%1; isync":: "i"(SPRN_HID0), "r"(hid0)); in update_power8_hid0() 184 u64 hid0, mask; in unsplit_core() local 198 hid0 = mfspr(SPRN_HID0); in unsplit_core() 199 hid0 &= ~HID0_POWER8_DYNLPARDIS; in unsplit_core() 200 update_power8_hid0(hid0); in unsplit_core() 201 update_hid_in_slw(hid0); in unsplit_core() 220 u64 hid0; in split_core() local [all …]
|
/arch/powerpc/kernel/ |
D | pmc.c | 80 unsigned long hid0; in power4_enable_pmcs() local 82 hid0 = mfspr(SPRN_HID0); in power4_enable_pmcs() 83 hid0 |= 1UL << (63 - 20); in power4_enable_pmcs() 95 "isync" : "=&r" (hid0) : "i" (SPRN_HID0), "0" (hid0): in power4_enable_pmcs()
|
D | sysfs.c | 635 SYSFS_SPRSETUP(hid0, SPRN_HID0); 708 __ATTR(hid0, 0600, show_hid0, store_hid0),
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pm.c | 116 u32 msr, hid0; in mpc52xx_pm_enter() local 151 hid0 = mfspr(SPRN_HID0); in mpc52xx_pm_enter() 152 mtspr(SPRN_HID0, (hid0 & ~(HID0_DOZE | HID0_NAP | HID0_DPM)) | HID0_SLEEP); in mpc52xx_pm_enter() 168 mtspr(SPRN_HID0, hid0); in mpc52xx_pm_enter()
|
/arch/powerpc/platforms/cell/ |
D | ras.c | 328 unsigned long hid0; in cbe_ras_init() local 334 hid0 = mfspr(SPRN_HID0); in cbe_ras_init() 335 hid0 |= HID0_CBE_THERM_INT_EN | HID0_CBE_THERM_WAKEUP | in cbe_ras_init() 337 mtspr(SPRN_HID0, hid0); in cbe_ras_init()
|
/arch/powerpc/kvm/ |
D | e500mc.c | 225 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500mc() 246 vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; in kvmppc_core_set_sregs_e500mc()
|
D | e500.c | 372 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500() 394 vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; in kvmppc_core_set_sregs_e500()
|
D | e500_emulate.c | 257 vcpu_e500->hid0 = spr_val; in kvmppc_core_emulate_mtspr_e500() 385 *spr_val = vcpu_e500->hid0; in kvmppc_core_emulate_mfspr_e500()
|
D | e500.h | 78 u32 hid0; member
|
D | book3s_hv.c | 3594 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() local 3596 hid0 |= cmd_bit | HID0_POWER8_DYNLPARDIS; in kvmppc_run_core() 3598 mtspr(SPRN_HID0, hid0); in kvmppc_run_core() 3601 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() 3602 if (hid0 & stat_bit) in kvmppc_run_core() 3708 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() local 3711 hid0 &= ~HID0_POWER8_DYNLPARDIS; in kvmppc_run_core() 3714 mtspr(SPRN_HID0, hid0); in kvmppc_run_core() 3717 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() 3718 if (!(hid0 & stat_bit)) in kvmppc_run_core()
|
/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 199 __u32 hid0; member
|