Home
last modified time | relevance | path

Searched refs:_mod (Results 1 – 13 of 13) sorted by relevance

/drivers/iio/imu/
Dadis16460.c244 #define ADIS16460_MOD_CHANNEL(_type, _mod, _address, _si, _bits) \ argument
248 .channel2 = (_mod), \
262 #define ADIS16460_GYRO_CHANNEL(_mod) \ argument
263 ADIS16460_MOD_CHANNEL(IIO_ANGL_VEL, IIO_MOD_ ## _mod, \
264 ADIS16460_REG_ ## _mod ## _GYRO_LOW, ADIS16460_SCAN_GYRO_ ## _mod, \
267 #define ADIS16460_ACCEL_CHANNEL(_mod) \ argument
268 ADIS16460_MOD_CHANNEL(IIO_ACCEL, IIO_MOD_ ## _mod, \
269 ADIS16460_REG_ ## _mod ## _ACCL_LOW, ADIS16460_SCAN_ACCEL_ ## _mod, \
Dadis16480.c732 #define ADIS16480_MOD_CHANNEL(_type, _mod, _address, _si, _info_sep, _bits) \ argument
736 .channel2 = (_mod), \
752 #define ADIS16480_GYRO_CHANNEL(_mod) \ argument
753 ADIS16480_MOD_CHANNEL(IIO_ANGL_VEL, IIO_MOD_ ## _mod, \
754 ADIS16480_REG_ ## _mod ## _GYRO_OUT, ADIS16480_SCAN_GYRO_ ## _mod, \
759 #define ADIS16480_ACCEL_CHANNEL(_mod) \ argument
760 ADIS16480_MOD_CHANNEL(IIO_ACCEL, IIO_MOD_ ## _mod, \
761 ADIS16480_REG_ ## _mod ## _ACCEL_OUT, ADIS16480_SCAN_ACCEL_ ## _mod, \
766 #define ADIS16480_MAGN_CHANNEL(_mod) \ argument
767 ADIS16480_MOD_CHANNEL(IIO_MAGN, IIO_MOD_ ## _mod, \
[all …]
Dadis16475.c508 #define ADIS16475_MOD_CHAN(_type, _mod, _address, _si, _r_bits, _s_bits) \ argument
512 .channel2 = (_mod), \
528 #define ADIS16475_GYRO_CHANNEL(_mod) \ argument
529 ADIS16475_MOD_CHAN(IIO_ANGL_VEL, IIO_MOD_ ## _mod, \
530 ADIS16475_REG_ ## _mod ## _GYRO_L, \
531 ADIS16475_SCAN_GYRO_ ## _mod, 32, 32)
533 #define ADIS16475_ACCEL_CHANNEL(_mod) \ argument
534 ADIS16475_MOD_CHAN(IIO_ACCEL, IIO_MOD_ ## _mod, \
535 ADIS16475_REG_ ## _mod ## _ACCEL_L, \
536 ADIS16475_SCAN_ACCEL_ ## _mod, 32, 32)
/drivers/clk/renesas/
Drenesas-cpg-mssr.h75 #define DEF_MOD(_name, _mod, _parent...) \ argument
76 { .name = _name, .id = MOD_CLK_ID(_mod), .parent = _parent }
83 #define DEF_MOD_STB(_name, _mod, _parent...) \ argument
84 { .name = _name, .id = MOD_CLK_ID_10(_mod), .parent = _parent }
/drivers/iio/common/ssp_sensors/
Dssp_iio_sensor.h5 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument
9 .channel2 = _mod,\
Dssp_dev.c176 goto _mod; in ssp_wdt_timer_func()
182 _mod: in ssp_wdt_timer_func()
/drivers/scsi/bfa/
Dbfa_ioc.h126 #define bfa_mem_dma_sptr(_mod, _i) (&(_mod)->dma_seg[(_i)]) argument
127 #define bfa_mem_dma_seg_iter(_mod, _sptr, _nr, _i) \ argument
128 for (_i = 0, _sptr = bfa_mem_dma_sptr(_mod, _i); _i < (_nr); \
129 _i++, _sptr = bfa_mem_dma_sptr(_mod, _i))
131 #define bfa_mem_kva_curp(_mod) ((_mod)->kva_seg.kva_curp) argument
137 #define bfa_mem_get_dmabuf_kva(_mod, _tag, _rqsz) \ argument
138 (((u8 *)(_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].kva_curp) +\
142 #define bfa_mem_get_dmabuf_pa(_mod, _tag, _rqsz) \ argument
143 ((_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].dma_curp + \
Dbfa.h347 #define bfa_stats(_mod, _stats) ((_mod)->stats._stats++) argument
/drivers/iio/gyro/
Ditg3200_core.c258 #define ITG3200_GYRO_CHAN(_mod) { \ argument
261 .channel2 = IIO_MOD_ ## _mod, \
265 .address = ITG3200_REG_GYRO_ ## _mod ## OUT_H, \
266 .scan_index = ITG3200_SCAN_GYRO_ ## _mod, \
/drivers/iio/chemical/
Dsps30.c293 #define SPS30_CHAN(_index, _mod) { \ argument
296 .channel2 = IIO_MOD_ ## _mod, \
299 .address = _mod, \
Dpms7003.c172 #define PMS7003_CHAN(_index, _mod, _addr) { \ argument
175 .channel2 = IIO_MOD_ ## _mod, \
/drivers/iio/health/
Dmax30102.c133 #define MAX30102_INTENSITY_CHANNEL(_si, _mod) { \ argument
135 .channel2 = _mod, \
/drivers/iio/light/
Dltr501.c583 #define LTR501_INTENSITY_CHANNEL(_idx, _addr, _mod, _shared, \ argument
588 .channel2 = (_mod), \