Home
last modified time | relevance | path

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

12345678910>>...23

/Linux-v5.15/drivers/iio/dac/
Dad5686.c277 .num_channels = 1,
283 .num_channels = 1,
289 .num_channels = 2,
295 .num_channels = 8,
301 .num_channels = 8,
307 .num_channels = 16,
313 .num_channels = 16,
319 .num_channels = 8,
324 .num_channels = 8,
330 .num_channels = 8,
[all …]
Dad5064.c81 unsigned int num_channels; member
455 .num_channels = nchannels, \
464 .num_channels = 4,
470 .num_channels = 2,
476 .num_channels = 4,
482 .num_channels = 2,
488 .num_channels = 4,
494 .num_channels = 4,
500 .num_channels = 2,
506 .num_channels = 4,
[all …]
Dltc2632.c34 const size_t num_channels; member
217 .num_channels = 2,
222 .num_channels = 2,
227 .num_channels = 2,
232 .num_channels = 2,
237 .num_channels = 2,
242 .num_channels = 2,
247 .num_channels = 4,
252 .num_channels = 4,
257 .num_channels = 4,
[all …]
Dad5449.c47 unsigned int num_channels; member
228 .num_channels = 1,
233 .num_channels = 2,
238 .num_channels = 1,
243 .num_channels = 2,
248 .num_channels = 1,
253 .num_channels = 2,
260 if (st->chip_info->num_channels == 1) in ad5449_vref_name()
288 for (i = 0; i < st->chip_info->num_channels; ++i) in ad5449_spi_probe()
291 ret = devm_regulator_bulk_get(&spi->dev, st->chip_info->num_channels, in ad5449_spi_probe()
[all …]
Dad5380.c43 unsigned int num_channels; member
276 .num_channels = 40,
281 .num_channels = 40,
286 .num_channels = 16,
291 .num_channels = 16,
296 .num_channels = 32,
301 .num_channels = 32,
306 .num_channels = 32,
311 .num_channels = 32,
316 .num_channels = 16,
[all …]
Dad5360.c59 unsigned int num_channels; member
122 .num_channels = 16,
128 .num_channels = 16,
134 .num_channels = 8,
140 .num_channels = 8,
146 .num_channels = 40,
152 .num_channels = 40,
158 .num_channels = 32,
164 .num_channels = 32,
442 channels = kcalloc(st->chip_info->num_channels, in ad5360_alloc_channels()
[all …]
Dti-dac5571.c30 u8 num_channels; member
35 [single_8bit] = {.num_channels = 1, .resolution = 8},
36 [single_10bit] = {.num_channels = 1, .resolution = 10},
37 [single_12bit] = {.num_channels = 1, .resolution = 12},
38 [quad_8bit] = {.num_channels = 4, .resolution = 8},
39 [quad_10bit] = {.num_channels = 4, .resolution = 10},
40 [quad_12bit] = {.num_channels = 4, .resolution = 12},
330 indio_dev->num_channels = spec->num_channels; in dac5571_probe()
343 switch (spec->num_channels) { in dac5571_probe()
357 for (i = 0; i < spec->num_channels; i++) { in dac5571_probe()
Dti-dac082s085.c24 u8 num_channels; member
29 [dual_8bit] = { .num_channels = 2, .resolution = 8 },
30 [dual_10bit] = { .num_channels = 2, .resolution = 10 },
31 [dual_12bit] = { .num_channels = 2, .resolution = 12 },
32 [quad_8bit] = { .num_channels = 4, .resolution = 8 },
33 [quad_10bit] = { .num_channels = 4, .resolution = 10 },
34 [quad_12bit] = { .num_channels = 4, .resolution = 12 },
285 indio_dev->num_channels = spec->num_channels; in ti_dac_probe()
Dmax517.c160 indio_dev->num_channels = 8; in max517_probe()
163 indio_dev->num_channels = 4; in max517_probe()
167 indio_dev->num_channels = 2; in max517_probe()
170 indio_dev->num_channels = 1; in max517_probe()
181 for (chan = 0; chan < indio_dev->num_channels; chan++) { in max517_probe()
/Linux-v5.15/drivers/iio/adc/
Dmcp320x.c66 unsigned int num_channels; member
135 if (adc->chip_info->num_channels > 1) in mcp320x_adc_conversion()
304 .num_channels = ARRAY_SIZE(mcp3201_channels),
309 .num_channels = ARRAY_SIZE(mcp3202_channels),
314 .num_channels = ARRAY_SIZE(mcp3204_channels),
319 .num_channels = ARRAY_SIZE(mcp3208_channels),
324 .num_channels = ARRAY_SIZE(mcp3201_channels),
329 .num_channels = ARRAY_SIZE(mcp3202_channels),
334 .num_channels = ARRAY_SIZE(mcp3204_channels),
339 .num_channels = ARRAY_SIZE(mcp3208_channels),
[all …]
Dmax1363.c136 int num_channels; member
1064 .num_channels = ARRAY_SIZE(max1361_channels),
1074 .num_channels = ARRAY_SIZE(max1361_channels),
1084 .num_channels = ARRAY_SIZE(max1363_channels),
1094 .num_channels = ARRAY_SIZE(max1363_channels),
1105 .num_channels = ARRAY_SIZE(max1036_channels),
1115 .num_channels = ARRAY_SIZE(max1036_channels),
1125 .num_channels = ARRAY_SIZE(max1038_channels),
1135 .num_channels = ARRAY_SIZE(max1038_channels),
1145 .num_channels = ARRAY_SIZE(max1136_channels),
[all …]
Drcar-gyroadc.c69 unsigned int num_channels; member
326 unsigned int num_channels; in rcar_gyroadc_parse_subdevs() local
342 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_1); in rcar_gyroadc_parse_subdevs()
347 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_2); in rcar_gyroadc_parse_subdevs()
352 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_3); in rcar_gyroadc_parse_subdevs()
376 if (reg >= num_channels) { in rcar_gyroadc_parse_subdevs()
379 num_channels, child, reg); in rcar_gyroadc_parse_subdevs()
412 priv->num_channels = num_channels; in rcar_gyroadc_parse_subdevs()
417 indio_dev->num_channels = num_channels; in rcar_gyroadc_parse_subdevs()
449 for (i = 0; i < priv->num_channels; i++) { in rcar_gyroadc_deinit_supplies()
[all …]
Dad7923.c71 unsigned int num_channels; member
132 .num_channels = ARRAY_SIZE(ad7904_channels),
136 .num_channels = ARRAY_SIZE(ad7914_channels),
140 .num_channels = ARRAY_SIZE(ad7924_channels),
144 .num_channels = ARRAY_SIZE(ad7908_channels),
148 .num_channels = ARRAY_SIZE(ad7918_channels),
152 .num_channels = ARRAY_SIZE(ad7928_channels),
170 for_each_set_bit(i, active_scan_mask, indio_dev->num_channels - 1) { in ad7923_update_scan_mode()
321 indio_dev->num_channels = info->num_channels; in ad7923_probe()
Dad7266.c306 unsigned int num_channels; member
316 .num_channels = ARRAY_SIZE(ad7266_channels_u),
321 .num_channels = ARRAY_SIZE(ad7266_channels_u_fixed),
326 .num_channels = ARRAY_SIZE(ad7266_channels_s),
331 .num_channels = ARRAY_SIZE(ad7266_channels_s_fixed),
336 .num_channels = ARRAY_SIZE(ad7266_channels_diff_u),
341 .num_channels = ARRAY_SIZE(ad7266_channels_diff_fixed_u),
346 .num_channels = ARRAY_SIZE(ad7266_channels_diff_s),
351 .num_channels = ARRAY_SIZE(ad7266_channels_diff_fixed_s),
371 indio_dev->num_channels = chan_info->num_channels; in ad7266_init_channels()
[all …]
Dti-ads7950.c118 unsigned int num_channels; member
231 .num_channels = ARRAY_SIZE(ti_ads7950_channels),
235 .num_channels = ARRAY_SIZE(ti_ads7951_channels),
239 .num_channels = ARRAY_SIZE(ti_ads7952_channels),
243 .num_channels = ARRAY_SIZE(ti_ads7953_channels),
247 .num_channels = ARRAY_SIZE(ti_ads7954_channels),
251 .num_channels = ARRAY_SIZE(ti_ads7955_channels),
255 .num_channels = ARRAY_SIZE(ti_ads7956_channels),
259 .num_channels = ARRAY_SIZE(ti_ads7957_channels),
263 .num_channels = ARRAY_SIZE(ti_ads7958_channels),
[all …]
Dmax1027.c192 unsigned int num_channels; member
199 .num_channels = ARRAY_SIZE(max1027_channels),
204 .num_channels = ARRAY_SIZE(max1029_channels),
209 .num_channels = ARRAY_SIZE(max1031_channels),
214 .num_channels = ARRAY_SIZE(max1227_channels),
219 .num_channels = ARRAY_SIZE(max1229_channels),
224 .num_channels = ARRAY_SIZE(max1231_channels),
442 indio_dev->num_channels = st->info->num_channels; in max1027_probe()
446 indio_dev->num_channels, 2, in max1027_probe()
/Linux-v5.15/tools/iio/
Diio_generic_buffer.c54 static int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument
59 while (i < num_channels) { in size_from_channelarray()
173 int num_channels) in process_scan() argument
177 for (k = 0; k < num_channels; k++) in process_scan()
344 int num_channels = 0; in main() local
540 ret = build_channel_array(dev_dir_name, buffer_idx, &channels, &num_channels); in main()
546 if (num_channels && autochannels == AUTOCHANNELS_ENABLED && in main()
553 if ((!num_channels && autochannels == AUTOCHANNELS_ENABLED) || in main()
567 &num_channels); in main()
574 if (!num_channels) { in main()
[all …]
/Linux-v5.15/sound/usb/
Dmixer_us16x08.c1097 .num_channels = 16,
1104 .num_channels = 16,
1111 .num_channels = 16,
1118 .num_channels = 16,
1125 .num_channels = 16,
1132 .num_channels = 16,
1139 .num_channels = 16,
1146 .num_channels = 16,
1153 .num_channels = 16,
1160 .num_channels = 16,
[all …]
/Linux-v5.15/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835.c15 static int num_channels = MAX_SUBSTREAMS; variable
24 module_param(num_channels, int, 0644);
25 MODULE_PARM_DESC(num_channels, "Number of audio channels (default: 8)");
301 if (num_channels <= 0 || num_channels > MAX_SUBSTREAMS) { in snd_bcm2835_alsa_probe()
302 num_channels = MAX_SUBSTREAMS; in snd_bcm2835_alsa_probe()
304 num_channels); in snd_bcm2835_alsa_probe()
311 err = snd_add_child_devices(dev, num_channels); in snd_bcm2835_alsa_probe()
/Linux-v5.15/drivers/iio/chemical/
Datlas-ezo-sensor.c30 int num_channels; member
86 .num_channels = 1,
91 .num_channels = 1,
96 .num_channels = 1,
223 indio_dev->num_channels = chip->num_channels; in atlas_ezo_probe()
/Linux-v5.15/drivers/input/keyboard/
Dcap11xx.c92 unsigned int num_channels; member
103 [CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0 },
104 [CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2 },
105 [CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8 },
338 if (!cap || !cap->num_channels) { in cap11xx_i2c_probe()
344 struct_size(priv, keycodes, cap->num_channels), in cap11xx_i2c_probe()
395 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
399 priv->keycodes, cap->num_channels); in cap11xx_i2c_probe()
423 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
430 priv->idev->keycodemax = cap->num_channels; in cap11xx_i2c_probe()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c316 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_create_queues()
322 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_create_queues()
333 i = hp->num_channels; in mlx5_hairpin_create_queues()
344 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_destroy_queues()
396 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_pair_queues()
405 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_pair_queues()
419 i = hp->num_channels; in mlx5_hairpin_pair_queues()
431 for (i = 0; i < hp->num_channels; i++) in mlx5_hairpin_unpair_peer_sq()
441 for (i = 0; i < hp->num_channels; i++) in mlx5_hairpin_unpair_queues()
457 size = sizeof(*hp) + params->num_channels * 2 * sizeof(u32); in mlx5_core_hairpin_create()
[all …]
/Linux-v5.15/drivers/hwmon/
Diio_hwmon.c28 int num_channels; member
90 while (st->channels[st->num_channels].indio_dev) in iio_hwmon_probe()
91 st->num_channels++; in iio_hwmon_probe()
94 st->num_channels + 1, sizeof(*st->attrs), in iio_hwmon_probe()
99 for (i = 0; i < st->num_channels; i++) { in iio_hwmon_probe()
/Linux-v5.15/drivers/iio/imu/
Dadis16475.c87 u32 num_channels; member
674 .num_channels = ARRAY_SIZE(adis16475_channels),
689 .num_channels = ARRAY_SIZE(adis16475_channels),
704 .num_channels = ARRAY_SIZE(adis16475_channels),
719 .num_channels = ARRAY_SIZE(adis16475_channels),
734 .num_channels = ARRAY_SIZE(adis16475_channels),
749 .num_channels = ARRAY_SIZE(adis16475_channels),
764 .num_channels = ARRAY_SIZE(adis16475_channels),
779 .num_channels = ARRAY_SIZE(adis16475_channels),
794 .num_channels = ARRAY_SIZE(adis16475_channels),
[all …]
/Linux-v5.15/drivers/phy/renesas/
Dphy-rcar-gen2.c67 int num_channels; member
74 const u32 num_channels; member
275 .num_channels = ARRAY_SIZE(pci_select_value),
281 .num_channels = ARRAY_SIZE(usb20_select_value),
320 for (i = 0; i < drv->num_channels; i++) { in rcar_gen2_phy_xlate()
325 if (i >= drv->num_channels || args->args[0] >= 2) in rcar_gen2_phy_xlate()
376 drv->num_channels = of_get_child_count(dev->of_node); in rcar_gen2_phy_probe()
377 drv->channels = devm_kcalloc(dev, drv->num_channels, in rcar_gen2_phy_probe()
393 if (error || channel_num >= data->num_channels) { in rcar_gen2_phy_probe()

12345678910>>...23