| /linux/arch/riscv/include/asm/ |
| H A D | mmio.h | 115 #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_rbr(); __v = readq_cpu(c); __io_rar(); __v; }) 139 #define readb(c) ({ u8 __v; __io_br(); __v = readb_cpu(c); __io_ar(__v); __v; }) 140 #define readw(c) ({ u16 __v; __io_br(); __v = readw_cpu(c); __io_ar(__v); __v; }) 141 #define readl(c) ({ u32 __v; __io_br(); __v = readl_cpu(c); __io_ar(__v); __v; }) 148 #define readq(c) ({ u64 __v; __io_br(); __v = readq_cpu(c); __io_ar(__v); __v; })
|
| /linux/arch/m68k/include/asm/ |
| H A D | raw_io.h | 20 ({ 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; }) 76 ({ u16 __v = (*(__force const volatile u16 *) (addr)); __v >>= 8; __v; }) 78 ({ u16 __v = (*(__force const volatile u16 *) (addr)); __v; }) 80 ({ u16 __v = le16_to_cpu(*(__force const 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 …]
|
| H 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/riscv/kvm/ |
| H A D | aia_imsic.c | 102 #define imsic_vs_csr_swap(__c, __v) \ argument 106 __r = csr_swap(CSR_VSIREG, __v); \ 110 #define imsic_swap_switchcase(__ireg, __v) \ argument 112 return imsic_vs_csr_swap(__ireg, __v); 113 #define imsic_swap_switchcase_2(__ireg, __v) \ argument 114 imsic_swap_switchcase(__ireg + 0, __v) \ 115 imsic_swap_switchcase(__ireg + 1, __v) 116 #define imsic_swap_switchcase_4(__ireg, __v) \ argument 117 imsic_swap_switchcase_2(__ireg + 0, __v) \ 118 imsic_swap_switchcase_2(__ireg + 2, __v) [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | io.h | 298 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(__v); __… 299 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(__v); __… 300 #define ioread64be(p) ({ __u64 __v = be64_to_cpu((__force __be64)__raw_readq(p)); __iormb(__v); __…
|
| H A D | kvm_host.h | 1169 u64 __v = (val); \ 1171 __v = kvm_vcpu_apply_reg_masks((v), (r), __v); \ 1173 ctxt_sys_reg(ctxt, (r)) = __v; \ 1179 u64 __v = ctxt_sys_reg(ctxt, (r)); \ 1180 __v op (val); \ 1182 __v = kvm_vcpu_apply_reg_masks((v), (r), __v); \ 1184 ctxt_sys_reg(ctxt, (r)) = __v; \ 1190 u64 __v = ctxt_sys_reg(ctxt, (r)); \ 1192 __v = kvm_vcpu_apply_reg_masks((v), (r), __v); \ 1193 __v; \
|
| /linux/tools/testing/selftests/kvm/include/loongarch/ |
| H A D | processor.h | 133 register unsigned long __v; \ 136 : [val] "=r" (__v) \ 139 __v; \ 144 register unsigned long __v = v; \ 147 : [val] "+r" (__v) \ 150 __v; \
|
| /linux/arch/loongarch/include/asm/ |
| H A D | kvm_csr.h | 16 register unsigned long __v; \ 19 : [val] "=r" (__v) \ 22 __v; \ 27 register unsigned long __v = v; \ 30 : [val] "+r" (__v) \ 33 __v; \ 38 register unsigned long __v = v; \ 41 : [val] "+r" (__v) \ 44 __v; \
|
| /linux/include/linux/ |
| H 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; \
|
| /linux/tools/testing/selftests/kvm/include/arm64/ |
| H A D | processor.h | 247 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; }) 249 #define readq(c) ({ u64 __v = readq_relaxed(c); __iormb(__v); __v; }) in local_irq_enable()
|
| /linux/tools/virtio/linux/ |
| H A D | compiler.h | 38 auto __v = (expr); \ 39 __v; \
|
| /linux/drivers/net/ethernet/smsc/ |
| H 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); \ 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 >> 8; \ 985 __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \ 986 addr[4] = __v; addr[5] = __v >> 8; \
|
| /linux/lib/ |
| H A D | bootconfig.c | 560 * *@__v must point real value string. (not including spaces before value.) 562 static int __init __xbc_parse_value(char **__v, char **__n) in __xbc_parse_value() 564 char *p, *v = *__v; in __xbc_parse_value() 601 *__v = v; in __xbc_parse_value() 606 static int __init xbc_parse_array(char **__v) in __xbc_parse_value() 617 next = skip_spaces(*__v); in xbc_parse_array() 622 *__v = next; in xbc_parse_array() 623 c = __xbc_parse_value(__v, &next); in xbc_parse_array() 627 node = xbc_add_child(*__v, XBC_VALUE); in xbc_parse_array() 630 *__v in xbc_parse_array() 561 __xbc_parse_value(char ** __v,char ** __n) __xbc_parse_value() argument 610 xbc_parse_array(char ** __v) xbc_parse_array() argument [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_atomic.h | 89 __unqual_typeof(*(p)) __v = READ_ONCE(*(p)); \ 93 __v; \
|
| /linux/tools/perf/util/ |
| H A D | unwind-libunwind-local.c | 104 type __v; \ 107 __v = *__p++; \ 109 __v; \ 165 u64 __v; \ 166 if (__dw_read_encoded_value(&ptr, end, &__v, enc)) { \ 169 __v; \
|
| H A D | data-convert-bt.c | 1390 #define ADD(__n, __v) \ in ctf_writer__setup_env() argument 1392 if (__v && bt_ctf_writer_add_environment_field(writer, __n, __v)) \ in ctf_writer__setup_env() 1475 #define SET(__n, __v) \ in ctf_writer__setup_clock() argument 1477 if (bt_ctf_clock_set_##__n(clock, __v)) \ in ctf_writer__setup_clock()
|
| /linux/tools/lib/perf/ |
| H A D | mmap.c | 419 register unsigned long __v; \ 421 : "=r" (__v) \ 423 __v; \
|
| /linux/drivers/net/ethernet/seeq/ |
| H 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/arch/powerpc/include/asm/ |
| H A D | kvm_ppc.h | 420 u64 __v; \ 422 case 4: __v = (val).wval; break; \ 423 case 8: __v = (val).dval; break; \ 426 __v; \
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_regs.h | 97 #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/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 1768 struct iovec __v; \ 1770 __v.iov_base = &__nr; \ 1771 __v.iov_len = sizeof(__nr); \ 1773 NT_ARM_SYSTEM_CALL, &__v)); \ 1938 struct iovec __v; \ 1939 __v.iov_base = &(_regs); \ 1940 __v.iov_len = sizeof(_regs); \ 1941 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \ 1944 struct iovec __v; \ 1945 __v.iov_base = &(_regs); \ [all …]
|
| /linux/lib/crypto/mpi/ |
| H A D | longlong.h | 1274 UWtype __u = (u), __v = (v); \ 1278 __vl = __ll_lowpart(__v); \ 1279 __vh = __ll_highpart(__v); \
|
| /linux/drivers/dma/ |
| H A D | bcm-sba-raid.c | 69 #define SBA_C_MDATA_LS(__v) ((__v) & 0xff) argument 70 #define SBA_C_MDATA_MS(__v) (((__v) >> 8) & 0x3) argument
|
| /linux/drivers/media/i2c/ |
| H A D | ds90ub960.c | 803 __be16 __v; in ub960_read16() local 811 ret = regmap_bulk_read(priv->regmap, reg, &__v, sizeof(__v)); in ub960_read16() 818 *val = be16_to_cpu(__v); in ub960_read16() 948 __be16 __v; in ub960_rxport_read16() local 960 ret = regmap_bulk_read(priv->regmap, reg, &__v, sizeof(__v)); in ub960_rxport_read16() 967 *val = be16_to_cpu(__v); in ub960_rxport_read16()
|
| /linux/arch/arm64/kvm/vgic/ |
| H A D | vgic-its.c | 55 typeof(val) __v = (val); \ 59 sizeof(__v) != ABI_0_ESZ); \ 61 KVM_BUG_ON(__sz != sizeof(__v), __k)) \ 65 &__v, __sz); \
|