Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.h159 unsigned long __v = (unsigned long)(val); \
161 : "=r" (__v) : "rK" (__v) \
163 __v; \
168 register unsigned long __v; \
170 : "=r" (__v) : \
172 __v; \
177 unsigned long __v = (unsigned long)(val); \
179 : : "rK" (__v) \
185 unsigned long __v = (unsigned long)(val); \
187 : "=r" (__v) : "rK" (__v) \
[all …]
Dio.h55 #define inb(c) ({ u8 __v; __io_pbr(); __v = readb_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v);
56 #define inw(c) ({ u16 __v; __io_pbr(); __v = readw_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v);
57 #define inl(c) ({ u32 __v; __io_pbr(); __v = readl_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v);
64 #define inq(c) ({ u64 __v; __io_pbr(); __v = readq_cpu((void*)(c)); __io_par(__v); __v; })
/kernel/linux/linux-5.10/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; })
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dio.h135 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(__v); __v; })
136 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(__v); __v; })
137 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; })
138 #define readq(c) ({ u64 __v = readq_relaxed(c); __iormb(__v); __v; })
186 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(__v); __…
187 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(__v); __…
188 #define ioread64be(p) ({ __u64 __v = be64_to_cpu((__force __be64)__raw_readq(p)); __iormb(__v); __…
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dio.h63 #define readb_relaxed(c) ({ u8 __v = __raw_readb(c); __v; })
64 #define readw_relaxed(c) ({ u16 __v = le16_to_cpu((__force __le16)__raw_readw(c)); __v; })
65 #define readl_relaxed(c) ({ u32 __v = le32_to_cpu((__force __le32)__raw_readl(c)); __v; })
74 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
75 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; })
76 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; })
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dio.h22 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; })
23 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; })
24 #define readl(c) ({ u32 __v = readl_relaxed(c); rmb(); __v; })
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/
Dcore_feature_base.h287 register rv_csr_t __v = (unsigned long)(val); \
289 : "=r"(__v) \
290 : "rK"(__v) \
292 __v; \
305 register rv_csr_t __v; \
307 : "=r"(__v) \
310 __v; \
323 register rv_csr_t __v = (rv_csr_t)(val); \
326 : "rK"(__v) \
342 register rv_csr_t __v = (rv_csr_t)(val); \
[all …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dio.h258 #define inb(p) ({ __u8 __v = __raw_readb(__io(p)); __iormb(); __v; })
259 #define inw(p) ({ __u16 __v = le16_to_cpu((__force __le16) \
260 __raw_readw(__io(p))); __iormb(); __v; })
261 #define inl(p) ({ __u32 __v = le32_to_cpu((__force __le32) \
262 __raw_readl(__io(p))); __iormb(); __v; })
301 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
302 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; })
303 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; })
407 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; …
408 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; …
/kernel/linux/linux-5.10/arch/arm/vfp/
Dvfpinstr.h68 u32 __v; \
71 : "=r" (__v) : : "cc"); \
72 __v; \
85 u32 __v; \
87 : "=r" (__v) : : "cc"); \
88 __v; \
/kernel/linux/linux-5.10/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; })
/kernel/linux/linux-5.10/drivers/usb/host/
Disp1362.h724 u16 __v; \
727 __v = isp1362_read_data16(d); \
728 RDBG("%s: Read %04x from %s[%02x]\n", __func__, __v, #r, \
730 __v; \
734 u32 __v; \
737 __v = isp1362_read_data32(d); \
738 RDBG("%s: Read %08x from %s[%02x]\n", __func__, __v, #r, \
740 __v; \
760 u16 __v; \
761 __v = isp1362_read_reg16(d, r); \
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_utils.h161 unsigned long __v = (unsigned long)(ptr); \
162 (typeof(ptr))(__v & -BIT(n)); \
168 unsigned long __v = (unsigned long)(ptr); \
169 *(bits) = __v & (BIT(n) - 1); \
170 (typeof(ptr))(__v & -BIT(n)); \
180 unsigned long __v = (unsigned long)(ptr); \
181 (typeof(ptr))(__v - 1); \
185 unsigned long __v = (unsigned long)(ptr); \
186 (typeof(ptr))(__v + 1); \
/kernel/linux/linux-5.10/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); \
1010 unsigned int __v; \
1011 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \
1012 addr[0] = __v; addr[1] = __v >> 8; \
1013 __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \
1014 addr[2] = __v; addr[3] = __v >> 8; \
1015 __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \
1016 addr[4] = __v; addr[5] = __v >> 8; \
/kernel/linux/linux-5.10/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; })
/kernel/linux/linux-5.10/include/linux/
Dregset.h54 typeof(v) __v = (v); \
55 size_t __size = sizeof(__v); \
58 memcpy(__s->p, &__v, __size); \
60 *(typeof(__v + 0) *)__s->p = __v; \
Dcompiler.h208 __unqual_scalar_typeof(({ expr; })) __v = ({ \
213 __v; \
/kernel/linux/linux-5.10/lib/
Diov_iter.c18 #define iterate_iovec(i, n, __v, __p, skip, STEP) { \ argument
22 __v.iov_len = min(n, __p->iov_len - skip); \
23 if (likely(__v.iov_len)) { \
24 __v.iov_base = __p->iov_base + skip; \
26 __v.iov_len -= left; \
27 skip += __v.iov_len; \
28 n -= __v.iov_len; \
34 __v.iov_len = min(n, __p->iov_len); \
35 if (unlikely(!__v.iov_len)) \
37 __v.iov_base = __p->iov_base; \
[all …]
Dbootconfig.c465 static int __init __xbc_parse_value(char **__v, char **__n) in __xbc_parse_value() argument
467 char *p, *v = *__v; in __xbc_parse_value()
509 *__v = v; in __xbc_parse_value()
514 static int __init xbc_parse_array(char **__v) in xbc_parse_array() argument
521 c = __xbc_parse_value(__v, &next); in xbc_parse_array()
525 node = xbc_add_sibling(*__v, XBC_VALUE); in xbc_parse_array()
528 *__v = next; in xbc_parse_array()
/kernel/linux/linux-5.10/tools/perf/util/
Dunwind-libunwind-local.c103 type __v; \
106 __v = *__p++; \
108 __v; \
164 u64 __v; \
165 if (__dw_read_encoded_value(&ptr, end, &__v, enc)) { \
168 __v; \
/kernel/linux/linux-5.10/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; })
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/
Dmacb.h725 u32 __v; \
727 __v = gem_readl((__bp), __reg); \
729 __v = macb_readl((__bp), __reg); \
730 __v; \
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_ppc.h400 u64 __v; \
402 case 4: __v = (val).wval; break; \
403 case 8: __v = (val).dval; break; \
406 __v; \

12