Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/kernel/
Dpmc.c83 unsigned long hid0; in power4_enable_pmcs() local
85 hid0 = mfspr(SPRN_HID0); in power4_enable_pmcs()
86 hid0 |= 1UL << (63 - 20); in power4_enable_pmcs()
98 "isync" : "=&r" (hid0) : "i" (SPRN_HID0), "0" (hid0): in power4_enable_pmcs()
Dsysfs.c195 SYSFS_PMCSETUP(hid0, SPRN_HID0);
265 _SYSDEV_ATTR(hid0, 0600, show_hid0, store_hid0),
/linux-2.6.39/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()
/linux-2.6.39/arch/powerpc/platforms/cell/
Dras.c331 unsigned long hid0; in cbe_ras_init() local
337 hid0 = mfspr(SPRN_HID0); in cbe_ras_init()
338 hid0 |= HID0_CBE_THERM_INT_EN | HID0_CBE_THERM_WAKEUP | in cbe_ras_init()
340 mtspr(SPRN_HID0, hid0); in cbe_ras_init()
/linux-2.6.39/arch/powerpc/kvm/
De500_emulate.c109 vcpu_e500->hid0 = spr_val; break; in kvmppc_core_emulate_mtspr()
175 kvmppc_set_gpr(vcpu, rt, vcpu_e500->hid0); break; in kvmppc_core_emulate_mfspr()
/linux-2.6.39/arch/powerpc/include/asm/
Dkvm_e500.h57 u32 hid0; member
/linux-2.6.39/drivers/macintosh/
Dvia-pmu.c1968 unsigned int hid0; in powerbook_sleep_3400() local
1998 hid0 = mfspr(SPRN_HID0); in powerbook_sleep_3400()
1999 hid0 = (hid0 & ~(HID0_NAP | HID0_DOZE)) | HID0_SLEEP; in powerbook_sleep_3400()
2000 mtspr(SPRN_HID0, hid0); in powerbook_sleep_3400()