Home
last modified time | relevance | path

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

12345678910>>...27

/linux-6.6.21/drivers/iio/dac/
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 …]
Dad5686.c278 .num_channels = 1,
284 .num_channels = 1,
290 .num_channels = 2,
296 .num_channels = 2,
302 .num_channels = 8,
308 .num_channels = 8,
314 .num_channels = 16,
320 .num_channels = 16,
326 .num_channels = 8,
331 .num_channels = 8,
[all …]
Dltc2632.c35 const size_t num_channels; member
218 .num_channels = 2,
223 .num_channels = 2,
228 .num_channels = 2,
233 .num_channels = 2,
238 .num_channels = 2,
243 .num_channels = 2,
248 .num_channels = 4,
253 .num_channels = 4,
258 .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.c42 unsigned int num_channels; member
274 .num_channels = 40,
279 .num_channels = 40,
284 .num_channels = 16,
289 .num_channels = 16,
294 .num_channels = 32,
299 .num_channels = 32,
304 .num_channels = 32,
309 .num_channels = 32,
314 .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.c32 u8 num_channels; member
37 [single_8bit] = {.num_channels = 1, .resolution = 8},
38 [single_10bit] = {.num_channels = 1, .resolution = 10},
39 [single_12bit] = {.num_channels = 1, .resolution = 12},
40 [quad_8bit] = {.num_channels = 4, .resolution = 8},
41 [quad_10bit] = {.num_channels = 4, .resolution = 10},
42 [quad_12bit] = {.num_channels = 4, .resolution = 12},
339 indio_dev->num_channels = spec->num_channels; in dac5571_probe()
352 switch (spec->num_channels) { in dac5571_probe()
366 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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dselq.h30 static inline u16 mlx5e_txq_to_ch_ix(u16 txq, u16 num_channels) in mlx5e_txq_to_ch_ix() argument
32 while (unlikely(txq >= num_channels)) in mlx5e_txq_to_ch_ix()
33 txq -= num_channels; in mlx5e_txq_to_ch_ix()
37 static inline u16 mlx5e_txq_to_ch_ix_htb(u16 txq, u16 num_channels) in mlx5e_txq_to_ch_ix_htb() argument
39 if (unlikely(txq >= num_channels)) { in mlx5e_txq_to_ch_ix_htb()
40 if (unlikely(txq >= num_channels << 3)) in mlx5e_txq_to_ch_ix_htb()
41 txq %= num_channels; in mlx5e_txq_to_ch_ix_htb()
44 txq -= num_channels; in mlx5e_txq_to_ch_ix_htb()
45 while (txq >= num_channels); in mlx5e_txq_to_ch_ix_htb()
Dselq.c14 unsigned int num_channels; member
46 .num_channels = 1, in mlx5e_selq_init()
84 selq->standby->num_channels = params->num_channels; in mlx5e_selq_prepare_params()
87 selq->standby->num_channels * selq->standby->num_tcs; in mlx5e_selq_prepare_params()
221 return mlx5e_txq_to_ch_ix(txq_ix, selq->num_channels) + in mlx5e_select_queue()
222 up * selq->num_channels; in mlx5e_select_queue()
233 return selq->num_channels; in mlx5e_select_queue()
242 return mlx5e_txq_to_ch_ix_htb(txq_ix, selq->num_channels); in mlx5e_select_queue()
258 txq_ix = mlx5e_txq_to_ch_ix(txq_ix, selq->num_channels); in mlx5e_select_queue()
265 return txq_ix + up * selq->num_channels; in mlx5e_select_queue()
/linux-6.6.21/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.c135 int num_channels; member
1061 .num_channels = ARRAY_SIZE(max1361_channels),
1071 .num_channels = ARRAY_SIZE(max1361_channels),
1081 .num_channels = ARRAY_SIZE(max1363_channels),
1091 .num_channels = ARRAY_SIZE(max1363_channels),
1102 .num_channels = ARRAY_SIZE(max1036_channels),
1112 .num_channels = ARRAY_SIZE(max1036_channels),
1122 .num_channels = ARRAY_SIZE(max1038_channels),
1132 .num_channels = ARRAY_SIZE(max1038_channels),
1142 .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.c72 unsigned int num_channels; member
134 .num_channels = ARRAY_SIZE(ad7904_channels),
138 .num_channels = ARRAY_SIZE(ad7914_channels),
142 .num_channels = ARRAY_SIZE(ad7924_channels),
146 .num_channels = ARRAY_SIZE(ad7908_channels),
150 .num_channels = ARRAY_SIZE(ad7918_channels),
154 .num_channels = ARRAY_SIZE(ad7928_channels),
172 for_each_set_bit(i, active_scan_mask, indio_dev->num_channels - 1) { in ad7923_update_scan_mode()
328 indio_dev->num_channels = info->num_channels; in ad7923_probe()
Dad7266.c307 unsigned int num_channels; member
317 .num_channels = ARRAY_SIZE(ad7266_channels_u),
322 .num_channels = ARRAY_SIZE(ad7266_channels_u_fixed),
327 .num_channels = ARRAY_SIZE(ad7266_channels_s),
332 .num_channels = ARRAY_SIZE(ad7266_channels_s_fixed),
337 .num_channels = ARRAY_SIZE(ad7266_channels_diff_u),
342 .num_channels = ARRAY_SIZE(ad7266_channels_diff_fixed_u),
347 .num_channels = ARRAY_SIZE(ad7266_channels_diff_s),
352 .num_channels = ARRAY_SIZE(ad7266_channels_diff_fixed_s),
372 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 …]
/linux-6.6.21/sound/soc/qcom/qdsp6/
Daudioreach.c626 hw_cfg->mf.num_channels = cfg->num_channels; in audioreach_display_port_set_media_format()
695 hw_cfg->mf.num_channels = cfg->num_channels; in audioreach_codec_dma_set_media_format()
717 intf_cfg->cfg.active_channels_mask = (1 << cfg->num_channels) - 1; in audioreach_codec_dma_set_media_format()
804 uint32_t num_channels = cfg->num_channels; in audioreach_mfc_set_media_format() local
810 payload_size = APM_MFC_CFG_PSIZE(media_format, num_channels) + in audioreach_mfc_set_media_format()
823 param_data->param_size = APM_MFC_CFG_PSIZE(media_format, num_channels); in audioreach_mfc_set_media_format()
829 media_format->num_channels = cfg->num_channels; in audioreach_mfc_set_media_format()
831 if (num_channels == 1) { in audioreach_mfc_set_media_format()
833 } else if (num_channels == 2) { in audioreach_mfc_set_media_format()
865 mp3_cfg->num_channels = mcfg->num_channels; in audioreach_set_compr_media_format()
[all …]
/linux-6.6.21/drivers/input/keyboard/
Dcap11xx.c92 unsigned int num_channels; member
108 [CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0, .no_gain = false },
109 [CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2, .no_gain = false },
110 [CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8, .no_gain = false },
111 [CAP1203] = { .product_id = 0x6d, .num_channels = 3, .num_leds = 0, .no_gain = true },
112 [CAP1206] = { .product_id = 0x67, .num_channels = 6, .num_leds = 0, .no_gain = true },
113 [CAP1293] = { .product_id = 0x6f, .num_channels = 3, .num_leds = 0, .no_gain = false },
114 [CAP1298] = { .product_id = 0x71, .num_channels = 8, .num_leds = 0, .no_gain = false },
347 if (!cap || !cap->num_channels) { in cap11xx_i2c_probe()
353 struct_size(priv, keycodes, cap->num_channels), in cap11xx_i2c_probe()
[all …]
/linux-6.6.21/drivers/iio/potentiometer/
Dds1803.c39 u8 num_channels; member
77 ret = i2c_master_recv(data->client, result, indio_dev->num_channels); in ds1803_read()
106 .num_channels = ARRAY_SIZE(ds1803_channels),
114 .num_channels = ARRAY_SIZE(ds1803_channels),
122 .num_channels = ARRAY_SIZE(ds1803_channels),
130 .num_channels = ARRAY_SIZE(ds3502_channels),
226 indio_dev->num_channels = data->cfg->num_channels; in ds1803_probe()
/linux-6.6.21/drivers/leds/rgb/
Dleds-qcom-lpg.c94 unsigned int num_channels; member
175 unsigned int num_channels; member
205 int num_channels; member
554 } else if (count != lpg->data->num_channels * 2) { in lpg_parse_dtest()
556 lpg->data->num_channels * 2); in lpg_parse_dtest()
560 for (i = 0; i < lpg->data->num_channels; i++) { in lpg_parse_dtest()
616 for (i = 0; i < led->num_channels; i++) { in lpg_brightness_set()
706 for (i = 0; i < led->num_channels; i++) { in lpg_blink_set()
887 for (i = 0; i < led->num_channels; i++) { in lpg_pattern_set()
954 for (i = 0; i < led->num_channels; i++) { in lpg_pattern_clear()
[all …]
/linux-6.6.21/tools/iio/
Diio_generic_buffer.c54 static unsigned int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument
60 while (i < num_channels) { in size_from_channelarray()
184 int num_channels) in process_scan() argument
188 for (k = 0; k < num_channels; k++) in process_scan()
355 int num_channels = 0; in main() local
551 ret = build_channel_array(dev_dir_name, buffer_idx, &channels, &num_channels); in main()
557 if (num_channels && autochannels == AUTOCHANNELS_ENABLED && in main()
564 if ((!num_channels && autochannels == AUTOCHANNELS_ENABLED) || in main()
578 &num_channels); in main()
585 if (!num_channels) { in main()
[all …]
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835.c14 static int num_channels = MAX_SUBSTREAMS; variable
20 module_param(num_channels, int, 0644);
21 MODULE_PARM_DESC(num_channels, "Number of audio channels (default: 8)");
276 if (num_channels <= 0 || num_channels > MAX_SUBSTREAMS) { in snd_bcm2835_alsa_probe()
277 num_channels = MAX_SUBSTREAMS; in snd_bcm2835_alsa_probe()
279 num_channels); in snd_bcm2835_alsa_probe()
286 err = snd_add_child_devices(dev, num_channels); in snd_bcm2835_alsa_probe()
/linux-6.6.21/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-6.6.21/drivers/iio/chemical/
Datlas-ezo-sensor.c32 int num_channels; member
88 .num_channels = 1,
93 .num_channels = 1,
98 .num_channels = 1,
225 indio_dev->num_channels = chip->num_channels; in atlas_ezo_probe()
/linux-6.6.21/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 …]

12345678910>>...27