Lines Matching +full:num +full:- +full:transfer +full:- +full:bits

1 /* SPDX-License-Identifier: GPL-2.0 */
22 * For channels from second group(8-15) the order is the same, only with
26 /* The range of the channel is stored in 2 bits */
35 * Each register stores range for 2 channels(4 bits per channel).
43 #define AD760X_CHANNEL(num, mask_sep, mask_type, mask_all, \ argument
44 mask_sep_avail, mask_all_avail, bits) { \ argument
47 .channel = num, \
48 .address = num, \
56 .scan_index = num, \
59 .realbits = (bits), \
60 .storagebits = (bits) > 16 ? 32 : 16, \
65 #define AD7606_SW_CHANNEL(num, bits) \ argument
66 AD760X_CHANNEL(num, \
78 bits)
80 #define AD7605_CHANNEL(num) \ argument
81 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \
84 #define AD7606_CHANNEL(num, bits) \ argument
85 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \
88 0, 0, bits)
90 #define AD7616_CHANNEL(num) AD7606_SW_CHANNEL(num, 16) argument
92 #define AD7606_BI_CHANNEL(num) \ argument
93 AD760X_CHANNEL(num, 0, \
99 #define AD7606_BI_SW_CHANNEL(num) \ argument
100 AD760X_CHANNEL(num, \
121 * struct ad7606_chip_info - chip specific information
151 * struct ad7606_chan_scale - channel scale configuration
167 * struct ad7606_state - driver instance specific data
183 * @gpio_reset GPIO descriptor for device hard-reset
185 * @gpio_standby GPIO descriptor for stand-by signal (STBY),
186 * controls power-down mode of device
222 * transfer buffers to live in their own cache lines.
223 * 16 * 16-bit samples + 64-bit timestamp - for AD7616
224 * 8 * 32-bit samples + 64-bit timestamp - for AD7616C-18 (and similar)
234 * struct ad7606_bus_ops - driver bus operations
250 int (*read_block)(struct device *dev, int num, void *data);
261 * struct ad7606_bus_info - agregate ad7606_chip_info and ad7606_bus_ops