Home
last modified time | relevance | path

Searched refs:scan_chan (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dti-adc0832.c216 const struct iio_chan_spec *scan_chan = in adc0832_trigger_handler() local
218 int ret = adc0832_adc_conversion(adc, scan_chan->channel, in adc0832_trigger_handler()
219 scan_chan->differential); in adc0832_trigger_handler()
H A Dmax1118.c179 const struct iio_chan_spec *scan_chan = in max1118_trigger_handler() local
181 int ret = max1118_read(indio_dev, scan_chan->channel); in max1118_trigger_handler()
H A Dti-adc12138.c349 const struct iio_chan_spec *scan_chan = in adc12138_trigger_handler() local
354 ret = adc12138_start_and_read_conv(adc, scan_chan, in adc12138_trigger_handler()
H A Dmcp3911.c363 const struct iio_chan_spec *scan_chan = &indio_dev->channels[scan_index]; in mcp3911_trigger_handler() local
365 adc->scan.channels[i] = get_unaligned_be24(&adc->rx_buf[scan_chan->channel * 3]); in mcp3911_trigger_handler()