linux_dsm_epyc7002/include/linux/iio
Lars-Peter Clausen 48e44ce0f8 iio:inkern: Add function to read the processed value
Add a function to read a processed value from a channel. The function will first
attempt to read the IIO_CHAN_INFO_PROCESSED attribute. If that fails it will
read the IIO_CHAN_INFO_RAW attribute and convert the result from a raw value to
a processed value.

The patch also introduces a function to convert raw value to a processed value
and exports it, in case a user needs or wants to do the conversion by itself.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-09-17 21:48:51 +01:00
..
adc
dac
frequency
buffer.h
consumer.h iio:inkern: Add function to read the processed value 2012-09-17 21:48:51 +01:00
driver.h
events.h
iio.h iio:inkern: Add function to read the processed value 2012-09-17 21:48:51 +01:00
kfifo_buf.h
machine.h
sysfs.h
trigger_consumer.h
trigger.h
triggered_buffer.h
types.h iio: Introduce a new fractional value type 2012-09-15 10:12:22 +01:00