Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/common/scmi_sensors/
Dscmi_iio.c573 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()
636 scmi_iio_set_timestamp_channel(&iio_channels[i], i); in scmi_alloc_iiodev()
637 iiodev->channels = iio_channels; in scmi_alloc_iiodev()
/Linux-v6.6/drivers/iio/adc/
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()
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()
/Linux-v6.6/drivers/iio/proximity/
Dsx_common.h92 const struct iio_chan_spec *iio_channels; member
Dsx_common.c527 indio_dev->channels = data->chip_info->iio_channels; in sx_common_probe()
Dsx9360.c803 .iio_channels = sx9360_channels,
Dsx9310.c950 .iio_channels = sx9310_channels,
Dsx9324.c1062 .iio_channels = sx9324_channels,
/Linux-v6.6/drivers/iio/temperature/
Dltc2983.c227 u8 iio_channels; member
1370 st->iio_channels = st->num_channels; in ltc2983_parse_dt()
1422 st->iio_channels--; in ltc2983_parse_dt()
1650 st->iio_channels * sizeof(*st->iio_chan), in ltc2983_probe()
1676 indio_dev->num_channels = st->iio_channels; in ltc2983_probe()
/Linux-v6.6/drivers/hid/
Dhid-mcp2221.c108 struct iio_chan_spec iio_channels[3]; member
1009 struct iio_chan_spec *chan = &mcp->iio_channels[cnt]; in mcp_iio_channels()
1077 indio_dev->channels = mcp->iio_channels; in mcp_init_work()
/Linux-v6.6/drivers/iio/
Dinkern.c539 static void devm_iio_channel_free_all(void *iio_channels) in devm_iio_channel_free_all() argument
541 iio_channel_release_all(iio_channels); in devm_iio_channel_free_all()