Home
last modified time | relevance | path

Searched refs:hid0 (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dsubcore.c162 static void update_hid_in_slw(u64 hid0) in update_hid_in_slw() argument
170 opal_slw_set_reg(cpu_pir, SPRN_HID0, hid0); in update_hid_in_slw()
174 static inline void update_power8_hid0(unsigned long hid0) in update_power8_hid0() argument
181 asm volatile("sync; mtspr %0,%1; isync":: "i"(SPRN_HID0), "r"(hid0)); in update_power8_hid0()
186 u64 hid0, mask; in unsplit_core() local
200 hid0 = mfspr(SPRN_HID0); in unsplit_core()
201 hid0 &= ~HID0_POWER8_DYNLPARDIS; in unsplit_core()
202 update_power8_hid0(hid0); in unsplit_core()
203 update_hid_in_slw(hid0); in unsplit_core()
222 u64 hid0; in split_core() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dsubcore.c160 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()
174 u64 hid0, mask; in unsplit_core() local
188 hid0 = mfspr(SPRN_HID0); in unsplit_core()
189 hid0 &= ~HID0_POWER8_DYNLPARDIS; in unsplit_core()
190 update_power8_hid0(hid0); in unsplit_core()
191 update_hid_in_slw(hid0); in unsplit_core()
210 u64 hid0; in split_core() local
225 hid0 = mfspr(SPRN_HID0); in split_core()
226 hid0 | in split_core()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dpmc.c80 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()
H A Dsysfs.c635 SYSFS_SPRSETUP(hid0, SPRN_HID0);
708 __ATTR(hid0, 0600, show_hid0, store_hid0),
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dpmc.c80 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()
H A Dsysfs.c640 SYSFS_SPRSETUP(hid0, SPRN_HID0);
713 __ATTR(hid0, 0600, show_hid0, store_hid0),
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pm.c116 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()
/kernel/linux/linux-6.6/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pm.c118 u32 msr, hid0; in mpc52xx_pm_enter() local
153 hid0 = mfspr(SPRN_HID0); in mpc52xx_pm_enter()
154 mtspr(SPRN_HID0, (hid0 & ~(HID0_DOZE | HID0_NAP | HID0_DPM)) | HID0_SLEEP); in mpc52xx_pm_enter()
170 mtspr(SPRN_HID0, hid0); in mpc52xx_pm_enter()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
H A Dras.c328 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()
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
H A Dras.c328 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()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A De500mc.c225 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()
H A De500.c372 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()
H A De500_emulate.c257 vcpu_e500->hid0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
385 *spr_val = vcpu_e500->hid0; in kvmppc_core_emulate_mfspr_e500()
H A De500.h78 u32 hid0; member
H A Dbook3s_hv.c3255 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() local
3257 hid0 |= cmd_bit | HID0_POWER8_DYNLPARDIS; in kvmppc_run_core()
3259 mtspr(SPRN_HID0, hid0); in kvmppc_run_core()
3262 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
3263 if (hid0 & stat_bit) in kvmppc_run_core()
3371 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() local
3374 hid0 &= ~HID0_POWER8_DYNLPARDIS; in kvmppc_run_core()
3377 mtspr(SPRN_HID0, hid0); in kvmppc_run_core()
3380 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
3381 if (!(hid0 in kvmppc_run_core()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A De500.c372 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()
H A De500mc.c230 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500mc()
251 vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; in kvmppc_core_set_sregs_e500mc()
H A De500_emulate.c257 vcpu_e500->hid0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
385 *spr_val = vcpu_e500->hid0; in kvmppc_core_emulate_mfspr_e500()
H A De500.h78 u32 hid0; member
H A Dbook3s_hv.c3852 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() local
3854 hid0 |= cmd_bit | HID0_POWER8_DYNLPARDIS; in kvmppc_run_core()
3856 mtspr(SPRN_HID0, hid0); in kvmppc_run_core()
3859 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
3860 if (hid0 & stat_bit) in kvmppc_run_core()
3968 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core() local
3971 hid0 &= ~HID0_POWER8_DYNLPARDIS; in kvmppc_run_core()
3974 mtspr(SPRN_HID0, hid0); in kvmppc_run_core()
3977 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
3978 if (!(hid0 in kvmppc_run_core()
[all...]
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dvia-pmu.c2050 unsigned int hid0; in powerbook_sleep_3400() local
2080 hid0 = mfspr(SPRN_HID0); in powerbook_sleep_3400()
2081 hid0 = (hid0 & ~(HID0_NAP | HID0_DOZE)) | HID0_SLEEP; in powerbook_sleep_3400()
2082 mtspr(SPRN_HID0, hid0); in powerbook_sleep_3400()
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dvia-pmu.c2042 unsigned int hid0; in powerbook_sleep_3400() local
2072 hid0 = mfspr(SPRN_HID0); in powerbook_sleep_3400()
2073 hid0 = (hid0 & ~(HID0_NAP | HID0_DOZE)) | HID0_SLEEP; in powerbook_sleep_3400()
2074 mtspr(SPRN_HID0, hid0); in powerbook_sleep_3400()
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
H A Dkvm.h199 __u32 hid0; member
/kernel/linux/linux-6.6/arch/powerpc/include/uapi/asm/
H A Dkvm.h199 __u32 hid0; member
/kernel/linux/linux-5.10/tools/arch/powerpc/include/uapi/asm/
H A Dkvm.h199 __u32 hid0; member

Completed in 35 milliseconds

12