Home
last modified time | relevance | path

Searched refs:num_channels (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/linux-4.19.296/drivers/iio/dac/
Dad5064.c82 unsigned int num_channels; member
454 .num_channels = nchannels, \
463 .num_channels = 4,
469 .num_channels = 2,
475 .num_channels = 4,
481 .num_channels = 2,
487 .num_channels = 4,
493 .num_channels = 4,
499 .num_channels = 2,
505 .num_channels = 4,
[all …]
Dad5686.c239 .num_channels = 1,
245 .num_channels = 8,
251 .num_channels = 8,
257 .num_channels = 8,
262 .num_channels = 8,
268 .num_channels = 8,
274 .num_channels = 1,
280 .num_channels = 1,
285 .num_channels = 1,
291 .num_channels = 1,
[all …]
Dad5449.c48 unsigned int num_channels; member
227 .num_channels = 1,
232 .num_channels = 2,
237 .num_channels = 1,
242 .num_channels = 2,
247 .num_channels = 1,
252 .num_channels = 2,
259 if (st->chip_info->num_channels == 1) in ad5449_vref_name()
287 for (i = 0; i < st->chip_info->num_channels; ++i) in ad5449_spi_probe()
290 ret = devm_regulator_bulk_get(&spi->dev, st->chip_info->num_channels, in ad5449_spi_probe()
[all …]
Dad5380.c44 unsigned int num_channels; member
275 .num_channels = 40,
280 .num_channels = 40,
285 .num_channels = 16,
290 .num_channels = 16,
295 .num_channels = 32,
300 .num_channels = 32,
305 .num_channels = 32,
310 .num_channels = 32,
315 .num_channels = 16,
[all …]
Dad5360.c60 unsigned int num_channels; member
121 .num_channels = 16,
127 .num_channels = 16,
133 .num_channels = 8,
139 .num_channels = 8,
145 .num_channels = 40,
151 .num_channels = 40,
157 .num_channels = 32,
163 .num_channels = 32,
440 channels = kcalloc(st->chip_info->num_channels, in ad5360_alloc_channels()
[all …]
Dti-dac5571.c34 u8 num_channels; member
39 [single_8bit] = {.num_channels = 1, .resolution = 8},
40 [single_10bit] = {.num_channels = 1, .resolution = 10},
41 [single_12bit] = {.num_channels = 1, .resolution = 12},
42 [quad_8bit] = {.num_channels = 4, .resolution = 8},
43 [quad_10bit] = {.num_channels = 4, .resolution = 10},
44 [quad_12bit] = {.num_channels = 4, .resolution = 12},
335 indio_dev->num_channels = spec->num_channels; in dac5571_probe()
348 switch (spec->num_channels) { in dac5571_probe()
362 for (i = 0; i < spec->num_channels; i++) { in dac5571_probe()
Dti-dac082s085.c26 u8 num_channels; member
31 [dual_8bit] = { .num_channels = 2, .resolution = 8 },
32 [dual_10bit] = { .num_channels = 2, .resolution = 10 },
33 [dual_12bit] = { .num_channels = 2, .resolution = 12 },
34 [quad_8bit] = { .num_channels = 4, .resolution = 8 },
35 [quad_10bit] = { .num_channels = 4, .resolution = 10 },
36 [quad_12bit] = { .num_channels = 4, .resolution = 12 },
288 indio_dev->num_channels = spec->num_channels; in ti_dac_probe()
Dmax517.c182 indio_dev->num_channels = 8; in max517_probe()
185 indio_dev->num_channels = 4; in max517_probe()
189 indio_dev->num_channels = 2; in max517_probe()
192 indio_dev->num_channels = 1; in max517_probe()
203 for (chan = 0; chan < indio_dev->num_channels; chan++) { in max517_probe()
/linux-4.19.296/drivers/iio/adc/
Dmcp320x.c68 unsigned int num_channels; member
137 if (adc->chip_info->num_channels > 1) in mcp320x_adc_conversion()
306 .num_channels = ARRAY_SIZE(mcp3201_channels),
311 .num_channels = ARRAY_SIZE(mcp3202_channels),
316 .num_channels = ARRAY_SIZE(mcp3204_channels),
321 .num_channels = ARRAY_SIZE(mcp3208_channels),
326 .num_channels = ARRAY_SIZE(mcp3201_channels),
331 .num_channels = ARRAY_SIZE(mcp3202_channels),
336 .num_channels = ARRAY_SIZE(mcp3204_channels),
341 .num_channels = ARRAY_SIZE(mcp3208_channels),
[all …]
Dti-ads7950.c81 unsigned int num_channels; member
194 .num_channels = ARRAY_SIZE(ti_ads7950_channels),
198 .num_channels = ARRAY_SIZE(ti_ads7951_channels),
202 .num_channels = ARRAY_SIZE(ti_ads7952_channels),
206 .num_channels = ARRAY_SIZE(ti_ads7953_channels),
210 .num_channels = ARRAY_SIZE(ti_ads7954_channels),
214 .num_channels = ARRAY_SIZE(ti_ads7955_channels),
218 .num_channels = ARRAY_SIZE(ti_ads7956_channels),
222 .num_channels = ARRAY_SIZE(ti_ads7957_channels),
226 .num_channels = ARRAY_SIZE(ti_ads7958_channels),
[all …]
Dmax1363.c139 int num_channels; member
1054 .num_channels = ARRAY_SIZE(max1361_channels),
1064 .num_channels = ARRAY_SIZE(max1361_channels),
1074 .num_channels = ARRAY_SIZE(max1363_channels),
1084 .num_channels = ARRAY_SIZE(max1363_channels),
1095 .num_channels = ARRAY_SIZE(max1036_channels),
1105 .num_channels = ARRAY_SIZE(max1036_channels),
1115 .num_channels = ARRAY_SIZE(max1038_channels),
1125 .num_channels = ARRAY_SIZE(max1038_channels),
1135 .num_channels = ARRAY_SIZE(max1136_channels),
[all …]
Drcar-gyroadc.c78 unsigned int num_channels; member
340 unsigned int num_channels; in rcar_gyroadc_parse_subdevs() local
356 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_1); in rcar_gyroadc_parse_subdevs()
361 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_2); in rcar_gyroadc_parse_subdevs()
366 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_3); in rcar_gyroadc_parse_subdevs()
390 if (reg >= num_channels) { in rcar_gyroadc_parse_subdevs()
393 num_channels, child->name, reg); in rcar_gyroadc_parse_subdevs()
425 priv->num_channels = num_channels; in rcar_gyroadc_parse_subdevs()
430 indio_dev->num_channels = num_channels; in rcar_gyroadc_parse_subdevs()
454 for (i = 0; i < priv->num_channels; i++) { in rcar_gyroadc_deinit_supplies()
[all …]
Dad7266.c309 unsigned int num_channels; member
319 .num_channels = ARRAY_SIZE(ad7266_channels_u),
324 .num_channels = ARRAY_SIZE(ad7266_channels_u_fixed),
329 .num_channels = ARRAY_SIZE(ad7266_channels_s),
334 .num_channels = ARRAY_SIZE(ad7266_channels_s_fixed),
339 .num_channels = ARRAY_SIZE(ad7266_channels_diff_u),
344 .num_channels = ARRAY_SIZE(ad7266_channels_diff_fixed_u),
349 .num_channels = ARRAY_SIZE(ad7266_channels_diff_s),
354 .num_channels = ARRAY_SIZE(ad7266_channels_diff_fixed_s),
374 indio_dev->num_channels = chan_info->num_channels; in ad7266_init_channels()
[all …]
Dad7791.c112 unsigned int num_channels; member
119 .num_channels = ARRAY_SIZE(ad7787_channels),
125 .num_channels = ARRAY_SIZE(ad7790_channels),
130 .num_channels = ARRAY_SIZE(ad7791_channels),
135 .num_channels = ARRAY_SIZE(ad7790_channels),
141 .num_channels = ARRAY_SIZE(ad7791_channels),
385 indio_dev->num_channels = st->info->num_channels; in ad7791_probe()
Dti-tlc4541.c52 unsigned int num_channels; member
85 .num_channels = ARRAY_SIZE(tlc3541_channels),
89 .num_channels = ARRAY_SIZE(tlc4541_channels),
186 indio_dev->num_channels = info->num_channels; in tlc4541_probe()
Dad799x.c122 int num_channels; member
592 .num_channels = 5,
605 .num_channels = 5,
618 .num_channels = 5,
631 .num_channels = 3,
651 .num_channels = 5,
675 .num_channels = 5,
699 .num_channels = 9,
731 .num_channels = 9,
813 indio_dev->num_channels = chip_info->num_channels; in ad799x_probe()
Dad7793.c147 unsigned int num_channels; member
608 .num_channels = ARRAY_SIZE(ad7785_channels),
621 .num_channels = ARRAY_SIZE(ad7792_channels),
634 .num_channels = ARRAY_SIZE(ad7793_channels),
647 .num_channels = ARRAY_SIZE(ad7794_channels),
660 .num_channels = ARRAY_SIZE(ad7795_channels),
673 .num_channels = ARRAY_SIZE(ad7796_channels),
681 .num_channels = ARRAY_SIZE(ad7797_channels),
689 .num_channels = ARRAY_SIZE(ad7798_channels),
698 .num_channels = ARRAY_SIZE(ad7799_channels),
[all …]
Dad7923.c75 unsigned int num_channels; member
117 .num_channels = ARRAY_SIZE(ad7904_channels),
121 .num_channels = ARRAY_SIZE(ad7914_channels),
125 .num_channels = ARRAY_SIZE(ad7924_channels),
293 indio_dev->num_channels = info->num_channels; in ad7923_probe()
Drockchip_saradc.c48 int num_channels; member
148 .num_channels = ARRAY_SIZE(rockchip_saradc_iio_channels),
160 .num_channels = ARRAY_SIZE(rockchip_rk3066_tsadc_iio_channels),
176 .num_channels = ARRAY_SIZE(rockchip_rk3399_saradc_iio_channels),
327 indio_dev->num_channels = info->data->num_channels; in rockchip_saradc_probe()
Dmax1027.c186 unsigned int num_channels; member
193 .num_channels = ARRAY_SIZE(max1027_channels),
198 .num_channels = ARRAY_SIZE(max1029_channels),
203 .num_channels = ARRAY_SIZE(max1031_channels),
422 indio_dev->num_channels = st->info->num_channels; in max1027_probe()
426 indio_dev->num_channels, 2, in max1027_probe()
Dstm32-dfsdm-core.c22 unsigned int num_channels; member
62 .num_channels = STM32H7_DFSDM_NUM_CHANNELS,
77 .num_channels = STM32MP1_DFSDM_NUM_CHANNELS,
302 dfsdm->ch_list = devm_kcalloc(&pdev->dev, dev_data->num_channels, in stm32_dfsdm_probe()
307 dfsdm->num_chs = dev_data->num_channels; in stm32_dfsdm_probe()
Dat91_adc.c190 u8 num_channels; member
204 u8 num_channels; member
362 if (status & GENMASK(st->num_channels - 1, 0)) in at91_adc_rl_interrupt()
429 if (status & GENMASK(st->num_channels - 1, 0)) in at91_adc_9x5_interrupt()
483 idev->num_channels = bitmap_weight(&st->channels_mask, in at91_adc_channel_init()
484 st->num_channels) + 1; in at91_adc_channel_init()
487 ((idev->num_channels + 1) * in at91_adc_channel_init()
494 for_each_set_bit(bit, &st->channels_mask, st->num_channels) { in at91_adc_channel_init()
518 return idev->num_channels; in at91_adc_channel_init()
574 st->num_channels) { in at91_adc_configure_trigger()
[all …]
Dexynos_adc.c157 int num_channels; member
277 .num_channels = MAX_EXYNOS4212_ADC_CHANNELS,
289 .num_channels = MAX_ADC_V1_CHANNELS,
301 .num_channels = MAX_S5PV210_ADC_CHANNELS,
328 .num_channels = MAX_ADC_V1_CHANNELS,
349 .num_channels = MAX_ADC_V1_CHANNELS,
369 .num_channels = MAX_ADC_V1_CHANNELS,
378 .num_channels = MAX_ADC_V1_CHANNELS,
437 .num_channels = MAX_ADC_V2_CHANNELS,
449 .num_channels = MAX_EXYNOS3250_ADC_CHANNELS,
[all …]
/linux-4.19.296/drivers/iio/temperature/
Dmaxim_thermocouple.c83 u8 num_channels; member
93 .num_channels = ARRAY_SIZE(max6675_channels),
99 .num_channels = ARRAY_SIZE(max31855_channels),
223 indio_dev->num_channels = chip->num_channels; in maxim_thermocouple_probe()
/linux-4.19.296/drivers/iio/gyro/
Dadis16260.c108 unsigned int num_channels; member
158 .num_channels = ARRAY_SIZE(adis16260_channels),
164 .num_channels = ARRAY_SIZE(adis16260_channels),
170 .num_channels = ARRAY_SIZE(adis16266_channels),
381 indio_dev->num_channels = adis16260->info->num_channels; in adis16260_probe()

12345678910>>...12