/linux/arch/riscv/include/asm/ |
A D | mmio.h | 114 #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 D | csr.h | 257 : "=r" (__v) : "rK" (__v) \ 259 __v; \ 266 : "=r" (__v) : \ 268 __v; \ 275 : : "rK" (__v) \ 283 : "=r" (__v) : "rK" (__v) \ 285 __v; \ 292 : : "rK" (__v) \ 300 : "=r" (__v) : "rK" (__v) \ 302 __v; \ [all …]
|
/linux/arch/m68k/include/asm/ |
A D | raw_io.h | 20 ({ 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 ({u8 __maybe_unused __w, __v = (b); u32 _addr = ((u32) (addr)); \ 86 ({u16 __maybe_unused __w, __v = (w); u32 _addr = ((u32) (addr)); \ [all …]
|
A D | io_no.h | 17 ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) 19 ({ u16 __v = (*(__force volatile u16 *) (addr)); __v; }) 21 ({ u32 __v = (*(__force volatile u32 *) (addr)); __v; })
|
/linux/arch/arm64/include/asm/ |
A D | io.h | 135 #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; }) 177 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(__v); __… 178 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(__v); __… 179 #define ioread64be(p) ({ __u64 __v = be64_to_cpu((__force __be64)__raw_readq(p)); __iormb(__v); __…
|
/linux/arch/nds32/include/asm/ |
A D | io.h | 63 #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; })
|
/linux/arch/arm/include/asm/ |
A D | io.h | 259 #define inb(p) ({ __u8 __v = __raw_readb(__io(p)); __iormb(); __v; }) 260 #define inw(p) ({ __u16 __v = le16_to_cpu((__force __le16) \ 261 __raw_readw(__io(p))); __iormb(); __v; }) 262 #define inl(p) ({ __u32 __v = le32_to_cpu((__force __le32) \ 263 __raw_readl(__io(p))); __iormb(); __v; }) 302 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) 303 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) 304 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) 408 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; … 409 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; …
|
/linux/drivers/usb/host/ |
A D | isp1362.h | 723 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/arch/csky/include/asm/ |
A D | io.h | 21 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; }) 22 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; }) 23 #define readl(c) ({ u32 __v = readl_relaxed(c); rmb(); __v; })
|
/linux/arch/arc/include/asm/ |
A D | io.h | 40 #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/arch/arm/vfp/ |
A D | vfpinstr.h | 68 u32 __v; \ 71 : "=r" (__v) : : "cc"); \ 72 __v; \ 85 u32 __v; \ 87 : "=r" (__v) : : "cc"); \ 88 __v; \
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc911x.h | 824 u32 __v; \ 826 SMC_GET_MII_ACC((lp), __v); \ 831 SMC_GET_MII_ACC( (lp), __v); \ 837 u32 __v; \ 839 SMC_GET_MII_ACC((lp), __v); \ 846 SMC_GET_MII_ACC((lp), __v); \ 873 unsigned int __v; \ 875 SMC_GET_MAC_CSR((lp), ADDRL, __v); \ 876 addr[0] = __v; addr[1] = __v >> 8; \ 877 addr[2] = __v >> 16; addr[3] = __v >> 24; \ [all …]
|
A D | smc91x.h | 80 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; \
|
/linux/arch/sh/include/asm/ |
A D | io.h | 39 #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/drivers/gpu/drm/i915/ |
A D | i915_utils.h | 162 unsigned long __v = (unsigned long)(ptr); \ 163 (typeof(ptr))(__v & -BIT(n)); \ 169 unsigned long __v = (unsigned long)(ptr); \ 170 *(bits) = __v & (BIT(n) - 1); \ 171 (typeof(ptr))(__v & -BIT(n)); \ 181 unsigned long __v = (unsigned long)(ptr); \ 182 (typeof(ptr))(__v - 1); \ 186 unsigned long __v = (unsigned long)(ptr); \ 187 (typeof(ptr))(__v + 1); \
|
/linux/include/linux/ |
A D | regset.h | 66 typeof(v) __v = (v); \ 67 size_t __size = sizeof(__v); \ 70 memcpy(__s->p, &__v, __size); \ 72 *(typeof(__v + 0) *)__s->p = __v; \
|
A D | compiler.h | 216 __unqual_scalar_typeof(({ expr; })) __v = ({ \ 221 __v; \
|
/linux/tools/testing/selftests/kvm/include/aarch64/ |
A D | processor.h | 173 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; })
|
/linux/lib/ |
A D | bootconfig.c | 547 static int __init __xbc_parse_value(char **__v, char **__n) in __xbc_parse_value() argument 549 char *p, *v = *__v; in __xbc_parse_value() 591 *__v = v; in __xbc_parse_value() 596 static int __init xbc_parse_array(char **__v) in xbc_parse_array() argument 606 c = __xbc_parse_value(__v, &next); in xbc_parse_array() 610 node = xbc_add_child(*__v, XBC_VALUE); in xbc_parse_array() 613 *__v = next; in xbc_parse_array()
|
/linux/tools/perf/util/ |
A D | unwind-libunwind-local.c | 103 type __v; \ 106 __v = *__p++; \ 108 __v; \ 164 u64 __v; \ 165 if (__dw_read_encoded_value(&ptr, end, &__v, enc)) { \ 168 __v; \
|
/linux/drivers/net/ethernet/seeq/ |
A D | ether3.c | 111 #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/drivers/net/ethernet/cadence/ |
A D | macb.h | 786 u32 __v; \ 788 __v = gem_readl((__bp), __reg); \ 790 __v = macb_readl((__bp), __reg); \ 791 __v; \
|
/linux/drivers/firmware/arm_scmi/ |
A D | sensors.c | 95 int __v = (v); \ 97 if (__v & SENSOR_SCALE_SIGN) \ 98 __v |= SENSOR_SCALE_EXTEND; \ 99 __v; \
|
/linux/arch/powerpc/include/asm/ |
A D | kvm_ppc.h | 402 u64 __v; \ 404 case 4: __v = (val).wval; break; \ 405 case 8: __v = (val).dval; break; \ 408 __v; \
|
/linux/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 1729 struct iovec __v; \ 1731 __v.iov_base = &__nr; \ 1732 __v.iov_len = sizeof(__nr); \ 1734 NT_ARM_SYSTEM_CALL, &__v)); \ 1891 struct iovec __v; \ 1892 __v.iov_base = &(_regs); \ 1893 __v.iov_len = sizeof(_regs); \ 1894 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \ 1897 struct iovec __v; \ 1898 __v.iov_base = &(_regs); \ [all …]
|