Lines Matching refs:channels
39 struct iio_channel *channels; member
118 val_x = adc_ts_measure(&vf50_ts->channels[0], in vf50_ts_irq_bh()
124 val_y = adc_ts_measure(&vf50_ts->channels[1], in vf50_ts_irq_bh()
133 val_z1 = adc_ts_measure(&vf50_ts->channels[2], in vf50_ts_irq_bh()
137 val_z2 = adc_ts_measure(&vf50_ts->channels[3], in vf50_ts_irq_bh()
256 struct iio_channel *channels = data; in vf50_ts_channel_release() local
258 iio_channel_release_all(channels); in vf50_ts_channel_release()
264 struct iio_channel *channels; in vf50_ts_probe() local
270 channels = iio_channel_get_all(dev); in vf50_ts_probe()
271 if (IS_ERR(channels)) in vf50_ts_probe()
272 return PTR_ERR(channels); in vf50_ts_probe()
274 error = devm_add_action(dev, vf50_ts_channel_release, channels); in vf50_ts_probe()
276 iio_channel_release_all(channels); in vf50_ts_probe()
282 while (channels[num_adc_channels].indio_dev) in vf50_ts_probe()
295 touchdev->channels = channels; in vf50_ts_probe()