Lines Matching +full:num +full:- +full:channels
1 /* SPDX-License-Identifier: GPL-2.0 */
11 #define AD760X_CHANNEL(num, mask_sep, mask_type, mask_all) { \ argument
14 .channel = num, \
15 .address = num, \
19 .scan_index = num, \
28 #define AD7605_CHANNEL(num) \ argument
29 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \
32 #define AD7606_CHANNEL(num) \ argument
33 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \
37 #define AD7616_CHANNEL(num) \ argument
38 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW) | BIT(IIO_CHAN_INFO_SCALE),\
42 * struct ad7606_chip_info - chip specific information
43 * @channels: channel specification
44 * @num_channels: number of channels
53 const struct iio_chan_spec *channels; member
62 * struct ad7606_state - driver instance specific data
79 * @gpio_reset GPIO descriptor for device hard-reset
81 * @gpio_standby GPIO descriptor for stand-by signal (STBY),
82 * controls power-down mode of device
119 * 16 * 16-bit samples + 64-bit timestamp
126 * struct ad7606_bus_ops - driver bus operations
137 int (*read_block)(struct device *dev, int num, void *data);