Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/common/scmi_sensors/
A 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-6.3-rc2/drivers/iio/adc/
A 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()
A 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-6.3-rc2/drivers/iio/proximity/
A Dsx_common.h90 const struct iio_chan_spec *iio_channels; member
A Dsx_common.c506 indio_dev->channels = data->chip_info->iio_channels; in sx_common_probe()
A Dsx9360.c803 .iio_channels = sx9360_channels,
A Dsx9310.c950 .iio_channels = sx9310_channels,
A Dsx9324.c1058 .iio_channels = sx9324_channels,
/linux-6.3-rc2/drivers/iio/temperature/
A 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-6.3-rc2/drivers/hid/
A 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-6.3-rc2/drivers/iio/
A 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()

Completed in 49 milliseconds