/drivers/md/bcache/ |
D | util.h | 66 size_t _r, _j = i; \ 68 for (; _j * 2 + 1 < (h)->used; _j = _r) { \ 69 _r = _j * 2 + 1; \ 70 if (_r + 1 < (h)->used && \ 71 cmp((h)->data[_r], (h)->data[_r + 1])) \ 72 _r++; \ 74 if (cmp((h)->data[_r], (h)->data[_j])) \ 76 heap_swap(h, _r, _j); \ 93 bool _r = !heap_full(h); \ 94 if (_r) { \ [all …]
|
D | sysfs.h | 91 int _r = kstrtoul(cp, 10, &_v); \ 92 if (_r) \ 93 return _r; \ 99 int _r = strtoi_h(cp, &v); \ 100 if (_r) \ 101 return _r; \
|
D | btree.c | 118 int _r, l = (b)->level - 1; \ 123 _r = bch_btree_ ## fn(_child, op, ##__VA_ARGS__); \ 126 _r = PTR_ERR(_child); \ 127 _r; \ 138 int _r = -EINTR; \ 145 _r = bch_btree_ ## fn(_b, op, ##__VA_ARGS__); \ 149 if (_r == -EINTR) \ 151 } while (_r == -EINTR); \ 154 _r; \
|
/drivers/scsi/csiostor/ |
D | csio_hw.h | 541 #define csio_reg(_b, _r) ((_b) + (_r)) argument 543 #define csio_rd_reg8(_h, _r) readb(csio_reg((_h)->regstart, (_r))) argument 544 #define csio_rd_reg16(_h, _r) readw(csio_reg((_h)->regstart, (_r))) argument 545 #define csio_rd_reg32(_h, _r) readl(csio_reg((_h)->regstart, (_r))) argument 546 #define csio_rd_reg64(_h, _r) readq(csio_reg((_h)->regstart, (_r))) argument 548 #define csio_wr_reg8(_h, _v, _r) writeb((_v), \ argument 549 csio_reg((_h)->regstart, (_r))) 550 #define csio_wr_reg16(_h, _v, _r) writew((_v), \ argument 551 csio_reg((_h)->regstart, (_r))) 552 #define csio_wr_reg32(_h, _v, _r) writel((_v), \ argument [all …]
|
/drivers/gpu/drm/armada/ |
D | armada_crtc.h | 19 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument 21 struct armada_regs *__reg = _r; \ 28 #define armada_reg_queue_set(_r, _i, _v, _o) \ argument 29 armada_reg_queue_mod(_r, _i, _v, ~0, _o) 31 #define armada_reg_queue_end(_r, _i) \ argument 32 armada_reg_queue_mod(_r, _i, 0, 0, ~0)
|
/drivers/w1/masters/ |
D | ds1wm.c | 361 unsigned char resp, _r, _r_prime, _d; in ds1wm_search() local 363 _r = (r >> (4*i)) & 0xf; in ds1wm_search() 364 _r = ((_r & 0x1) << 1) | in ds1wm_search() 365 ((_r & 0x2) << 2) | in ds1wm_search() 366 ((_r & 0x4) << 3) | in ds1wm_search() 367 ((_r & 0x8) << 4); in ds1wm_search() 370 resp = ds1wm_read(ds1wm_data, _r); in ds1wm_search()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_dump.c | 220 #define PRINT_REG_8bit(_ha, _n, _r) asd_printk(STR_8BIT, #_n, _n, \ argument 221 asd_read_reg_byte(_ha, _r)) 222 #define PRINT_REG_16bit(_ha, _n, _r) asd_printk(STR_16BIT, #_n, _n, \ argument 223 asd_read_reg_word(_ha, _r)) 224 #define PRINT_REG_32bit(_ha, _n, _r) asd_printk(STR_32BIT, #_n, _n, \ argument 225 asd_read_reg_dword(_ha, _r)) 238 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ argument 239 asd_read_reg_byte(_ha, _r)) 240 #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \ argument 241 asd_read_reg_word(_ha, _r)) [all …]
|
D | aic94xx_sds.c | 120 u8 _r[14]; member 397 u8 _r[12]; member 412 u8 _r[20]; member 423 u8 _r[6]; member 436 u16 _r; member 450 u8 _r[3]; member 547 u8 _r[5]; member 552 u8 _r; member
|
D | aic94xx_sas.h | 264 __le16 _r; member
|
/drivers/video/console/ |
D | fbcon.h | 252 typeof(r) _r = (r); \ 254 (void) (&_r == &_v); \ 255 (i == FB_ROTATE_UR || i == FB_ROTATE_UD) ? _r : _v; })
|
/drivers/net/wireless/ath/ath9k/ |
D | hw.h | 109 #define REG_RMW_FIELD(_a, _r, _f, _v) \ argument 110 REG_RMW(_a, _r, (((_v) << _f##_S) & _f), (_f)) 111 #define REG_READ_FIELD(_a, _r, _f) \ argument 112 (((REG_READ(_a, _r) & _f) >> _f##_S)) 113 #define REG_SET_BIT(_a, _r, _f) \ argument 114 REG_RMW(_a, _r, (_f), 0) 115 #define REG_CLR_BIT(_a, _r, _f) \ argument 116 REG_RMW(_a, _r, 0, (_f))
|
D | eeprom.h | 97 #define ATH9K_POW_SM(_r, _s) (((_r) & 0x3f) << (_s)) argument
|
D | ar9003_eeprom.c | 4382 #define POW_SM(_r, _s) (((_r) & 0x3f) << (_s)) in ar9003_hw_tx_power_regwrite() argument
|
/drivers/net/wireless/ath/ath5k/ |
D | reg.h | 560 #define AR5K_QUEUE_REG(_r, _q) (((_q) << 2) + _r) argument 561 #define AR5K_QCU_GLOBAL_READ(_r, _q) (AR5K_REG_READ(_r) & (1 << _q)) argument 562 #define AR5K_QCU_GLOBAL_WRITE(_r, _q) AR5K_REG_WRITE(_r, (1 << _q)) argument
|
D | ath5k.h | 687 #define AR5K_TXPOWER_OFDM(_r, _v) ( \ argument 689 (((ah->ah_txpower.txp_rates_power_table[(_r)]) & 0x3f) << (_v)) \ 692 #define AR5K_TXPOWER_CCK(_r, _v) ( \ argument 693 (ah->ah_txpower.txp_rates_power_table[(_r)] & 0x3f) << (_v) \
|
/drivers/mfd/ |
D | sta2x11-mfd.c | 475 #define DEV(_name, _r) \ argument 476 { .name = _name, .num_resources = ARRAY_SIZE(_r), .resources = _r, }
|
/drivers/video/fbdev/mbx/ |
D | mbxfb.c | 884 #define res_size(_r) (((_r)->end - (_r)->start) + 1) argument
|
/drivers/media/i2c/smiapp/ |
D | smiapp-core.c | 2049 struct v4l2_rect _r; in smiapp_set_crop() local 2060 _r.left = 0; in smiapp_set_crop() 2061 _r.top = 0; in smiapp_set_crop() 2062 _r.width = v4l2_subdev_get_try_format(fh, sel->pad) in smiapp_set_crop() 2064 _r.height = v4l2_subdev_get_try_format(fh, sel->pad) in smiapp_set_crop() 2066 src_size = &_r; in smiapp_set_crop()
|
/drivers/mmc/host/ |
D | s3cmci.c | 1461 #define DBG_REG(_r) { .addr = S3C2410_SDI##_r, .name = #_r } argument
|
/drivers/media/usb/airspy/ |
D | airspy.c | 158 #define airspy_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument 165 _t, _r, _v & 0xff, _v >> 8, _i & 0xff, _i >> 8, \
|
/drivers/media/usb/msi2500/ |
D | msi2500.c | 655 #define msi2500_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument 662 _t, _r, _v & 0xff, _v >> 8, _i & 0xff, _i >> 8, \
|
/drivers/media/usb/hackrf/ |
D | hackrf.c | 145 #define hackrf_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument 152 _t, _r, _v & 0xff, _v >> 8, _i & 0xff, \
|
/drivers/usb/atm/ |
D | ueagle-atm.c | 592 int _r = wait_event_interruptible_timeout(sc->sync_q, \ 595 _r = -ENODEV; \ 596 _r; \
|