| /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 …]
|
| /linux/tools/testing/selftests/kvm/include/loongarch/ |
| H A D | processor.h | 136 register unsigned long __v; \ 139 : "=r" (__v) \ 142 __v; \ 147 register unsigned long __v; \ 150 : [val] "=r" (__v) \ 153 __v; \ 158 register unsigned long __v = v; \ 161 : [val] "+r" (__v) \ 164 __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/virtio/linux/ |
| H A D | compiler.h | 38 auto __v = (expr); \ 39 __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; })
|
| /linux/lib/ |
| H A D | bootconfig.c | 632 static int __init __xbc_parse_value(char **__v, char **__n) in __xbc_parse_value() argument 634 char *p, *v = *__v; in __xbc_parse_value() 671 *__v = v; in __xbc_parse_value() 676 static int __init xbc_parse_array(char **__v) in xbc_parse_array() argument 687 next = skip_spaces(*__v); in xbc_parse_array() 692 *__v = next; in xbc_parse_array() 693 c = __xbc_parse_value(__v, &next); in xbc_parse_array() 697 node = xbc_add_child(*__v, XBC_VALUE); in xbc_parse_array() 700 *__v = next; in xbc_parse_array()
|
| /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/tools/testing/selftests/bpf/ |
| H A D | bpf_atomic.h | |
| /linux/tools/perf/util/ |
| H A D | unwind-libunwind-local.c | |
| H A D | data-convert-bt.c | 1408 #define ADD(__n, __v) \ in process_feature_event() 1410 if (__v && bt_ctf_writer_add_environment_field(writer, __n, __v)) \ in process_feature_event() 1522 #define SET(__n, __v) \ in ctf_writer__cleanup_data() 1524 if (bt_ctf_clock_set_##__n(clock, __v)) \ in ctf_writer__cleanup_data() 1390 ADD(__n,__v) ctf_writer__setup_env() argument 1475 SET(__n,__v) ctf_writer__setup_clock() argument
|
| /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 | 1774 struct iovec __v; \ 1776 __v.iov_base = &__nr; \ 1777 __v.iov_len = sizeof(__nr); \ 1779 NT_ARM_SYSTEM_CALL, &__v)); \ 1944 struct iovec __v; \ 1945 __v.iov_base = &(_regs); \ 1946 __v.iov_len = sizeof(_regs); \ 1947 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \ 1950 struct iovec __v; \ 1951 __v [all...] |
| /linux/tools/perf/ |
| H A D | builtin-c2c.c | 555 #define HEX_STR(__s, __v) \ in dcacheline_entry() 557 scnprintf(__s, sizeof(__s), "0x%" PRIx64, __v); \ 891 #define PERC_STR(__s, __v) \ in percent_costly_snoop_color() 893 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \ in percent_costly_snoop_color() 532 HEX_STR(__s,__v) global() argument 868 PERC_STR(__s,__v) global() argument
|
| H A D | builtin-kvm.c | 231 #define PERC_STR(__s, __v) \ 233 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \ 230 PERC_STR(__s,__v) global() argument
|