/Linux-v6.6/drivers/iio/dac/ |
D | ad5064.c | 81 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 …]
|
D | ad5686.c | 278 .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 …]
|
D | ltc2632.c | 35 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 …]
|
D | ad5449.c | 47 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 …]
|
D | ad5380.c | 42 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 …]
|
D | ad5360.c | 59 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 …]
|
D | ti-dac5571.c | 32 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()
|
D | ti-dac082s085.c | 24 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-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | selq.h | 30 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()
|
D | selq.c | 14 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-v6.6/drivers/iio/adc/ |
D | mcp320x.c | 66 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 …]
|
D | max1363.c | 135 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 …]
|
D | rcar-gyroadc.c | 69 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 …]
|
D | ad7923.c | 72 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()
|
D | ad7266.c | 307 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 …]
|
D | ti-ads7950.c | 118 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-v6.6/sound/soc/qcom/qdsp6/ |
D | audioreach.c | 626 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-v6.6/drivers/input/keyboard/ |
D | cap11xx.c | 92 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-v6.6/drivers/iio/potentiometer/ |
D | ds1803.c | 39 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-v6.6/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 94 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-v6.6/tools/iio/ |
D | iio_generic_buffer.c | 54 static unsigned 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-v6.6/sound/usb/ |
D | mixer_us16x08.c | 1097 .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-v6.6/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835.c | 14 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-v6.6/drivers/iio/chemical/ |
D | atlas-ezo-sensor.c | 32 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-v6.6/drivers/iio/imu/ |
D | adis16475.c | 87 u32 num_channels; member 658 .num_channels = ARRAY_SIZE(adis16475_channels), 673 .num_channels = ARRAY_SIZE(adis16475_channels), 688 .num_channels = ARRAY_SIZE(adis16475_channels), 703 .num_channels = ARRAY_SIZE(adis16475_channels), 718 .num_channels = ARRAY_SIZE(adis16475_channels), 734 .num_channels = ARRAY_SIZE(adis16475_channels), 750 .num_channels = ARRAY_SIZE(adis16475_channels), 766 .num_channels = ARRAY_SIZE(adis16475_channels), 781 .num_channels = ARRAY_SIZE(adis16475_channels), [all …]
|