Lines Matching +full:num +full:- +full:channels

1 /* SPDX-License-Identifier: GPL-2.0 */
13 #define AD760X_CHANNEL(num, mask_sep, mask_type, mask_all, bits) { \ argument
16 .channel = num, \
17 .address = num, \
21 .scan_index = num, \
30 #define AD7606_SW_CHANNEL(num, bits) { \ argument
33 .channel = num, \
34 .address = num, \
44 .scan_index = num, \
53 #define AD7605_CHANNEL(num) \ argument
54 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \
57 #define AD7606_CHANNEL(num, bits) \ argument
58 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \
62 #define AD7616_CHANNEL(num) AD7606_SW_CHANNEL(num, 16) argument
64 #define AD7606_BI_CHANNEL(num) \ argument
65 AD760X_CHANNEL(num, 0, \
76 * struct ad7606_chip_info - chip specific information
77 * @channels: channel specification
80 * @num_channels: number of channels
81 * @num_adc_channels the number of channels the ADC actually inputs.
91 const struct iio_chan_spec *channels; member
104 * struct ad7606_chan_scale - channel scale configuration
120 * struct ad7606_state - driver instance specific data
124 * @chan_scales scale configuration for channels
136 * @gpio_reset GPIO descriptor for device hard-reset
138 * @gpio_standby GPIO descriptor for stand-by signal (STBY),
139 * controls power-down mode of device
176 * 16 * 16-bit samples + 64-bit timestamp - for AD7616
177 * 8 * 32-bit samples + 64-bit timestamp - for AD7616C-18 (and similar)
187 * struct ad7606_bus_ops - driver bus operations
197 * mode when enabling/disabling channels.
203 int (*read_block)(struct device *dev, int num, void *data);
218 * struct ad7606_bus_info - agregate ad7606_chip_info and ad7606_bus_ops