Home
last modified time | relevance | path

Searched refs:_r (Results 1 – 25 of 75) sorted by relevance

123

/openbmc/qemu/include/hw/xen/interface/io/
H A Dring.h160 #define FRONT_RING_ATTACH(_r, _s, _i, __size) do { \ argument
161 (_r)->req_prod_pvt = (_i); \
162 (_r)->rsp_cons = (_i); \
163 (_r)->nr_ents = __RING_SIZE(_s, __size); \
164 (_r)->sring = (_s); \
167 #define FRONT_RING_INIT(_r, _s, __size) FRONT_RING_ATTACH(_r, _s, 0, __size) argument
174 #define BACK_RING_ATTACH(_r, _s, _i, __size) do { \ argument
175 (_r)->rsp_prod_pvt = (_i); \
176 (_r)->req_cons = (_i); \
177 (_r)->nr_ents = __RING_SIZE(_s, __size); \
[all …]
/openbmc/linux/include/xen/interface/io/
H A Dring.h139 #define FRONT_RING_ATTACH(_r, _s, _i, __size) do { \ argument
140 (_r)->req_prod_pvt = (_i); \
141 (_r)->rsp_cons = (_i); \
142 (_r)->nr_ents = __RING_SIZE(_s, __size); \
143 (_r)->sring = (_s); \
146 #define FRONT_RING_INIT(_r, _s, __size) FRONT_RING_ATTACH(_r, _s, 0, __size) argument
153 #define BACK_RING_ATTACH(_r, _s, _i, __size) do { \ argument
154 (_r)->rsp_prod_pvt = (_i); \
155 (_r)->req_cons = (_i); \
156 (_r)->nr_ents = __RING_SIZE(_s, __size); \
[all …]
/openbmc/linux/arch/microblaze/include/uapi/asm/
H A Delf.h107 #define ELF_PLAT_INIT(_r, _f) \ argument
109 _r->r0 = _r->r1 = _r->r2 = _r->r3 = \
110 _r->r4 = _r->r5 = _r->r6 = _r->r7 = \
111 _r->r8 = _r->r9 = _r->r10 = _r->r11 = \
112 _r->r12 = _r->r13 = _r->r14 = _r->r15 = \
113 _r->r16 = _r->r17 = _r->r18 = _r->r19 = \
114 _r->r20 = _r->r21 = _r->r22 = _r->r23 = \
115 _r->r24 = _r->r25 = _r->r26 = _r->r27 = \
116 _r->r28 = _r->r29 = _r->r30 = _r->r31 = \
/openbmc/linux/arch/sh/include/asm/
H A Delf.h135 #define ELF_PLAT_INIT(_r, load_addr) \ argument
136 do { _r->regs[0]=0; _r->regs[1]=0; _r->regs[2]=0; _r->regs[3]=0; \
137 _r->regs[4]=0; _r->regs[5]=0; _r->regs[6]=0; _r->regs[7]=0; \
138 _r->regs[8]=0; _r->regs[9]=0; _r->regs[10]=0; _r->regs[11]=0; \
139 _r->regs[12]=0; _r->regs[13]=0; _r->regs[14]=0; \
140 _r->sr = SR_FD; } while (0)
142 #define ELF_FDPIC_PLAT_INIT(_r, _exec_map_addr, _interp_map_addr, \ argument
145 _r->regs[0] = 0; \
146 _r->regs[1] = 0; \
147 _r->regs[2] = 0; \
[all …]
H A Dflat.h26 #define FLAT_PLAT_INIT(_r) \ argument
27 do { _r->regs[0]=0; _r->regs[1]=0; _r->regs[2]=0; _r->regs[3]=0; \
28 _r->regs[4]=0; _r->regs[5]=0; _r->regs[6]=0; _r->regs[7]=0; \
29 _r->regs[8]=0; _r->regs[9]=0; _r->regs[10]=0; _r->regs[11]=0; \
30 _r->regs[12]=0; _r->regs[13]=0; _r->regs[14]=0; \
31 _r->sr = SR_FD; } while (0)
/openbmc/linux/arch/loongarch/include/asm/
H A Delf.h290 #define ELF_PLAT_INIT(_r, load_addr) do { \ argument
291 _r->regs[1] = _r->regs[2] = _r->regs[3] = _r->regs[4] = 0; \
292 _r->regs[5] = _r->regs[6] = _r->regs[7] = _r->regs[8] = 0; \
293 _r->regs[9] = _r->regs[10] /* syscall n */ = _r->regs[12] = 0; \
294 _r->regs[13] = _r->regs[14] = _r->regs[15] = _r->regs[16] = 0; \
295 _r->regs[17] = _r->regs[18] = _r->regs[19] = _r->regs[20] = 0; \
296 _r->regs[21] = _r->regs[22] = _r->regs[23] = _r->regs[24] = 0; \
297 _r->regs[25] = _r->regs[26] = _r->regs[27] = _r->regs[28] = 0; \
298 _r->regs[29] = _r->regs[30] = _r->regs[31] = 0; \
/openbmc/linux/arch/xtensa/include/asm/
H A Delf.h159 #define ELF_PLAT_INIT(_r, load_addr) \ argument
161 (_r)->areg[0] = 0; /*(_r)->areg[1] = 0;*/ \
162 (_r)->areg[2] = 0; (_r)->areg[3] = 0; \
163 (_r)->areg[4] = 0; (_r)->areg[5] = 0; \
164 (_r)->areg[6] = 0; (_r)->areg[7] = 0; \
165 (_r)->areg[8] = 0; (_r)->areg[9] = 0; \
166 (_r)->areg[10] = 0; (_r)->areg[11] = 0; \
167 (_r)->areg[12] = 0; (_r)->areg[13] = 0; \
168 (_r)->areg[14] = 0; (_r)->areg[15] = 0; \
171 #define ELF_FDPIC_PLAT_INIT(_r, _exec_map_addr, _interp_map_addr, dynamic_addr) \ argument
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Delf.h440 #define ELF_PLAT_INIT(_r, load_addr) do { \ argument
441 _r->regs[1] = _r->regs[2] = _r->regs[3] = _r->regs[4] = 0; \
442 _r->regs[5] = _r->regs[6] = _r->regs[7] = _r->regs[8] = 0; \
443 _r->regs[9] = _r->regs[10] = _r->regs[11] = _r->regs[12] = 0; \
444 _r->regs[13] = _r->regs[14] = _r->regs[15] = _r->regs[16] = 0; \
445 _r->regs[17] = _r->regs[18] = _r->regs[19] = _r->regs[20] = 0; \
446 _r->regs[21] = _r->regs[22] = _r->regs[23] = _r->regs[24] = 0; \
447 _r->regs[25] = _r->regs[26] = _r->regs[27] = _r->regs[28] = 0; \
448 _r->regs[30] = _r->regs[31] = 0; \
/openbmc/linux/drivers/md/bcache/
H A Dutil.h60 size_t _r, _j = i; \
62 for (; _j * 2 + 1 < (h)->used; _j = _r) { \
63 _r = _j * 2 + 1; \
64 if (_r + 1 < (h)->used && \
65 cmp((h)->data[_r], (h)->data[_r + 1])) \
66 _r++; \
68 if (cmp((h)->data[_r], (h)->data[_j])) \
70 heap_swap(h, _r, _j); \
87 bool _r = !heap_full(h); \
88 if (_r) { \
[all …]
H A Dsysfs.h123 int _r = kstrtoul(cp, 10, &_v); \
124 if (_r) \
125 return _r; \
131 int _r = strtoi_h(cp, &v); \
132 if (_r) \
133 return _r; \
H A Dbtree.h330 int _r, l = (b)->level - 1; \
335 _r = bch_btree_ ## fn(_child, op, ##__VA_ARGS__); \
338 _r = PTR_ERR(_child); \
339 _r; \
350 int _r = -EINTR; \
357 _r = bch_btree_ ## fn(_b, op, ##__VA_ARGS__); \
361 if (_r == -EINTR) \
363 } while (_r == -EINTR); \
366 _r; \
/openbmc/linux/scripts/
H A Dsorttable.h41 #undef _r
66 # define _r r8 macro
90 # define _r r macro
195 Elf_Addr av = _r(a); in compare_extable()
196 Elf_Addr bv = _r(b); in compare_extable()
218 uint_t offset = emloc->start_mcount_loc - _r(&(emloc->init_data_sec)->sh_addr) in sort_mcount_loc()
219 + _r(&(emloc->init_data_sec)->sh_offset); in sort_mcount_loc()
269 Elf_Shdr *s, *shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_sort()
303 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset); in do_sort()
307 shnum = _r(&shdr[0].sh_size); in do_sort()
[all …]
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_hw.h559 #define csio_reg(_b, _r) ((_b) + (_r)) argument
561 #define csio_rd_reg8(_h, _r) readb(csio_reg((_h)->regstart, (_r))) argument
562 #define csio_rd_reg16(_h, _r) readw(csio_reg((_h)->regstart, (_r))) argument
563 #define csio_rd_reg32(_h, _r) readl(csio_reg((_h)->regstart, (_r))) argument
564 #define csio_rd_reg64(_h, _r) readq(csio_reg((_h)->regstart, (_r))) argument
566 #define csio_wr_reg8(_h, _v, _r) writeb((_v), \ argument
567 csio_reg((_h)->regstart, (_r)))
568 #define csio_wr_reg16(_h, _v, _r) writew((_v), \ argument
569 csio_reg((_h)->regstart, (_r)))
570 #define csio_wr_reg32(_h, _v, _r) writel((_v), \ argument
[all …]
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_crtc.h18 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument
20 struct armada_regs *__reg = _r; \
27 #define armada_reg_queue_set(_r, _i, _v, _o) \ argument
28 armada_reg_queue_mod(_r, _i, _v, ~0, _o)
30 #define armada_reg_queue_end(_r, _i) \ argument
31 armada_reg_queue_mod(_r, _i, 0, 0, ~0)
/openbmc/linux/arch/arm/include/asm/
H A Delf.h131 #define ELF_PLAT_INIT(_r, load_addr) (_r)->ARM_r0 = 0 argument
133 #define ELF_FDPIC_PLAT_INIT(_r, _exec_map_addr, _interp_map_addr, dynamic_addr) \ argument
135 (_r)->ARM_r7 = _exec_map_addr; \
136 (_r)->ARM_r8 = _interp_map_addr; \
137 (_r)->ARM_r9 = dynamic_addr; \
/openbmc/linux/arch/m68k/include/asm/
H A Delf.h61 #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 argument
63 #define ELF_FDPIC_PLAT_INIT(_r, _exec_map_addr, _interp_map_addr, dynamic_addr) \ argument
65 (_r)->d3 = _exec_map_addr; \
66 (_r)->d4 = _interp_map_addr; \
67 (_r)->d5 = dynamic_addr; \
/openbmc/linux/arch/x86/include/asm/
H A Delf.h107 #define ELF_PLAT_INIT(_r, load_addr) \ argument
109 _r->bx = 0; _r->cx = 0; _r->dx = 0; \
110 _r->si = 0; _r->di = 0; _r->bp = 0; \
111 _r->ax = 0; \
168 #define ELF_PLAT_INIT(_r, load_addr) \ argument
169 elf_common_init(&current->thread, _r, 0)
/openbmc/linux/lib/crypto/mpi/
H A Dmpi-internal.h118 mpi_limb_t _q, _r; \
123 sub_ddmmss(_xh, _r, (nh), (nl), _xh, _xl); \
125 sub_ddmmss(_xh, _r, _xh, _r, 0, (d)); \
128 sub_ddmmss(_xh, _r, _xh, _r, 0, (d)); \
132 if (_r >= (d)) { \
133 _r -= (d); \
136 (r) = _r; \
/openbmc/linux/include/linux/
H A Dsh_clk.h126 #define SH_CLK_MSTP32(_p, _r, _b, _f) \ argument
127 SH_CLK_MSTP(_p, _r, _b, 0, _f | CLK_ENABLE_REG_32BIT)
129 #define SH_CLK_MSTP32_STS(_p, _r, _b, _s, _f) \ argument
130 SH_CLK_MSTP(_p, _r, _b, _s, _f | CLK_ENABLE_REG_32BIT)
132 #define SH_CLK_MSTP16(_p, _r, _b, _f) \ argument
133 SH_CLK_MSTP(_p, _r, _b, 0, _f | CLK_ENABLE_REG_16BIT)
135 #define SH_CLK_MSTP8(_p, _r, _b, _f) \ argument
136 SH_CLK_MSTP(_p, _r, _b, 0, _f | CLK_ENABLE_REG_8BIT)
/openbmc/linux/include/math-emu/
H A Dop-1.h191 _FP_W_TYPE _q, _r; \
195 doit(_q, _r, X##_f, Y##_f); \
196 R##_f = _q | (_r != 0); \
206 _FP_W_TYPE _nh, _nl, _q, _r, _y; \
224 udiv_qrnnd(_q, _r, _nh, _nl, _y); \
225 R##_f = _q | (_r != 0); \
230 _FP_W_TYPE _nh, _nl, _q, _r; \
242 udiv_qrnnd(_q, _r, _nh, _nl, Y##_f); \
243 R##_f = _q | (_r != 0); \
H A Dop-2.h447 if (_FP_FRAC_GT_2(_m, _r)) \
450 _FP_FRAC_ADD_2(_r, Y, _r); \
451 if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \
454 _FP_FRAC_ADD_2(_r, Y, _r); \
457 _FP_FRAC_DEC_2(_r, _m); \
475 if (_FP_FRAC_GT_2(_m, _r)) \
478 _FP_FRAC_ADD_2(_r, Y, _r); \
479 if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \
482 _FP_FRAC_ADD_2(_r, Y, _r); \
485 if (!_FP_FRAC_EQ_2(_r, _m)) \
/openbmc/linux/arch/riscv/include/asm/
H A Delf.h73 #define ELF_FDPIC_PLAT_INIT(_r, _exec_map_addr, _interp_map_addr, dynamic_addr) \ argument
75 (_r)->a1 = _exec_map_addr; \
76 (_r)->a2 = _interp_map_addr; \
77 (_r)->a3 = dynamic_addr; \
/openbmc/linux/arch/mips/include/asm/sn/
H A Daddrs.h262 #define LOCAL_HUB_L(_r) __raw_readq(LOCAL_HUB_PTR(_r)) argument
263 #define LOCAL_HUB_S(_r, _d) __raw_writeq((_d), LOCAL_HUB_PTR(_r)) argument
264 #define REMOTE_HUB_L(_n, _r) __raw_readq(REMOTE_HUB_PTR((_n), (_r))) argument
265 #define REMOTE_HUB_S(_n, _r, _d) __raw_writeq((_d), \ argument
266 REMOTE_HUB_PTR((_n), (_r)))
/openbmc/linux/arch/x86/kernel/cpu/sgx/
H A Dencls.h20 int _r = (r); \
21 WARN_ONCE(_r, "%s returned %d (0x%x)\n", (name), _r, _r); \
/openbmc/linux/arch/arc/include/asm/
H A Delf.h57 #define ELF_PLAT_INIT(_r, load_addr) ((_r)->r0 = 0) argument

123