Searched refs:iio_chans (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/input/touchscreen/ |
| D | resistive-adc-touch.c | 37 struct iio_channel *iio_chans; member 110 st->iio_chans = devm_iio_channel_get_all(dev); in grts_probe() 111 if (IS_ERR(st->iio_chans)) { in grts_probe() 112 error = PTR_ERR(st->iio_chans); in grts_probe() 118 chan = &st->iio_chans[0]; in grts_probe()
|
| /Linux-v5.4/drivers/iio/adc/ |
| D | qcom-spmi-adc5.c | 139 struct iio_chan_spec *iio_chans; member 684 adc->iio_chans = devm_kcalloc(adc->dev, adc->nchannels, in adc5_get_dt_data() 685 sizeof(*adc->iio_chans), GFP_KERNEL); in adc5_get_dt_data() 686 if (!adc->iio_chans) in adc5_get_dt_data() 695 iio_chan = adc->iio_chans; in adc5_get_dt_data() 781 indio_dev->channels = adc->iio_chans; in adc5_probe()
|
| D | qcom-spmi-vadc.c | 118 struct iio_chan_spec *iio_chans; member 492 if (vadc->iio_chans[i].channel == iiospec->args[0]) in vadc_of_xlate() 748 vadc->iio_chans = devm_kcalloc(vadc->dev, vadc->nchannels, in vadc_get_dt_data() 749 sizeof(*vadc->iio_chans), GFP_KERNEL); in vadc_get_dt_data() 750 if (!vadc->iio_chans) in vadc_get_dt_data() 758 iio_chan = vadc->iio_chans; in vadc_get_dt_data() 915 indio_dev->channels = vadc->iio_chans; in vadc_probe()
|
| D | qcom-pm8xxx-xoadc.c | 408 struct iio_chan_spec *iio_chans; member 837 adc->iio_chans = devm_kcalloc(adc->dev, adc->nchans, in pm8xxx_xoadc_parse_channels() 838 sizeof(*adc->iio_chans), GFP_KERNEL); in pm8xxx_xoadc_parse_channels() 839 if (!adc->iio_chans) in pm8xxx_xoadc_parse_channels() 852 &adc->iio_chans[i], in pm8xxx_xoadc_parse_channels() 941 indio_dev->channels = adc->iio_chans; in pm8xxx_xoadc_probe()
|