Home
last modified time | relevance | path

Searched refs:__v (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.1.9/arch/riscv/include/asm/
Dmmio.h114 #define readb_relaxed(c) ({ u8 __v; __io_rbr(); __v = readb_cpu(c); __io_rar(); __v; })
115 #define readw_relaxed(c) ({ u16 __v; __io_rbr(); __v = readw_cpu(c); __io_rar(); __v; })
116 #define readl_relaxed(c) ({ u32 __v; __io_rbr(); __v = readl_cpu(c); __io_rar(); __v; })
123 #define readq_relaxed(c) ({ u64 __v; __io_rbr(); __v = readq_cpu(c); __io_rar(); __v; })
138 #define readb(c) ({ u8 __v; __io_br(); __v = readb_cpu(c); __io_ar(__v); __v; })
139 #define readw(c) ({ u16 __v; __io_br(); __v = readw_cpu(c); __io_ar(__v); __v; })
140 #define readl(c) ({ u32 __v; __io_br(); __v = readl_cpu(c); __io_ar(__v); __v; })
147 #define readq(c) ({ u64 __v; __io_br(); __v = readq_cpu(c); __io_ar(__v); __v; })
Dcsr.h348 unsigned long __v = (unsigned long)(val); \
350 : "=r" (__v) : "rK" (__v) \
352 __v; \
357 register unsigned long __v; \
359 : "=r" (__v) : \
361 __v; \
366 unsigned long __v = (unsigned long)(val); \
368 : : "rK" (__v) \
374 unsigned long __v = (unsigned long)(val); \
376 : "=r" (__v) : "rK" (__v) \
[all …]
/linux-6.1.9/arch/m68k/include/asm/
Draw_io.h20 ({ u8 __v = (*(__force volatile u8 *) (unsigned long)(addr)); __v; })
22 ({ u16 __v = (*(__force volatile u16 *) (unsigned long)(addr)); __v; })
24 ({ u32 __v = (*(__force volatile u32 *) (unsigned long)(addr)); __v; })
26 ({ u16 __v = le16_to_cpu(*(__force volatile __le16 *) (unsigned long)(addr)); __v; })
28 ({ u32 __v = le32_to_cpu(*(__force volatile __le32 *) (unsigned long)(addr)); __v; })
76 ({ u16 __v = (*(__force volatile u16 *) (addr)); __v >>= 8; __v; })
78 ({ u16 __v = (*(__force volatile u16 *) (addr)); __v; })
80 ({ u16 __v = le16_to_cpu(*(__force volatile u16 *) (addr)); __v; })
83 (void)({u8 __maybe_unused __w, __v = (b); u32 _addr = ((u32) (addr)); \
84 __w = ((*(__force volatile u8 *) ((_addr | 0x10000) + (__v<<1)))); })
[all …]
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-6.1.9/arch/arm64/include/asm/
Dio.h155 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(__v); __…
156 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(__v); __…
157 #define ioread64be(p) ({ __u64 __v = be64_to_cpu((__force __be64)__raw_readq(p)); __iormb(__v); __…
/linux-6.1.9/arch/arm/include/asm/
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; })
286 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; })
390 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; …
391 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; …
/linux-6.1.9/arch/csky/include/asm/
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-6.1.9/drivers/usb/host/
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 = isp1362_read_reg16(d, r); \
[all …]
/linux-6.1.9/arch/arm/vfp/
Dvfpinstr.h68 u32 __v; \
71 : "=r" (__v) : : "cc"); \
72 __v; \
85 u32 __v; \
87 : "=r" (__v) : : "cc"); \
88 __v; \
/linux-6.1.9/arch/arc/include/asm/
Dio.h40 #define ioread16be(p) ({ u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; })
41 #define ioread32be(p) ({ u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; })
200 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
201 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; })
202 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; })
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_utils.h119 unsigned long __v = (unsigned long)(ptr); \
120 (typeof(ptr))(__v & -BIT(n)); \
126 unsigned long __v = (unsigned long)(ptr); \
127 *(bits) = __v & (BIT(n) - 1); \
128 (typeof(ptr))(__v & -BIT(n)); \
138 unsigned long __v = (unsigned long)(ptr); \
139 (typeof(ptr))(__v - 1); \
143 unsigned long __v = (unsigned long)(ptr); \
144 (typeof(ptr))(__v + 1); \
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmc911x.h824 u32 __v; \
826 SMC_GET_MII_ACC((lp), __v); \
827 } while ( __v & MII_ACC_MII_BUSY_ ); \
831 SMC_GET_MII_ACC( (lp), __v); \
832 } while ( __v & MII_ACC_MII_BUSY_ ); \
837 u32 __v; \
839 SMC_GET_MII_ACC((lp), __v); \
840 } while ( __v & MII_ACC_MII_BUSY_ ); \
846 SMC_GET_MII_ACC((lp), __v); \
847 } while ( __v & MII_ACC_MII_BUSY_ ); \
[all …]
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); \
999 unsigned int __v; \
1000 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \
1001 addr[0] = __v; addr[1] = __v >> 8; \
1002 __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \
1003 addr[2] = __v; addr[3] = __v >> 8; \
1004 __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \
1005 addr[4] = __v; addr[5] = __v >> 8; \
/linux-6.1.9/arch/sh/include/asm/
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-6.1.9/include/linux/
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; \
Dcompiler.h198 __unqual_scalar_typeof(({ expr; })) __v = ({ \
203 __v; \
/linux-6.1.9/tools/testing/selftests/kvm/include/aarch64/
Dprocessor.h160 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; })
/linux-6.1.9/lib/
Dbootconfig.c560 static int __init __xbc_parse_value(char **__v, char **__n) in __xbc_parse_value() argument
562 char *p, *v = *__v; in __xbc_parse_value()
604 *__v = v; in __xbc_parse_value()
609 static int __init xbc_parse_array(char **__v) in xbc_parse_array() argument
619 c = __xbc_parse_value(__v, &next); in xbc_parse_array()
623 node = xbc_add_child(*__v, XBC_VALUE); in xbc_parse_array()
626 *__v = next; in xbc_parse_array()
/linux-6.1.9/tools/perf/util/
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-6.1.9/drivers/net/ethernet/seeq/
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-6.1.9/drivers/net/ethernet/cadence/
Dmacb.h788 u32 __v; \
790 __v = gem_readl((__bp), __reg); \
792 __v = macb_readl((__bp), __reg); \
793 __v; \
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_ppc.h396 u64 __v; \
398 case 4: __v = (val).wval; break; \
399 case 8: __v = (val).dval; break; \
402 __v; \
/linux-6.1.9/drivers/firmware/arm_scmi/
Dsensors.c102 int __v = (v); \
104 if (__v & SENSOR_SCALE_SIGN) \
105 __v |= SENSOR_SCALE_EXTEND; \
106 __v; \
/linux-6.1.9/drivers/staging/media/sunxi/cedrus/
Dcedrus_regs.h97 #define VE_DEC_MPEG_MP12HDR_F_CODE(__x, __y, __v) \ argument
98 (((unsigned long)(__v) & GENMASK(3, 0)) << VE_DEC_MPEG_MP12HDR_F_CODE_SHIFT(__x, __y))
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1746 struct iovec __v; \
1748 __v.iov_base = &__nr; \
1749 __v.iov_len = sizeof(__nr); \
1751 NT_ARM_SYSTEM_CALL, &__v)); \
1908 struct iovec __v; \
1909 __v.iov_base = &(_regs); \
1910 __v.iov_len = sizeof(_regs); \
1911 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \
1914 struct iovec __v; \
1915 __v.iov_base = &(_regs); \
[all …]

12