Searched refs:__v (Results 1 - 25 of 45) sorted by relevance

12

/linux-master/arch/riscv/include/asm/
H A Dmmio.h115 #define readb_relaxed(c) ({ u8 __v; __io_rbr(); __v = readb_cpu(c); __io_rar(); __v; })
116 #define readw_relaxed(c) ({ u16 __v; __io_rbr(); __v = readw_cpu(c); __io_rar(); __v; })
117 #define readl_relaxed(c) ({ u32 __v; __io_rbr(); __v = readl_cpu(c); __io_rar(); __v; })
124 #define readq_relaxed(c) ({ u64 __v; __io_rb
[all...]
H A Dcsr.h487 unsigned long __v = (unsigned long)(val); \
489 : "=r" (__v) : "rK" (__v) \
491 __v; \
496 register unsigned long __v; \
498 : "=r" (__v) : \
500 __v; \
505 unsigned long __v = (unsigned long)(val); \
507 : : "rK" (__v) \
513 unsigned long __v
[all...]
/linux-master/arch/m68k/include/asm/
H A Draw_io.h20 ({ u8 __v = (*(__force const volatile u8 *) (unsigned long)(addr)); __v; })
22 ({ u16 __v = (*(__force const volatile u16 *) (unsigned long)(addr)); __v; })
24 ({ u32 __v = (*(__force const volatile u32 *) (unsigned long)(addr)); __v; })
26 ({ u16 __v = le16_to_cpu(*(__force const volatile __le16 *) (unsigned long)(addr)); __v; })
28 ({ u32 __v = le32_to_cpu(*(__force const volatile __le32 *) (unsigned long)(addr)); __v; })
[all...]
H A Dio_no.h17 ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; })
19 ({ u16 __v = (*(__force volatile u16 *) (addr)); __v; })
21 ({ u32 __v = (*(__force volatile u32 *) (addr)); __v; })
/linux-master/arch/csky/include/asm/
H A Dio.h20 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; })
21 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; })
22 #define readl(c) ({ u32 __v = readl_relaxed(c); rmb(); __v; })
/linux-master/arch/riscv/kvm/
H A Daia_imsic.c101 #define imsic_vs_csr_swap(__c, __v) \
105 __r = csr_swap(CSR_VSIREG, __v); \
109 #define imsic_swap_switchcase(__ireg, __v) \
111 return imsic_vs_csr_swap(__ireg, __v);
112 #define imsic_swap_switchcase_2(__ireg, __v) \
113 imsic_swap_switchcase(__ireg + 0, __v) \
114 imsic_swap_switchcase(__ireg + 1, __v)
115 #define imsic_swap_switchcase_4(__ireg, __v) \
116 imsic_swap_switchcase_2(__ireg + 0, __v) \
117 imsic_swap_switchcase_2(__ireg + 2, __v)
[all...]
/linux-master/arch/arm64/include/asm/
H A Dio.h158 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(__v); __v; })
159 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(__v); __v; })
160 #define ioread64be(p) ({ __u64 __v = be64_to_cpu((__force __be64)__raw_readq(p)); __iormb(__v); __v; })
/linux-master/arch/arm/vfp/
H A Dvfpinstr.h68 u32 __v; \
71 : "=r" (__v) : : "cc"); \
72 __v; \
85 u32 __v; \
87 : "=r" (__v) : : "cc"); \
88 __v; \
/linux-master/tools/arch/riscv/include/asm/
H A Dcsr.h481 unsigned long __v = (unsigned long)(val); \
483 : "=r" (__v) : "rK" (__v) \
485 __v; \
490 register unsigned long __v; \
492 : "=r" (__v) : \
494 __v; \
499 unsigned long __v = (unsigned long)(val); \
501 : : "rK" (__v) \
507 unsigned long __v
[all...]
/linux-master/arch/arc/include/asm/
H A Dio.h39 #define ioread16be(p) ({ u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; })
40 #define ioread32be(p) ({ u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; })
199 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
200 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; })
201 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; })
[all...]
/linux-master/arch/arm/include/asm/
H A Dio.h241 #define inb(p) ({ __u8 __v = __raw_readb(__io(p)); __iormb(); __v; })
242 #define inw(p) ({ __u16 __v = le16_to_cpu((__force __le16) \
243 __raw_readw(__io(p))); __iormb(); __v; })
244 #define inl(p) ({ __u32 __v = le32_to_cpu((__force __le32) \
245 __raw_readl(__io(p))); __iormb(); __v; })
284 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
285 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; })
[all...]
/linux-master/include/linux/
H A Dregset.h66 typeof(v) __v = (v); \
67 size_t __size = sizeof(__v); \
70 memcpy(__s->p, &__v, __size); \
72 *(typeof(__v + 0) *)__s->p = __v; \
H A Dcompiler.h203 __unqual_scalar_typeof(({ expr; })) __v = ({ \
208 __v; \
/linux-master/drivers/usb/host/
H A Disp1362.h723 u16 __v; \
726 __v = isp1362_read_data16(d); \
727 RDBG("%s: Read %04x from %s[%02x]\n", __func__, __v, #r, \
729 __v; \
733 u32 __v; \
736 __v = isp1362_read_data32(d); \
737 RDBG("%s: Read %08x from %s[%02x]\n", __func__, __v, #r, \
739 __v; \
759 u16 __v; \
760 __v
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_utils.h115 unsigned long __v = (unsigned long)(ptr); \
116 (typeof(ptr))(__v & -BIT(n)); \
122 unsigned long __v = (unsigned long)(ptr); \
123 *(bits) = __v & (BIT(n) - 1); \
124 (typeof(ptr))(__v & -BIT(n)); \
134 unsigned long __v = (unsigned long)(ptr); \
135 (typeof(ptr))(__v - 1); \
139 unsigned long __v = (unsigned long)(ptr); \
140 (typeof(ptr))(__v + 1); \
/linux-master/arch/loongarch/include/asm/
H A Dkvm_csr.h16 register unsigned long __v; \
19 : [val] "=r" (__v) \
22 __v; \
27 register unsigned long __v = v; \
30 : [val] "+r" (__v) \
37 register unsigned long __v = v; \
40 : [val] "+r" (__v) \
43 __v; \
/linux-master/tools/testing/selftests/kvm/include/aarch64/
H A Dprocessor.h184 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; })
/linux-master/arch/sh/include/asm/
H A Dio.h39 #define readb_relaxed(c) ({ u8 __v = ioswabb(__raw_readb(c)); __v; })
40 #define readw_relaxed(c) ({ u16 __v = ioswabw(__raw_readw(c)); __v; })
41 #define readl_relaxed(c) ({ u32 __v = ioswabl(__raw_readl(c)); __v; })
42 #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; })
/linux-master/drivers/net/ethernet/smsc/
H A Dsmc91x.h80 unsigned int __v = v, __smc_r = r; \
82 __SMC_outw(lp, __v, a, __smc_r); \
84 SMC_outw_b(__v, a, __smc_r); \
980 unsigned int __v; \
981 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \
982 addr[0] = __v; addr[1] = __v >> 8; \
983 __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \
984 addr[2] = __v; addr[3] = __v >>
[all...]
/linux-master/tools/perf/util/
H A Dunwind-libunwind-local.c104 type __v; \
107 __v = *__p++; \
109 __v; \
165 u64 __v; \
166 if (__dw_read_encoded_value(&ptr, end, &__v, enc)) { \
169 __v; \
/linux-master/tools/lib/perf/
H A Dmmap.c419 register unsigned long __v; \
421 : "=r" (__v) \
423 __v; \
/linux-master/lib/
H A Dbootconfig.c563 static int __init __xbc_parse_value(char **__v, char **__n) argument
565 char *p, *v = *__v;
607 *__v = v;
612 static int __init xbc_parse_array(char **__v) argument
622 c = __xbc_parse_value(__v, &next);
626 node = xbc_add_child(*__v, XBC_VALUE);
629 *__v = next;
/linux-master/drivers/net/ethernet/seeq/
H A Dether3.c111 #define ether3_inb(r) ({ unsigned int __v = readb((r)); udelay(1); __v; })
112 #define ether3_inw(r) ({ unsigned int __v = readw((r)); udelay(1); __v; })
/linux-master/arch/powerpc/include/asm/
H A Dkvm_ppc.h421 u64 __v; \
423 case 4: __v = (val).wval; break; \
424 case 8: __v = (val).dval; break; \
427 __v; \
/linux-master/drivers/net/ethernet/cadence/
H A Dmacb.h801 u32 __v; \
803 __v = gem_readl((__bp), __reg); \
805 __v = macb_readl((__bp), __reg); \
806 __v; \

Completed in 235 milliseconds

12