Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dpmc.c84 unsigned long hid0; in power4_enable_pmcs() local
86 hid0 = mfspr(SPRN_HID0); in power4_enable_pmcs()
87 hid0 |= 1UL << (63 - 20); in power4_enable_pmcs()
99 "isync" : "=&r" (hid0) : "i" (SPRN_HID0), "0" (hid0): in power4_enable_pmcs()
Dsysfs.c565 SYSFS_SPRSETUP(hid0, SPRN_HID0);
635 __ATTR(hid0, 0600, show_hid0, store_hid0),
/arch/powerpc/platforms/powernv/
Dsubcore.c165 u64 hid0, mask; in unsplit_core() local
179 hid0 = mfspr(SPRN_HID0); in unsplit_core()
180 hid0 &= ~HID0_POWER8_DYNLPARDIS; in unsplit_core()
181 mtspr(SPRN_HID0, hid0); in unsplit_core()
200 u64 hid0; in split_core() local
215 hid0 = mfspr(SPRN_HID0); in split_core()
216 hid0 |= HID0_POWER8_DYNLPARDIS | split_parms[i].value; in split_core()
217 mtspr(SPRN_HID0, hid0); in split_core()
/arch/powerpc/platforms/52xx/
Dmpc52xx_pm.c115 u32 msr, hid0; in mpc52xx_pm_enter() local
147 hid0 = mfspr(SPRN_HID0); in mpc52xx_pm_enter()
148 mtspr(SPRN_HID0, (hid0 & ~(HID0_DOZE | HID0_NAP | HID0_DPM)) | HID0_SLEEP); in mpc52xx_pm_enter()
164 mtspr(SPRN_HID0, hid0); in mpc52xx_pm_enter()
/arch/powerpc/platforms/cell/
Dras.c332 unsigned long hid0; in cbe_ras_init() local
338 hid0 = mfspr(SPRN_HID0); in cbe_ras_init()
339 hid0 |= HID0_CBE_THERM_INT_EN | HID0_CBE_THERM_WAKEUP | in cbe_ras_init()
341 mtspr(SPRN_HID0, hid0); in cbe_ras_init()
/arch/powerpc/kvm/
De500mc.c229 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500mc()
250 vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; in kvmppc_core_set_sregs_e500mc()
De500.c383 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500()
405 vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; in kvmppc_core_set_sregs_e500()
De500_emulate.c242 vcpu_e500->hid0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
363 *spr_val = vcpu_e500->hid0; in kvmppc_core_emulate_mfspr_e500()
De500.h81 u32 hid0; member
/arch/powerpc/include/uapi/asm/
Dkvm.h189 __u32 hid0; member