/linux/include/xen/interface/io/ |
A D | ring.h | 156 #define BACK_RING_INIT(_r, _s, __size) BACK_RING_ATTACH(_r, _s, 0, __size) argument 160 ((_r)->nr_ents) 164 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons)) 174 ((_r)->sring->rsp_prod - (_r)->rsp_cons) 177 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \ 179 ((_r)->req_cons - (_r)->rsp_prod_pvt); \ 185 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req)) 188 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp)) 209 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r)) 213 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r)) [all …]
|
/linux/arch/microblaze/include/uapi/asm/ |
A D | elf.h | 107 #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 = \
|
/linux/arch/sh/include/asm/ |
A D | elf.h | 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; \ 145 _r->regs[0] = 0; \ 146 _r->regs[1] = 0; \ 147 _r->regs[2] = 0; \ 148 _r->regs[3] = 0; \ 149 _r->regs[4] = 0; \ 150 _r->regs[5] = 0; \ [all …]
|
A D | flat.h | 26 #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)
|
/linux/arch/mips/include/asm/ |
A D | elf.h | 440 #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; \
|
/linux/arch/xtensa/include/asm/ |
A D | elf.h | 155 #define ELF_PLAT_INIT(_r, load_addr) \ argument 156 do { _r->areg[0]=0; /*_r->areg[1]=0;*/ _r->areg[2]=0; _r->areg[3]=0; \ 157 _r->areg[4]=0; _r->areg[5]=0; _r->areg[6]=0; _r->areg[7]=0; \ 158 _r->areg[8]=0; _r->areg[9]=0; _r->areg[10]=0; _r->areg[11]=0; \ 159 _r->areg[12]=0; _r->areg[13]=0; _r->areg[14]=0; _r->areg[15]=0; \
|
/linux/drivers/md/bcache/ |
A D | util.h | 65 cmp((h)->data[_r], (h)->data[_r + 1])) \ 66 _r++; \ 88 if (_r) { \ 95 _r; \ 107 _r; \ 179 _r; \ 189 _r; \ 200 _r; \ 211 _r; \ 331 _r; \ [all …]
|
A D | btree.h | 329 int _r, l = (b)->level - 1; \ 334 _r = bch_btree_ ## fn(_child, op, ##__VA_ARGS__); \ 337 _r = PTR_ERR(_child); \ 338 _r; \ 349 int _r = -EINTR; \ 356 _r = bch_btree_ ## fn(_b, op, ##__VA_ARGS__); \ 360 if (_r == -EINTR) \ 362 } while (_r == -EINTR); \ 365 _r; \
|
A D | sysfs.h | 123 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; \
|
/linux/scripts/ |
A D | sorttable.h | 38 #undef _r 60 # define _r r8 macro 81 # define _r r macro 185 Elf_Addr av = _r(a); in compare_extable() 186 Elf_Addr bv = _r(b); in compare_extable() 233 shnum = _r(&shdr[0].sh_size); in do_sort() 250 relocs_size = _r(&s->sh_size); in do_sort() 254 _r(&s->sh_offset)); in do_sort() 353 _r(&sort_needed_sec->sh_offset) + in do_sort() 354 _r(&sort_needed_sym->st_value) - in do_sort() [all …]
|
/linux/drivers/scsi/csiostor/ |
A D | csio_hw.h | 559 #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))) 571 csio_reg((_h)->regstart, (_r))) [all …]
|
/linux/drivers/gpu/drm/armada/ |
A D | armada_crtc.h | 18 #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)
|
/linux/arch/arm/include/asm/ |
A D | elf.h | 128 #define ELF_PLAT_INIT(_r, load_addr) (_r)->ARM_r0 = 0 argument 130 #define ELF_FDPIC_PLAT_INIT(_r, _exec_map_addr, _interp_map_addr, dynamic_addr) \ argument 132 (_r)->ARM_r7 = _exec_map_addr; \ 133 (_r)->ARM_r8 = _interp_map_addr; \ 134 (_r)->ARM_r9 = dynamic_addr; \
|
/linux/arch/x86/include/asm/ |
A D | elf.h | 107 #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; \ 183 #define ELF_PLAT_INIT(_r, load_addr) \ argument 184 elf_common_init(¤t->thread, _r, 0)
|
/linux/lib/mpi/ |
A D | mpi-internal.h | 118 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; \
|
/linux/include/linux/ |
A D | sh_clk.h | 126 #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)
|
A D | virtio_config.h | 548 int _r = 0; \ 550 _r = -ENOENT; \ 553 _r; \ 559 int _r = 0; \ 561 _r = -ENOENT; \ 564 _r; \
|
/linux/include/math-emu/ |
A D | op-1.h | 191 _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); \
|
A D | op-2.h | 447 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)) \
|
/linux/arch/mips/include/asm/sn/ |
A D | addrs.h | 262 #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)))
|
/linux/arch/x86/kernel/cpu/sgx/ |
A D | encls.h | 38 int _r = (r); \ 39 WARN_ONCE(_r, "%s returned %d (0x%x)\n", (name), _r, _r); \
|
/linux/drivers/w1/masters/ |
A D | ds1wm.c | 414 unsigned char resp, _r, _r_prime, _d; in ds1wm_search() local 416 _r = (r >> (4*i)) & 0xf; in ds1wm_search() 417 _r = ((_r & 0x1) << 1) | in ds1wm_search() 418 ((_r & 0x2) << 2) | in ds1wm_search() 419 ((_r & 0x4) << 3) | in ds1wm_search() 420 ((_r & 0x8) << 4); in ds1wm_search() 423 resp = ds1wm_read(ds1wm_data, _r); in ds1wm_search()
|
/linux/arch/arc/include/asm/ |
A D | elf.h | 57 #define ELF_PLAT_INIT(_r, load_addr) ((_r)->r0 = 0) argument
|
/linux/drivers/scsi/aic94xx/ |
A D | aic94xx_dump.c | 202 #define PRINT_REG_8bit(_ha, _n, _r) asd_printk(STR_8BIT, #_n, _n, \ argument 203 asd_read_reg_byte(_ha, _r)) 204 #define PRINT_REG_16bit(_ha, _n, _r) asd_printk(STR_16BIT, #_n, _n, \ argument 205 asd_read_reg_word(_ha, _r)) 206 #define PRINT_REG_32bit(_ha, _n, _r) asd_printk(STR_32BIT, #_n, _n, \ argument 207 asd_read_reg_dword(_ha, _r)) 220 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ argument 221 asd_read_reg_byte(_ha, _r)) 222 #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \ argument 223 asd_read_reg_word(_ha, _r)) [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_cls_redirect.h | 32 uint8_t _r : 2, last_hop_gre : 1, forward_syn : 1, version : 4; member 34 uint8_t version : 4, forward_syn : 1, last_hop_gre : 1, _r : 2;
|