Home
last modified time | relevance | path

Searched refs:iio_channels (Results 1 – 10 of 10) sorted by relevance

/drivers/iio/common/scmi_sensors/
Dscmi_iio.c569 struct iio_chan_spec *iio_channels; in scmi_alloc_iiodev() local
595 iio_channels = in scmi_alloc_iiodev()
597 sizeof(*iio_channels) * (iiodev->num_channels), in scmi_alloc_iiodev()
599 if (!iio_channels) in scmi_alloc_iiodev()
616 scmi_iio_set_data_channel(&iio_channels[i], type, modifier, in scmi_alloc_iiodev()
631 scmi_iio_set_timestamp_channel(&iio_channels[i], i); in scmi_alloc_iiodev()
632 iiodev->channels = iio_channels; in scmi_alloc_iiodev()
/drivers/iio/adc/
Ddln2-adc.c60 struct iio_chan_spec iio_channels[DLN2_ADC_MAX_CHANNELS + 1]; member
640 DLN2_ADC_CHAN(dln2->iio_channels[i], i) in dln2_adc_probe()
641 IIO_CHAN_SOFT_TIMESTAMP_ASSIGN(dln2->iio_channels[i], i); in dln2_adc_probe()
646 indio_dev->channels = dln2->iio_channels; in dln2_adc_probe()
Dtwl6030-gpadc.c117 const struct iio_chan_spec *iio_channels; member
847 .iio_channels = twl6030_gpadc_iio_channels,
856 .iio_channels = twl6032_gpadc_iio_channels,
965 indio_dev->channels = pdata->iio_channels; in twl6030_gpadc_probe()
/drivers/iio/proximity/
Dsx_common.h90 const struct iio_chan_spec *iio_channels; member
Dsx_common.c523 indio_dev->channels = data->chip_info->iio_channels; in sx_common_probe()
Dsx9360.c803 .iio_channels = sx9360_channels,
Dsx9324.c1058 .iio_channels = sx9324_channels,
Dsx9310.c950 .iio_channels = sx9310_channels,
/drivers/iio/temperature/
Dltc2983.c205 u8 iio_channels; member
1293 st->iio_channels = st->num_channels; in ltc2983_parse_dt()
1345 st->iio_channels--; in ltc2983_parse_dt()
1511 st->iio_channels * sizeof(*st->iio_chan), in ltc2983_probe()
1528 indio_dev->num_channels = st->iio_channels; in ltc2983_probe()
/drivers/iio/
Dinkern.c538 static void devm_iio_channel_free_all(void *iio_channels) in devm_iio_channel_free_all() argument
540 iio_channel_release_all(iio_channels); in devm_iio_channel_free_all()