Searched refs:mfspr (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-12-stable/sys/powerpc/aim/
H A Dlocore.S14 mfspr %r3, 0
H A Dmp_cpudep.c152 ccr = mfspr(SPR_L2CR);
160 ccr = mfspr(SPR_L2CR);
174 ccr = mfspr(SPR_L3CR);
186 while (mfspr(SPR_L3CR) & L3CR_L3I)
206 hid = mfspr(SPR_HID0);
224 hid = mfspr(SPR_HID0);
249 bsp_state[0] = mfspr(SPR_HID0);
250 bsp_state[1] = mfspr(SPR_HID1);
251 bsp_state[2] = mfspr(SPR_HID4);
252 bsp_state[3] = mfspr(SPR_HID
[all...]
H A Daim_machdep.c207 scratch = mfspr(SPR_HID5);
562 msscr0 = mfspr(SPR_MSSCR0);
575 mtspr(SPR_LDSTCR, mfspr(SPR_LDSTCR) | 0xFF);
606 cache_reg = mfspr(SPR_L2CR);
612 while (mfspr(SPR_L2CR) & L2CR_L2HWF)
620 while (mfspr(SPR_L2CR) & L2CR_L2I)
625 cache_reg = mfspr(SPR_L3CR);
631 while (mfspr(SPR_L3CR) & L3CR_L3HWF)
639 while (mfspr(SPR_L3CR) & L3CR_L3I)
644 mtspr(SPR_HID0, mfspr(SPR_HID
[all...]
H A Dtrap_subr32.S400 mfspr %r2, SPR_HASH1 /* get first pointer */
403 mfspr %r3, SPR_ICMP /* get first compare value */
418 mfspr %r0, SPR_IMISS /* get the miss address for the tlbli */
419 mfspr %r3, SPR_SRR1 /* get the saved cr0 bits */
431 mfspr %r2, SPR_HASH2 /* get the second pointer */
439 mfspr %r3, SPR_SRR1 /* get srr1 */
445 mfspr %r3, SPR_SRR1 /* get srr1 */
465 mfspr %r2, SPR_HASH1 /* get first pointer */
468 mfspr %r3, SPR_DCMP /* get first compare value */
481 mfspr
[all...]
/freebsd-12-stable/sys/powerpc/booke/
H A Dmachdep_e500.c67 csr = mfspr(SPR_L1CSR0);
73 csr = mfspr(SPR_L1CSR0);
79 csr = mfspr(SPR_L1CSR1);
85 csr = mfspr(SPR_L1CSR1);
99 csr = mfspr(SPR_L2CSR0);
105 csr = mfspr(SPR_L2CSR0);
118 csr = mfspr(SPR_BUCSR);
H A Dmp_cpudep.c59 csr = mfspr(SPR_L1CSR0);
65 csr = mfspr(SPR_L1CSR1);
H A Dlocore.S46 mfspr r, SPR_SPRG8
626 mfspr %r17, SPR_PID0
631 mfspr %r17, SPR_MAS0
635 mfspr %r17, SPR_MAS1
688 mfspr %r5, SPR_MAS1
713 mfspr %r3, SPR_TLB1CFG /* Get number of entries */
721 mfspr %r5, SPR_MAS1
800 mfspr %r3, SPR_L1CSR0
806 1: mfspr %r3, SPR_L1CSR0
813 mfspr
[all...]
H A Dtrap_subr.S127 mfspr %r30, isrr0; \
128 mfspr %r31, isrr1; /* MSR at interrupt time */ \
132 mfspr %r1, sprg_sp; /* Restore SP */ \
150 mfspr %r30, isrr0; \
151 mfspr %r31, isrr1; /* MSR at interrupt time */ \
154 mfspr %r30, SPR_SRR0; \
155 mfspr %r31, SPR_SRR1; /* MSR at interrupt time */ \
159 mfspr %r1, sprg_sp; /* Restore SP */ \
260 mfspr %r31, sprg_sp; /* get saved SP */ \
287 mfspr
[all...]
H A Dbooke_machdep.c275 mtspr(SPR_EPCR, mfspr(SPR_EPCR) | EPCR_ICM);
441 r = mfspr(SPR_DBCR0);
451 r = mfspr(SPR_DBCR0);
H A Dmachdep_ppc4xx.c125 ccr1 = mfspr(SPR_CCR1);
H A Dpmap.c552 tlb0_cfg = mfspr(SPR_TLB0CFG);
564 tlb1_cfg = mfspr(SPR_TLB1CFG);
2760 td->td_pcb->pcb_cpu.booke.dbcr0 = mfspr(SPR_DBCR0);
3893 entry->mas1 = mfspr(SPR_MAS1);
3894 entry->mas2 = mfspr(SPR_MAS2);
3895 entry->mas3 = mfspr(SPR_MAS3);
3902 entry->mas7 = mfspr(SPR_MAS7);
4170 mas1 = mfspr(SPR_MAS1);
4171 mas2 = mfspr(SPR_MAS2);
4172 mas3 = mfspr(SPR_MAS
[all...]
H A Dspe.c88 pcb->pcb_vec.vscr = mfspr(SPR_SPEFSCR);
125 pcb->pcb_vec.vscr = mfspr(SPR_SPEFSCR);
665 spefscr |= (mfspr(SPR_SPEFSCR) & ~SPEFSCR_FINVS);
/freebsd-12-stable/sys/powerpc/include/
H A Dcpufunc.h106 __asm __volatile ("mfspr %0,136" : "=r"(value));
150 *tbup = mfspr(TBR_TBU);
151 *tblp = mfspr(TBR_TBL);
152 } while (*tbup != mfspr(TBR_TBU));
/freebsd-12-stable/sys/dev/hwpmc/
H A Dhwpmc_mpc7xxx.c321 return mfspr(SPR_PMC1);
324 return mfspr(SPR_PMC2);
327 return mfspr(SPR_PMC3);
330 return mfspr(SPR_PMC4);
333 return mfspr(SPR_PMC5);
336 return mfspr(SPR_PMC6);
455 pmc_mmcr = mfspr(SPR_MMCR0);
460 pmc_mmcr = mfspr(SPR_MMCR0);
465 pmc_mmcr = mfspr(SPR_MMCR1);
470 pmc_mmcr = mfspr(SPR_MMCR
[all...]
H A Dhwpmc_ppc970.c279 val = mfspr(SPR_970PMC1);
282 val = mfspr(SPR_970PMC2);
285 val = mfspr(SPR_970PMC3);
288 val = mfspr(SPR_970PMC4);
291 val = mfspr(SPR_970PMC5);
294 val = mfspr(SPR_970PMC6);
297 val = mfspr(SPR_970PMC7);
300 val = mfspr(SPR_970PMC8);
381 pmc_mmcr = mfspr(SPR_970MMCR0);
391 pmc_mmcr = mfspr(SPR_970MMCR
[all...]
/freebsd-12-stable/sys/powerpc/powerpc/
H A Dcpu.c384 *cps = (mfspr(SPR_PMC1) * 1000) + 4999;
404 *cps = (mfspr(SPR_970PMC1) * 1000) + 4999;
450 hid0 = mfspr(SPR_HID0);
541 hid = mfspr(SPR_HID0);
547 if (mfspr(SPR_L2CR) & L2CR_L2E) {
553 if (mfspr(SPR_L3CR) & L3CR_L3E)
555 mfspr(SPR_L3CR) & L3CR_L3SIZ ? '2' : '1');
564 switch (mfspr(SPR_L2CR) & L2CR_L2SIZ) {
575 printf("write-%s", (mfspr(SPR_L2CR) & L2CR_L2WT)
577 if (mfspr(SPR_L2C
[all...]
H A Dclock.c252 tcr = mfspr(SPR_TCR);
282 tcr = mfspr(SPR_TCR);
H A Dswtch32.S116 mfspr %r3,SPR_SPEFSCR
H A Dtrap.c305 fscr = mfspr(SPR_FSCR);
343 mtspr(SPR_DBSR, mfspr(SPR_DBSR));
486 (int)mfspr(SPR_MSSSR0), MSSSR_BITMASK);
494 pa = mfspr(SPR_MCARU);
495 pa = (pa << 32) | (u_register_t)mfspr(SPR_MCAR);
497 (int)mfspr(SPR_MCSR), MCSR_BITMASK);
/freebsd-12-stable/crypto/openssl/crypto/
H A Dppccpuid.pl139 mfspr r3,268
299 mfspr $lasttick,268 # collect 1st tick
308 Loop3: mfspr $tick,268
332 mfspr $lasttick,268 # collect 1st tick
341 mfspr $tick,268 # collect 1st diff
355 mfspr $tick,268
/freebsd-12-stable/sys/powerpc/cpufreq/
H A Ddfs.c177 hid1 = mfspr(SPR_HID1);
209 hid1 = mfspr(SPR_HID1);
H A Dpmcr.c220 pmcr = mfspr(SPR_PMCR);
H A Dpcr.c146 __asm __volatile ("mfspr %0,%1;"
149 (void)mfspr(SPR_SCOMC); /* Complete transcation */
/freebsd-12-stable/sys/powerpc/mpc85xx/
H A Dmpc85xx.c87 ver = SVR_VER(mfspr(SPR_SVR));
233 ver = SVR_VER(mfspr(SPR_SVR));
300 ver = SVR_VER(mfspr(SPR_SVR));
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_ppc64.S102 mfspr r0,256
247 mfspr r0,256

Completed in 117 milliseconds

12