/libcpu/risc-v/common64/ |
A D | riscv.h | 18 #define __SIZE(bit) (1ULL << (bit)) argument 19 #define __MASK(bit) (__SIZE(bit) - 1ULL) argument 21 #define __UMASK(bit) (~(__MASK(bit))) argument 29 #define __ALIGNUP(value,bit) (((value) + __MASK(bit)) & __UMASK(bit)) argument 30 #define __ALIGNDOWN(value,bit) ((value) & __UMASK(bit)) argument
|
A D | encoding.h | 220 #define set_csr(reg, bit) ({ unsigned long __tmp; \ argument 221 if (__builtin_constant_p(bit) && (unsigned long)(bit) < 32) \ 222 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "i"(bit)); \ 224 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "r"(bit)); \ 227 #define clear_csr(reg, bit) ({ unsigned long __tmp; \ argument 228 if (__builtin_constant_p(bit) && (unsigned long)(bit) < 32) \ 229 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "i"(bit)); \ 231 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "r"(bit)); \
|
/libcpu/risc-v/common/ |
A D | riscv-ops.h | 26 #define set_csr(reg, bit) ({ unsigned long __tmp; \ argument 27 if (__builtin_constant_p(bit) && (unsigned long)(bit) < 32) \ 28 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "i"(bit)); \ 30 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "r"(bit)); \ 33 #define clear_csr(reg, bit) ({ unsigned long __tmp; \ argument 34 if (__builtin_constant_p(bit) && (unsigned long)(bit) < 32) \ 35 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "i"(bit)); \ 37 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "r"(bit)); \
|
/libcpu/arm/am335x/ |
A D | cpu.c | 38 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 45 orr value, value, bit in cache_enable() 50 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 57 bic value, value, bit in cache_disable() 70 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 77 :"r" (bit) \ in cache_enable() 81 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 88 :"r" (bit) \ in cache_disable() 100 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 109 :"r"(bit) \ in cache_enable() [all …]
|
A D | start_iar.s | 17 I_Bit DEFINE 0x80 ; when I bit is set, IRQ is disabled 18 F_Bit DEFINE 0x40 ; when F bit is set, FIQ is disabled
|
A D | cp15_gcc.S | 114 mcr p15, #0, r0, c1, c0, #0 @ clear mmu bit 122 mcr p15, #0, r0, c1, c0, #0 @ set mmu enable bit
|
A D | cp15_iar.s | 121 MCR p15, #0, r0, c1, c0, #0 ; clear mmu bit 129 MCR p15, #0, r0, c1, c0, #0 ; set mmu enable bit
|
A D | start_gcc.S | 19 .equ I_Bit, 0x80 @ when I bit is set, IRQ is disabled 20 .equ F_Bit, 0x40 @ when F bit is set, FIQ is disabled
|
/libcpu/arm/s3c24x0/ |
A D | cpu.c | 32 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 39 :"r" (bit) \ in cache_enable() 43 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 50 :"r" (bit) \ in cache_disable() 68 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 75 orr value, value, bit in cache_enable() 80 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 87 bic value, value, bit in cache_disable()
|
A D | s3c24x0.h | 562 #define ClearPending(bit) {SRCPND = bit;INTPND = bit;INTPND;} argument
|
/libcpu/arm/arm926/ |
A D | cpuport.c | 30 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 37 : "r"(bit) \ in cache_enable() 41 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 48 : "r"(bit) \ in cache_disable() 66 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 73 orr value, value, bit in cache_enable() 78 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 85 bic value, value, bit in cache_disable()
|
/libcpu/arm/dm36x/ |
A D | cpuport.c | 29 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 36 :"r" (bit) \ in cache_enable() 40 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 47 :"r" (bit) \ in cache_disable() 65 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 72 orr value, value, bit in cache_enable() 77 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 84 bic value, value, bit in cache_disable()
|
/libcpu/arm/armv6/ |
A D | cpuport.c | 29 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 36 :"r" (bit) \ in cache_enable() 40 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 47 :"r" (bit) \ in cache_disable() 67 rt_inline void cache_enable(rt_uint32_t bit) in cache_enable() argument 74 orr value, value, bit in cache_enable() 79 rt_inline void cache_disable(rt_uint32_t bit) in cache_disable() argument 86 bic value, value, bit in cache_disable()
|
A D | arm_entry_gcc.S | 101 tst r0, #0x08000000 @ only CDP/CPRT/LDC/STC instruction has bit 27 102 tstne r0, #0x04000000 @ bit 26 set on both ARM and Thumb-2 instruction
|
/libcpu/ppc/ppc405/include/asm/ |
A D | ppc4xx.h | 37 #define PPC_REG_VAL(bit, value) ((value) << ((PPC_REG_BITS - 1) - (bit))) argument
|
/libcpu/arm/lpc214x/ |
A D | context_rvds.S | 20 I_Bit EQU 0x80 ; when I bit is set, IRQ is disabled 21 F_Bit EQU 0x40 ; when F bit is set, FIQ is disabled
|
A D | start_rvds.S | 47 I_Bit EQU 0x80 ; when I bit is set, IRQ is disabled 48 F_Bit EQU 0x40 ; when F bit is set, FIQ is disabled
|
/libcpu/arm/realview-a8-vmm/ |
A D | cp15_gcc.S | 109 mcr p15, #0, r0, c1, c0, #0 @ clear mmu bit 117 mcr p15, #0, r0, c1, c0, #0 @ set mmu enable bit
|
A D | start_gcc.S | 21 .equ I_Bit, 0x80 @ when I bit is set, IRQ is disabled 22 .equ F_Bit, 0x40 @ when F bit is set, FIQ is disabled
|
/libcpu/arm/cortex-a/ |
A D | cp15_gcc.S | 122 mcr p15, #0, r0, c1, c0, #0 @ clear mmu bit 130 mcr p15, #0, r0, c1, c0, #0 @ set mmu enable bit
|
/libcpu/arm/sep4020/ |
A D | start_rvds.S | 43 I_Bit EQU 0x80 ; when I bit is set, IRQ is disabled 44 F_Bit EQU 0x40 ; when F bit is set, FIQ is disabled 193 MSR cpsr_c, R4 ;SYSTEM mode, @32-bit code mode 196 MOV R4, #0XD3 ;chmod to svc modle, CPSR IRQ bit is disable
|
/libcpu/risc-v/rv64/ |
A D | encoding.h | 203 #define set_csr(reg, bit) ({ unsigned long __tmp; \ argument 204 if (__builtin_constant_p(bit) && (unsigned long)(bit) < 32) \ 205 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "i"(bit)); \ 207 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "r"(bit)); \ 210 #define clear_csr(reg, bit) ({ unsigned long __tmp; \ argument 211 if (__builtin_constant_p(bit) && (unsigned long)(bit) < 32) \ 212 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "i"(bit)); \ 214 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "r"(bit)); \
|
/libcpu/ti-dsp/c28x/ |
A D | context.s | 59 #error RTOS bit (0x8000) must not be set in ZERO_LATENCY_INT_MASK 336 ; CSB will return the number of 0's minus 1 above the highest set bit.
|
/libcpu/arm/cortex-r52/ |
A D | cp15_gcc.S | 60 mov r3, r3, lsr #23 @ left align loc bit field 76 clz r5, r4 @ find bit position of way size increment
|
/libcpu/arm/zynqmp-r5/ |
A D | start_gcc.S | 22 .equ I_Bit, 0x80 @ when I bit is set, IRQ is disabled 23 .equ F_Bit, 0x40 @ when F bit is set, FIQ is disabled
|