Home
last modified time | relevance | path

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

/arch/powerpc/xmon/
Dspr_access.S34 spr = 0 define
36 mfspr r3, spr
38 spr = spr + 1 define
42 spr = 0 define
44 mtspr spr, r4
46 spr = spr + 1 define
Dxmon.c1978 extern unsigned long xmon_mfspr(int spr, unsigned long default_value);
1979 extern void xmon_mtspr(int spr, unsigned long value);
2137 static void dump_one_spr(int spr, bool show_unimplemented) in dump_one_spr() argument
2142 if (!read_spr(spr, &val)) { in dump_one_spr()
2143 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2150 if (!read_spr(spr, &val)) { in dump_one_spr()
2151 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2157 printf("SPR 0x%03x (%4d) Unimplemented\n", spr, spr); in dump_one_spr()
2162 printf("SPR 0x%03x (%4d) = 0x%lx\n", spr, spr, val); in dump_one_spr()
2169 int spr; in super_regs() local
[all …]
Dppc-opc.c2852 #define XSPR(op, xop, spr) \ argument
2853 …(X ((op), (xop)) | ((((unsigned long)(spr)) & 0x1f) << 16) | ((((unsigned long)(spr)) & 0x3e0) << …
/arch/powerpc/include/asm/
Dsstep.h121 int spr; member
Dppc-opcode.h567 #define PPC_RAW_MFSPR(d, spr) (0x7c0002a6 | ___PPC_RT(d) | __PPC_SPR(spr)) argument
568 #define PPC_RAW_MTSPR(spr, d) (0x7c0003a6 | ___PPC_RS(d) | __PPC_SPR(spr)) argument
/arch/powerpc/lib/
Dsstep.c1295 unsigned int opcode, ra, rb, rc, rd, spr, u; in analyse_instr() local
1755 spr = ((word >> 16) & 0x1f) | ((word >> 6) & 0x3e0); in analyse_instr()
1758 op->spr = spr; in analyse_instr()
1759 if (spr == SPRN_XER || spr == SPRN_LR || in analyse_instr()
1760 spr == SPRN_CTR) in analyse_instr()
1765 spr = ((word >> 16) & 0x1f) | ((word >> 6) & 0x3e0); in analyse_instr()
1768 op->spr = spr; in analyse_instr()
1769 if (spr == SPRN_XER || spr == SPRN_LR || in analyse_instr()
1770 spr == SPRN_CTR) in analyse_instr()
3212 switch (op->spr) { in emulate_update_regs()
[all …]
/arch/m68k/include/asm/
Damigahw.h181 } spr[8]; member