Home
last modified time | relevance | path

Searched refs:SPRN_HID0 (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.15/arch/powerpc/kernel/
Dcpu_setup_ppc970.S76 mfspr r0,SPRN_HID0
90 mfspr r0,SPRN_HID0
97 mtspr SPRN_HID0,r0
98 mfspr r0,SPRN_HID0
99 mfspr r0,SPRN_HID0
100 mfspr r0,SPRN_HID0
101 mfspr r0,SPRN_HID0
102 mfspr r0,SPRN_HID0
103 mfspr r0,SPRN_HID0
119 mfspr r3,SPRN_HID0
[all …]
Dcpu_setup_6xx.S85 mfspr r11,SPRN_HID0
92 mtspr SPRN_HID0,r8 /* enable and invalidate caches */
94 mtspr SPRN_HID0,r11 /* enable caches */
103 mfspr r11,SPRN_HID0
107 mtspr SPRN_HID0,r8 /* flush branch target address cache */
109 mtspr SPRN_HID0,r11
162 mfspr r11,SPRN_HID0
176 mtspr SPRN_HID0,r11
232 mfspr r11,SPRN_HID0
257 mtspr SPRN_HID0,r11
[all …]
Dl2cr_6xx.S116 mfspr r8,SPRN_HID0 /* Save HID0 in r8 */
119 mtspr SPRN_HID0,r4 /* Disable DPM */
432 mfspr r3,SPRN_HID0
434 mtspr SPRN_HID0,r3
447 mfspr r3,SPRN_HID0
451 mtspr SPRN_HID0,r3
453 mtspr SPRN_HID0,r3
Didle_6xx.S31 mfspr r4,SPRN_HID0
33 mtspr SPRN_HID0, r4
120 mfspr r4,SPRN_HID0
130 mtspr SPRN_HID0,r4
164 mfspr r9,SPRN_HID0
Dpmc.c82 hid0 = mfspr(SPRN_HID0); in power4_enable_pmcs()
95 "isync" : "=&r" (hid0) : "i" (SPRN_HID0), "0" (hid0): in power4_enable_pmcs()
Didle_e500.S59 mfspr r4,SPRN_HID0
63 mtspr SPRN_HID0,r4
Dmisc_32.S119 mfspr r5,SPRN_HID0
122 mtspr SPRN_HID0,r5
147 mfspr r5,SPRN_HID0
150 mtspr SPRN_HID0,r5
Dcpu_setup_fsl_booke.S248 mfspr r8,SPRN_HID0
250 mtspr SPRN_HID0,r9
270 mtspr SPRN_HID0,r8
/Linux-v5.15/arch/powerpc/platforms/powermac/
Dcache.S56 mfspr r8,SPRN_HID0 /* Save SPRN_HID0 in r8 */
59 mtspr SPRN_HID0,r4 /* Disable DPM */
85 mfspr r3,SPRN_HID0
87 mtspr SPRN_HID0,r3
93 mtspr SPRN_HID0,r3
95 mtspr SPRN_HID0,r3
167 mfspr r0,SPRN_HID0
169 mtspr SPRN_HID0,r0
175 mfspr r0,SPRN_HID0
177 mtspr SPRN_HID0,r0
[all …]
Dsleep.S224 mfspr r2,SPRN_HID0
229 mtspr SPRN_HID0,r2
258 mfspr r3,SPRN_HID0
261 mtspr SPRN_HID0,r3
/Linux-v5.15/arch/powerpc/sysdev/
D6xx-suspend.S19 mfspr r5, SPRN_HID0
22 mtspr SPRN_HID0, r5
43 mfspr r5, SPRN_HID0
45 mtspr SPRN_HID0, r5
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dsubcore.c168 opal_slw_set_reg(cpu_pir, SPRN_HID0, hid0); in update_hid_in_slw()
179 asm volatile("sync; mtspr %0,%1; isync":: "i"(SPRN_HID0), "r"(hid0)); in update_power8_hid0()
191 while (mfspr(SPRN_HID0) & mask) in unsplit_core()
198 hid0 = mfspr(SPRN_HID0); in unsplit_core()
203 while (mfspr(SPRN_HID0) & mask) in unsplit_core()
235 hid0 = mfspr(SPRN_HID0); in split_core()
241 while (!(mfspr(SPRN_HID0) & split_parms[i].mask)) in split_core()
Dsubcore-asm.S60 1: mfspr r4, SPRN_HID0
Didle.c76 uint64_t hid0_val = mfspr(SPRN_HID0); in pnv_save_sprs_for_deep_states()
112 rc = opal_slw_set_reg(pir, SPRN_HID0, hid0_val); in pnv_save_sprs_for_deep_states()
/Linux-v5.15/arch/powerpc/platforms/52xx/
Dmpc52xx_sleep.S38 mfspr r10, SPRN_HID0
41 mtspr SPRN_HID0, r10
54 mfspr r10, SPRN_HID0
58 mtspr SPRN_HID0, r10
Dlite5200_sleep.S94 mfspr r3, SPRN_HID0
98 mtspr SPRN_HID0, r3
227 mfspr r10, SPRN_HID0
229 mtspr SPRN_HID0, r5 /* invalidate caches */
231 mtspr SPRN_HID0, r10
236 mtspr SPRN_HID0, r10 /* restore (enable caches, DPM) */
Dmpc52xx_pm.c151 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()
/Linux-v5.15/arch/powerpc/platforms/86xx/
Dcommon.c34 temp = mfspr(SPRN_HID0); in mpc86xx_time_init()
36 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
/Linux-v5.15/arch/powerpc/platforms/85xx/
Dmpc85xx_pm_ops.c34 tmp = (mfspr(SPRN_HID0) & ~(HID0_DOZE|HID0_SLEEP)) | HID0_NAP; in mpc85xx_cpu_die()
35 mtspr(SPRN_HID0, tmp); in mpc85xx_cpu_die()
/Linux-v5.15/arch/powerpc/platforms/83xx/
Dsuspend-asm.S69 mfspr r5, SPRN_HID0
277 mfspr r3, SPRN_HID0
279 mtspr SPRN_HID0, r3
344 mfspr r5, SPRN_HID0
347 mtspr SPRN_HID0, r5
397 mtspr SPRN_HID0, r5
/Linux-v5.15/arch/powerpc/platforms/cell/
Dras.c334 hid0 = mfspr(SPRN_HID0); in cbe_ras_init()
337 mtspr(SPRN_HID0, hid0); in cbe_ras_init()
/Linux-v5.15/arch/powerpc/kvm/
De500_emulate.c256 case SPRN_HID0: in kvmppc_core_emulate_mtspr_e500()
384 case SPRN_HID0: in kvmppc_core_emulate_mfspr_e500()
Dbook3s_emulate.c711 case SPRN_HID0: in kvmppc_core_emulate_mtspr_pr()
897 case SPRN_HID0: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv.c3595 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
3599 mtspr(SPRN_HID0, hid0); in kvmppc_run_core()
3602 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
3709 unsigned long hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
3715 mtspr(SPRN_HID0, hid0); in kvmppc_run_core()
3718 hid0 = mfspr(SPRN_HID0); in kvmppc_run_core()
/Linux-v5.15/drivers/macintosh/
Dvia-pmu.c2080 hid0 = mfspr(SPRN_HID0); in powerbook_sleep_3400()
2082 mtspr(SPRN_HID0, hid0); in powerbook_sleep_3400()

12