Home
last modified time | relevance | path

Searched refs:ccr (Results 1 – 25 of 56) sorted by relevance

123

/arch/powerpc/math-emu/
Dmcrfs.c9 mcrfs(u32 *ccr, u32 crfD, u32 crfS) in mcrfs() argument
14 printk("%s: %p (%08x) %d %d\n", __func__, ccr, *ccr, crfD, crfS); in mcrfs()
24 *ccr &= ~(15 << ((7 - crfD) << 2)); in mcrfs()
25 *ccr |= (value << ((7 - crfD) << 2)); in mcrfs()
28 printk("CR: %08x\n", __func__, *ccr); in mcrfs()
Dfcmpu.c10 fcmpu(u32 *ccr, int crfD, void *frA, void *frB) in fcmpu() argument
19 printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); in fcmpu()
36 *ccr &= ~(15 << ((7 - crfD) << 2)); in fcmpu()
37 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpu()
40 printk("CR: %08x\n", *ccr); in fcmpu()
Dfcmpo.c10 fcmpo(u32 *ccr, int crfD, void *frA, void *frB) in fcmpo() argument
19 printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); in fcmpo()
39 *ccr &= ~(15 << ((7 - crfD) << 2)); in fcmpo()
40 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpo()
43 printk("CR: %08x\n", *ccr); in fcmpo()
/arch/sh/mm/
Dcache-sh2.c61 unsigned long ccr; in __flush_invalidate_region() local
66 ccr = ctrl_inl(CCR); in __flush_invalidate_region()
67 ccr |= CCR_CACHE_INVALIDATE; in __flush_invalidate_region()
68 ctrl_outl(ccr, CCR); in __flush_invalidate_region()
Dcache-debugfs.c31 unsigned long ccr, base; in cache_seq_show() local
40 ccr = ctrl_inl(CCR); in cache_seq_show()
41 if ((ccr & CCR_CACHE_ENABLE) == 0) { in cache_seq_show()
77 if ((ccr & CCR_CACHE_ORA) && cache_type == CACHE_TYPE_DCACHE) in cache_seq_show()
/arch/h8300/include/asm/
Dprocessor.h56 unsigned long ccr; /* saved status register */ member
67 .ccr = PS_S, \
86 (_regs)->ccr = 0x00; /* clear all flags */ \
96 (_regs)->ccr = 0x00; /* clear kernel flag */ \
Dptrace.h31 unsigned short ccr; member
58 #define user_mode(regs) (!((regs)->ccr & PS_S))
Duser.h41 short ccr; member
/arch/powerpc/include/asm/
Dsyscall.h33 return (regs->ccr & 0x1000) ? -regs->gpr[3] : 0; in syscall_get_error()
47 regs->ccr |= 0x1000L; in syscall_set_return_value()
50 regs->ccr &= ~0x1000L; in syscall_set_return_value()
/arch/sh/kernel/cpu/
Dinit.c71 unsigned long ccr, flags; in cache_init() local
74 ccr = ctrl_inl(CCR); in cache_init()
87 if (ccr & CCR_CACHE_ENABLE) { in cache_init()
97 if (ccr & CCR_CACHE_ORA) in cache_init()
105 if (!(ccr & CCR_CACHE_EMODE)) in cache_init()
/arch/h8300/kernel/
Dentry.S85 stc ccr,r0l /* check kernel mode */
92 orc #0x10,ccr /* switch kernel stack */
130 orc #0x80,ccr
145 andc #0xef,ccr /* switch to user mode */
230 andc #0x7f,ccr
265 orc #0x80,ccr
279 orc #0x80,ccr
286 andc #0x7f,ccr
320 andc #0x7f,ccr
324 orc #0x80,ccr
[all …]
Dsignal.c190 unsigned int ccr; in restore_sigcontext() local
203 ccr = regs->ccr & 0x10; in restore_sigcontext()
204 COPY(ccr); in restore_sigcontext()
206 regs->ccr &= 0xef; in restore_sigcontext()
207 regs->ccr |= ccr; in restore_sigcontext()
294 err |= __put_user(regs->ccr, &sc->sc_ccr); in setup_sigcontext()
516 if ((regs->ccr & 0x10)) in do_signal()
Dasm-offsets.c39 DEFINE(THREAD_CCR, offsetof(struct thread_struct, ccr)); in main()
50 DEFINE(LCCR, offsetof(struct pt_regs, ccr) - sizeof(long)); in main()
/arch/h8300/platform/h8300h/aki3068net/
Dcrt0_ram.S38 ldc #0x80,ccr
67 ldc #0x90,ccr /* running kernel */
/arch/h8300/platform/h8300h/h8max/
Dcrt0_ram.S38 ldc #0x80,ccr
67 ldc #0x90,ccr /* running kernel */
/arch/h8300/platform/h8300h/generic/
Dcrt0_ram.S38 ldc #0x80,ccr
67 ldc #0x90,ccr /* running kernel */
Dcrt0_rom.S27 ldc #0x80,ccr
68 ldc #0x90,ccr /* running kernel */
/arch/h8300/platform/h8s/generic/
Dcrt0_ram.S39 ldc #0x80,ccr
71 ldc #0x90,ccr /* running kernel */
Dcrt0_rom.S28 ldc #0x80,ccr
63 ldc #0x90,ccr /* running kernel */
/arch/h8300/platform/h8s/edosk2674/
Dcrt0_ram.S39 ldc #0x80,ccr
74 ldc #0x90,ccr /* running kernel */
/arch/mips/txx9/generic/
Dsetup_tx3927.c82 tx3927_dmaptr->ch[i].ccr = TX3927_DMA_CCR_CHRST; in tx3927_setup()
83 tx3927_dmaptr->ch[i].ccr = 0; in tx3927_setup()
/arch/frv/kernel/
Dbreak.S79 movsg ccr,gr3
296 movgs gr3,ccr
314 movgs gr3,ccr
345 movgs gr3,ccr
349 movsg ccr,gr3
399 movgs gr3,ccr
448 movgs gr3,ccr
/arch/frv/mm/
Dtlb-miss.S78 movgs gr30,ccr
116 movgs gr30,ccr
147 movsg ccr,gr30 /* save CCR */
210 movgs gr30,ccr
339 movgs gr30,ccr
460 movgs gr30,ccr
580 movgs gr30,ccr
/arch/cris/include/arch-v10/arch/
Duser.h29 unsigned long ccr; /* Condition code register (only 16 bits). */ member
/arch/powerpc/kernel/
Dkgdb.c220 PACK32(ptr, regs->ccr); in pt_regs_to_gdb_regs()
263 PACK32(ptr, regs->ccr); in sleeping_thread_to_gdb_regs()
309 UNPACK32(regs->ccr, ptr); in gdb_regs_to_pt_regs()

123