Home
last modified time | relevance | path

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

12

/linux/arch/riscv/include/asm/
H A Dmmio.h115 #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 Draw_io.h20 ({ 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 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/arch/riscv/kvm/
H A Daia_imsic.c102 #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 Dio.h298 #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 Dkvm_host.h1214 u64 __v = (val); \
1216 __v = kvm_vcpu_apply_reg_masks((v), (r), __v); \
1218 ctxt_sys_reg(ctxt, (r)) = __v; \
1224 u64 __v = ctxt_sys_reg(ctxt, (r)); \
1225 __v op (val); \
1227 __v = kvm_vcpu_apply_reg_masks((v), (r), __v); \
1229 ctxt_sys_reg(ctxt, (r)) = __v; \
1235 u64 __v = ctxt_sys_reg(ctxt, (r)); \
1237 __v = kvm_vcpu_apply_reg_masks((v), (r), __v); \
1238 __v; \
/linux/tools/testing/selftests/kvm/include/loongarch/
H A Dprocessor.h136 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 Dkvm_csr.h16 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 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; \
/linux/tools/testing/selftests/kvm/include/arm64/
H A Dprocessor.h247 #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 Dcompiler.h38 auto __v = (expr); \
39 __v; \
/linux/lib/
H A Dbootconfig.c567 static int __init __xbc_parse_value(char **__v, char **__n) in __xbc_parse_value() argument
569 char *p, *v = *__v; in __xbc_parse_value()
606 *__v = v; in __xbc_parse_value()
611 static int __init xbc_parse_array(char **__v) in xbc_parse_array() argument
622 next = skip_spaces(*__v); in xbc_parse_array()
627 *__v = next; in xbc_parse_array()
628 c = __xbc_parse_value(__v, &next); in xbc_parse_array()
632 node = xbc_add_child(*__v, XBC_VALUE); in xbc_parse_array()
635 *__v = next; in xbc_parse_array()
/linux/drivers/net/ethernet/smsc/
H 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); \
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 Dbpf_atomic.h89 __unqual_typeof(*(p)) __v = READ_ONCE(*(p)); \
93 __v; \
/linux/tools/perf/util/
H A 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; \
H A Ddata-convert-bt.c1409 #define ADD(__n, __v) \ in process_feature_event()
1411 if (__v && bt_ctf_writer_add_environment_field(writer, __n, __v)) \ in process_feature_event()
1523 #define SET(__n, __v) \ in ctf_writer__cleanup_data()
1525 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 Dmmap.c419 register unsigned long __v; \
421 : "=r" (__v) \
423 __v; \
/linux/drivers/net/ethernet/seeq/
H 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/arch/powerpc/include/asm/
H A Dkvm_ppc.h420 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 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))
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1774 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/drivers/dma/
H A Dbcm-sba-raid.c69 #define SBA_C_MDATA_LS(__v) ((__v) & 0xff) argument
70 #define SBA_C_MDATA_MS(__v) (((__v) >> 8) & 0x3) argument
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c55 typeof(val) __v = (val); \
59 sizeof(__v) != ABI_0_ESZ); \
61 KVM_BUG_ON(__sz != sizeof(__v), __k)) \
65 &__v, __sz); \
/linux/tools/perf/
H A Dbuiltin-c2c.c532 #define HEX_STR(__s, __v) \ argument
534 scnprintf(__s, sizeof(__s), "0x%" PRIx64, __v); \
868 #define PERC_STR(__s, __v) \ argument
870 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \
H A Dbuiltin-kvm.c230 #define PERC_STR(__s, __v) \ argument
232 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \

12