Searched refs:iio_channels (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/drivers/iio/adc/ |
D | ti-ads1119.c | 594 struct iio_chan_spec *iio_channels, *chan; in ads1119_alloc_and_config_channels() local 615 iio_channels = devm_kcalloc(dev, num_channels, sizeof(*iio_channels), in ads1119_alloc_and_config_channels() 617 if (!iio_channels) in ads1119_alloc_and_config_channels() 623 chan = &iio_channels[i]; in ads1119_alloc_and_config_channels() 664 iio_channels[i] = ads1119_ts; in ads1119_alloc_and_config_channels() 665 iio_channels[i].address = i; in ads1119_alloc_and_config_channels() 666 iio_channels[i].scan_index = i; in ads1119_alloc_and_config_channels() 668 indio_dev->channels = iio_channels; in ads1119_alloc_and_config_channels()
|
D | twl6030-gpadc.c | 118 const struct iio_chan_spec *iio_channels; member 848 .iio_channels = twl6030_gpadc_iio_channels, 857 .iio_channels = twl6032_gpadc_iio_channels, 963 indio_dev->channels = pdata->iio_channels; in twl6030_gpadc_probe()
|
D | dln2-adc.c | 60 struct iio_chan_spec iio_channels[DLN2_ADC_MAX_CHANNELS + 1]; member 638 DLN2_ADC_CHAN(dln2->iio_channels[i], i) in dln2_adc_probe() 639 IIO_CHAN_SOFT_TIMESTAMP_ASSIGN(dln2->iio_channels[i], i); in dln2_adc_probe() 644 indio_dev->channels = dln2->iio_channels; in dln2_adc_probe()
|
/linux-6.12.1/drivers/iio/dac/ |
D | ltc2664.c | 105 struct iio_chan_spec *iio_channels; member 564 st->iio_channels[reg].ext_info = ltc2664_toggle_sym_ext_info; in ltc2664_channel_config() 571 &st->iio_channels[reg].info_mask_separate); in ltc2664_channel_config() 623 st->iio_channels = devm_kcalloc(&st->spi->dev, in ltc2664_setup() 627 if (!st->iio_channels) in ltc2664_setup() 631 st->iio_channels[i] = ltc2664_channel_template; in ltc2664_setup() 632 st->iio_channels[i].type = chip_info->measurement_type; in ltc2664_setup() 633 st->iio_channels[i].channel = i; in ltc2664_setup() 703 indio_dev->channels = st->iio_channels; in ltc2664_probe()
|
/linux-6.12.1/drivers/iio/common/scmi_sensors/ |
D | scmi_iio.c | 573 struct iio_chan_spec *iio_channels; in scmi_alloc_iiodev() local 600 iio_channels = in scmi_alloc_iiodev() 602 sizeof(*iio_channels) * (iiodev->num_channels), in scmi_alloc_iiodev() 604 if (!iio_channels) in scmi_alloc_iiodev() 621 scmi_iio_set_data_channel(&iio_channels[i], type, modifier, in scmi_alloc_iiodev() 634 scmi_iio_set_timestamp_channel(&iio_channels[i], i); in scmi_alloc_iiodev() 635 iiodev->channels = iio_channels; in scmi_alloc_iiodev()
|
/linux-6.12.1/drivers/iio/proximity/ |
D | sx_common.h | 92 const struct iio_chan_spec *iio_channels; member
|
D | sx_common.c | 524 indio_dev->channels = data->chip_info->iio_channels; in sx_common_probe()
|
D | sx9360.c | 770 .iio_channels = sx9360_channels,
|
D | sx9310.c | 916 .iio_channels = sx9310_channels,
|
D | sx9324.c | 1041 .iio_channels = sx9324_channels,
|
/linux-6.12.1/drivers/iio/temperature/ |
D | ltc2983.c | 231 u8 iio_channels; member 1314 st->iio_channels = st->num_channels; in ltc2983_parse_fw() 1363 st->iio_channels--; in ltc2983_parse_fw() 1583 st->iio_channels * sizeof(*st->iio_chan), in ltc2983_probe() 1608 indio_dev->num_channels = st->iio_channels; in ltc2983_probe()
|
/linux-6.12.1/drivers/hid/ |
D | hid-mcp2221.c | 109 struct iio_chan_spec iio_channels[3]; member 1033 struct iio_chan_spec *chan = &mcp->iio_channels[cnt]; in mcp_iio_channels() 1101 indio_dev->channels = mcp->iio_channels; in mcp_init_work()
|
/linux-6.12.1/drivers/iio/ |
D | inkern.c | 520 static void devm_iio_channel_free_all(void *iio_channels) in devm_iio_channel_free_all() argument 522 iio_channel_release_all(iio_channels); in devm_iio_channel_free_all()
|