Lines Matching +full:num +full:- +full:transfer +full:- +full:bits
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, \
24 .realbits = (bits), \
25 .storagebits = (bits) > 16 ? 32 : 16, \
30 #define AD7606_SW_CHANNEL(num, bits) { \ argument
33 .channel = num, \
34 .address = num, \
44 .scan_index = num, \
47 .realbits = (bits), \
48 .storagebits = (bits) > 16 ? 32 : 16, \
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), \
60 BIT(IIO_CHAN_INFO_OVERSAMPLING_RATIO), bits)
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
104 * struct ad7606_chan_scale - channel scale configuration
120 * struct ad7606_state - driver instance specific data
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
175 * transfer buffers to live in their own cache lines.
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
203 int (*read_block)(struct device *dev, int num, void *data);
218 * struct ad7606_bus_info - agregate ad7606_chip_info and ad7606_bus_ops