Home
last modified time | relevance | path

Searched refs:__val (Results 1 – 24 of 24) sorted by relevance

/arch/mips/include/asm/
Dio.h234 type __val; \
243 __val = pfx##ioswab##bwlq(__mem, val); \
246 *__mem = __val; \
263 : "0" (__val), "m" (*__mem)); \
273 type __val; \
281 __val = *__mem; \
294 : "=r" (__val) \
299 __val = 0; \
306 return pfx##ioswab##bwlq(__mem, __val); \
314 type __val; \
[all …]
Dmipsregs.h1554 unsigned long long __val; \
1566 : "=r" (__val)); \
1575 : "=r" (__val)); \
1578 __val; \
/arch/parisc/include/asm/
Dbarrier.h36 union { typeof(*p) __val; char __c[1]; } __u = \
37 { .__val = (__force typeof(*p)) (v) }; \
66 union { typeof(*p) __val; char __c[1]; } __u; \
92 __u.__val; \
Duaccess.h185 #define __put_user_asm64(sr, __val, ptr) do { \ argument
193 : "r"(ptr), "r"(__val), "0"(__pu_err)); \
/arch/arm/include/asm/
Dcputype.h123 unsigned int __val; \
125 : "=r" (__val) \
128 __val; \
138 unsigned int __val; \
140 : "=r" (__val) \
143 __val; \
Duaccess.h485 type __val; \
488 case 1: __get_user_asm_byte(__val, __src, __err, ""); break; \
489 case 2: __get_user_asm_half(__val, __src, __err, ""); break; \
490 case 4: __get_user_asm_word(__val, __src, __err, ""); break; \
492 u32 *__v32 = (u32*)&__val; \
502 put_unaligned(__val, (type *)(dst)); \
504 *(type *)(dst) = __val; /* aligned by caller */ \
514 type __val = IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) \
518 case 1: __put_user_asm_byte(__val, __dst, __err, ""); break; \
519 case 2: __put_user_asm_half(__val, __dst, __err, ""); break; \
[all …]
/arch/arm/include/asm/vdso/
Dcp15.h20 t __val; \
21 asm volatile(r " " c : "=r" (__val)); \
22 __val; \
/arch/mips/include/asm/netlogic/
Dmips-extns.h176 unsigned long long __val; \
188 : "=r" (__val)); \
197 : "=r" (__val)); \
200 __val; \
/arch/arm64/include/asm/
Dbarrier.h110 union { __unqual_scalar_typeof(*p) __val; char __c[1]; } __u = \
111 { .__val = (__force __unqual_scalar_typeof(*p)) (v) }; \
144 union { __unqual_scalar_typeof(*p) __val; char __c[1]; } __u; \
170 (typeof(*p))__u.__val; \
Dpgtable-prot.h75 u64 __val; \
77 __val = PTE_S2_MEMATTR(MT_S2_FWB_ ## attr); \
79 __val = PTE_S2_MEMATTR(MT_S2_ ## attr); \
80 __val; \
Drwonce.h40 union { __unqual_scalar_typeof(*__x) __val; char __c[1]; } __u; \
65 atomic ? (typeof(*__x))__u.__val : (*(volatile typeof(__x))__x);\
Dkvm_hyp.h31 u64 __val = (u64)(v); \
35 : : "rZ" (__val)); \
Dsysreg.h1288 u64 __val; \
1289 asm volatile("mrs %0, " __stringify(r) : "=r" (__val)); \
1290 __val; \
1298 u64 __val = (u64)(v); \
1300 : : "rZ" (__val)); \
1308 u64 __val; \
1309 asm volatile(__mrs_s("%0", r) : "=r" (__val)); \
1310 __val; \
1314 u64 __val = (u64)(v); \
1315 asm volatile(__msr_s(r, "%x0") : : "rZ" (__val)); \
/arch/x86/include/asm/
Dmsr.h111 u64 __val = __rdmsr((msr)); \
112 (void)((val1) = (u32)__val); \
113 (void)((val2) = (u32)(__val >> 32)); \
256 u64 __val = native_read_msr((msr)); \
257 (void)((low) = (u32)__val); \
258 (void)((high) = (u32)(__val >> 32)); \
284 u64 __val = native_read_msr_safe((msr), &__err); \
285 (*low) = (u32)__val; \
286 (*high) = (u32)(__val >> 32); \
Dsegment.h306 unsigned short __val = (value); \
318 : "+r" (__val) : : "memory"); \
/arch/arm64/kvm/hyp/include/nvhe/
Dspinlock.h21 u32 __val; member
32 { .__val = 0 }
/arch/nios2/include/asm/
Duaccess.h108 u64 __val = 0; \
110 if (raw_copy_from_user(&(__val), ptr, sizeof(val))) { \
113 val = (typeof(val))(typeof((val) - (val)))__val; \
/arch/arm64/kvm/hyp/include/hyp/
Dswitch.h224 u64 __val; \
225 __val = read_sysreg_s(SYS_ ## key ## KEYLO_EL1); \
226 ctxt_sys_reg(ctxt, key ## KEYLO_EL1) = __val; \
227 __val = read_sysreg_s(SYS_ ## key ## KEYHI_EL1); \
228 ctxt_sys_reg(ctxt, key ## KEYHI_EL1) = __val; \
/arch/x86/kernel/
Dvm86_32.c419 __u8 __val = val; \
421 if (put_user(__val, base + ptr) < 0) \
427 __u16 __val = val; \
429 if (put_user(val_byte(__val, 1), base + ptr) < 0) \
432 if (put_user(val_byte(__val, 0), base + ptr) < 0) \
438 __u32 __val = val; \
440 if (put_user(val_byte(__val, 3), base + ptr) < 0) \
443 if (put_user(val_byte(__val, 2), base + ptr) < 0) \
446 if (put_user(val_byte(__val, 1), base + ptr) < 0) \
449 if (put_user(val_byte(__val, 0), base + ptr) < 0) \
/arch/m68k/atari/
Dtime.c125 ({ unsigned char __val; \
127 __val = tt_rtc.data; \
128 __val; \
/arch/sh/include/asm/
Dio.h168 type __val; \
171 __val = *__addr; \
174 return __val; \
/arch/riscv/include/asm/
Duaccess.h321 __typeof__(*__gu_ptr) __val = (x); \
327 __put_user_nocheck(__val, __gu_ptr, __pu_err); \
/arch/sparc/kernel/
Dprom_irqtrans.c326 #define schizo_write(__reg, __val) \ argument
329 : "r" (__val), "r" (__reg), \
Diommu.c43 #define iommu_write(__reg, __val) \ argument
46 : "r" (__val), "r" (__reg), \