/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 | 270 .num_channels = 1, 276 .num_channels = 1, 282 .num_channels = 8, 288 .num_channels = 8, 294 .num_channels = 16, 300 .num_channels = 8, 305 .num_channels = 8, 311 .num_channels = 8, 317 .num_channels = 16, 323 .num_channels = 1, [all …]
|
D | ltc2632.c | 34 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 …]
|
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 | 43 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 …]
|
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 | 30 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()
|
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()
|
D | max517.c | 161 indio_dev->num_channels = 8; in max517_probe() 164 indio_dev->num_channels = 4; in max517_probe() 168 indio_dev->num_channels = 2; in max517_probe() 171 indio_dev->num_channels = 1; in max517_probe() 182 for (chan = 0; chan < indio_dev->num_channels; chan++) { in max517_probe()
|
/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 | 136 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 …]
|
D | rcar-gyroadc.c | 69 unsigned int num_channels; member 331 unsigned int num_channels; in rcar_gyroadc_parse_subdevs() local 347 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_1); in rcar_gyroadc_parse_subdevs() 352 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_2); in rcar_gyroadc_parse_subdevs() 357 num_channels = ARRAY_SIZE(rcar_gyroadc_iio_channels_3); in rcar_gyroadc_parse_subdevs() 381 if (reg >= num_channels) { in rcar_gyroadc_parse_subdevs() 384 num_channels, child, reg); in rcar_gyroadc_parse_subdevs() 417 priv->num_channels = num_channels; in rcar_gyroadc_parse_subdevs() 422 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 …]
|
D | ad7923.c | 71 unsigned int num_channels; member 133 .num_channels = ARRAY_SIZE(ad7904_channels), 137 .num_channels = ARRAY_SIZE(ad7914_channels), 141 .num_channels = ARRAY_SIZE(ad7924_channels), 145 .num_channels = ARRAY_SIZE(ad7908_channels), 149 .num_channels = ARRAY_SIZE(ad7918_channels), 153 .num_channels = ARRAY_SIZE(ad7928_channels), 171 for_each_set_bit(i, active_scan_mask, indio_dev->num_channels - 1) { in ad7923_update_scan_mode() 324 indio_dev->num_channels = info->num_channels; in ad7923_probe()
|
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 …]
|
D | ad7266.c | 306 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 …]
|
D | max1027.c | 192 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), 444 indio_dev->num_channels = st->info->num_channels; in max1027_probe() 448 indio_dev->num_channels, 2, in max1027_probe()
|
D | ad7949.c | 28 u8 num_channels; member 33 [ID_AD7949] = { .num_channels = 8, .resolution = 14 }, 34 [ID_AD7682] = { .num_channels = 4, .resolution = 16 }, 35 [ID_AD7689] = { .num_channels = 8, .resolution = 16 }, 257 indio_dev->num_channels = spec->num_channels; in ad7949_spi_probe()
|
/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835.c | 15 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()
|
/drivers/iio/imu/ |
D | adis16475.c | 86 u32 num_channels; member 595 .num_channels = ARRAY_SIZE(adis16475_channels), 610 .num_channels = ARRAY_SIZE(adis16475_channels), 625 .num_channels = ARRAY_SIZE(adis16475_channels), 640 .num_channels = ARRAY_SIZE(adis16475_channels), 655 .num_channels = ARRAY_SIZE(adis16475_channels), 670 .num_channels = ARRAY_SIZE(adis16475_channels), 685 .num_channels = ARRAY_SIZE(adis16475_channels), 700 .num_channels = ARRAY_SIZE(adis16475_channels), 715 .num_channels = ARRAY_SIZE(adis16475_channels), [all …]
|
/drivers/iio/chemical/ |
D | atlas-ezo-sensor.c | 30 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()
|
/drivers/input/keyboard/ |
D | cap11xx.c | 92 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 316 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 …]
|
/drivers/phy/renesas/ |
D | phy-rcar-gen2.c | 67 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() 378 drv->num_channels = of_get_child_count(dev->of_node); in rcar_gen2_phy_probe() 379 drv->channels = devm_kcalloc(dev, drv->num_channels, in rcar_gen2_phy_probe() 395 if (error || channel_num >= data->num_channels) { in rcar_gen2_phy_probe()
|
/drivers/hwmon/ |
D | iio_hwmon.c | 28 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()
|
/drivers/pwm/ |
D | pwm-tegra.c | 58 unsigned int num_channels; member 133 if (pc->soc->num_channels == 1) { in tegra_pwm_config() 291 pwm->chip.npwm = pwm->soc->num_channels; in tegra_pwm_probe() 334 .num_channels = 4, 339 .num_channels = 1, 344 .num_channels = 1,
|