Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dutil.h66 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 …]
Dsysfs.h91 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; \
Dbtree.c118 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/
Dcsio_hw.h541 #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/
Darmada_crtc.h19 #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/
Dds1wm.c361 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/
Daic94xx_dump.c220 #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 …]
Daic94xx_sds.c120 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
Daic94xx_sas.h264 __le16 _r; member
/drivers/video/console/
Dfbcon.h252 typeof(r) _r = (r); \
254 (void) (&_r == &_v); \
255 (i == FB_ROTATE_UR || i == FB_ROTATE_UD) ? _r : _v; })
/drivers/net/wireless/ath/ath9k/
Dhw.h109 #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))
Deeprom.h97 #define ATH9K_POW_SM(_r, _s) (((_r) & 0x3f) << (_s)) argument
Dar9003_eeprom.c4382 #define POW_SM(_r, _s) (((_r) & 0x3f) << (_s)) in ar9003_hw_tx_power_regwrite() argument
/drivers/net/wireless/ath/ath5k/
Dreg.h560 #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
Dath5k.h687 #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/
Dsta2x11-mfd.c475 #define DEV(_name, _r) \ argument
476 { .name = _name, .num_resources = ARRAY_SIZE(_r), .resources = _r, }
/drivers/video/fbdev/mbx/
Dmbxfb.c884 #define res_size(_r) (((_r)->end - (_r)->start) + 1) argument
/drivers/media/i2c/smiapp/
Dsmiapp-core.c2049 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/
Ds3cmci.c1461 #define DBG_REG(_r) { .addr = S3C2410_SDI##_r, .name = #_r } argument
/drivers/media/usb/airspy/
Dairspy.c158 #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/
Dmsi2500.c655 #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/
Dhackrf.c145 #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/
Dueagle-atm.c592 int _r = wait_event_interruptible_timeout(sc->sync_q, \
595 _r = -ENODEV; \
596 _r; \