Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/riscv/include/asm/
A 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; })
A Dcsr.h350 : "=r" (__v) : "rK" (__v) \
352 __v; \
359 : "=r" (__v) : \
361 __v; \
368 : : "rK" (__v) \
376 : "=r" (__v) : "rK" (__v) \
378 __v; \
385 : : "rK" (__v) \
393 : "=r" (__v) : "rK" (__v) \
395 __v; \
[all …]
/linux-6.3-rc2/arch/m68k/include/asm/
A 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 …]
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-6.3-rc2/arch/arm64/include/asm/
A 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.3-rc2/arch/arm/include/asm/
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; })
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.3-rc2/arch/csky/include/asm/
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-6.3-rc2/drivers/usb/host/
A Disp1362.h723 u16 __v; \
729 __v; \
739 __v; \
759 u16 __v; \
761 if ((__v | m) != __v) \
766 u16 __v; \
768 if ((__v & ~m) != __v) \
773 u32 __v; \
775 if ((__v | m) != __v) \
780 u32 __v; \
[all …]
/linux-6.3-rc2/arch/arc/include/asm/
A 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.3-rc2/arch/arm/vfp/
A Dvfpinstr.h68 u32 __v; \
71 : "=r" (__v) : : "cc"); \
72 __v; \
85 u32 __v; \
87 : "=r" (__v) : : "cc"); \
88 __v; \
/linux-6.3-rc2/drivers/gpu/drm/i915/
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-6.3-rc2/arch/sh/include/asm/
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-6.3-rc2/include/linux/
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; \
A Dcompiler.h198 __unqual_scalar_typeof(({ expr; })) __v = ({ \
203 __v; \
/linux-6.3-rc2/drivers/net/ethernet/smsc/
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); \
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.3-rc2/tools/testing/selftests/kvm/include/aarch64/
A Dprocessor.h183 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; })
/linux-6.3-rc2/lib/
A 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.3-rc2/tools/perf/util/
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; \
A Ddata-convert-bt.c1375 #define ADD(__n, __v) \ in ctf_writer__setup_env() argument
1377 if (bt_ctf_writer_add_environment_field(writer, __n, __v)) \ in ctf_writer__setup_env()
1414 #define SET(__n, __v) \ in ctf_writer__setup_clock() argument
1416 if (bt_ctf_clock_set_##__n(clock, __v)) \ in ctf_writer__setup_clock()
/linux-6.3-rc2/drivers/net/ethernet/seeq/
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-6.3-rc2/drivers/net/ethernet/cadence/
A Dmacb.h786 u32 __v; \
788 __v = gem_readl((__bp), __reg); \
790 __v = macb_readl((__bp), __reg); \
791 __v; \
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_ppc.h395 u64 __v; \
397 case 4: __v = (val).wval; break; \
398 case 8: __v = (val).dval; break; \
401 __v; \
/linux-6.3-rc2/drivers/firmware/arm_scmi/
A Dsensors.c102 int __v = (v); \
104 if (__v & SENSOR_SCALE_SIGN) \
105 __v |= SENSOR_SCALE_EXTEND; \
106 __v; \
/linux-6.3-rc2/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c1752 struct iovec __v; \
1754 __v.iov_base = &__nr; \
1755 __v.iov_len = sizeof(__nr); \
1757 NT_ARM_SYSTEM_CALL, &__v)); \
1922 struct iovec __v; \
1923 __v.iov_base = &(_regs); \
1924 __v.iov_len = sizeof(_regs); \
1925 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \
1928 struct iovec __v; \
1929 __v.iov_base = &(_regs); \
[all …]
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/
A 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))

Completed in 72 milliseconds

12