linux_dsm_epyc7002/include/linux/iio
Ivan T. Ivanov acd8256723 iio: inkern: Add of_xlate function to struct iio_info
When #iio-cells is greater than '0', the driver could provide
a custom of_xlate function that reads the *args* and returns
the appropriate index in registered IIO channels array.

Add simple translation function, suitable for the most 1:1
mapped channels in IIO chips, and use it when driver did not
provide custom implementation.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-10-25 11:03:40 +01:00
..
accel iio: accel: kxcjk1013 3-axis accelerometer driver 2014-06-14 17:10:21 +01:00
adc iio:adc:ad_sigma_delta move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:24 +00:00
common iio:imu: changed structure name from st_sensors to st_sensor_settings 2014-10-04 11:23:13 +01:00
dac
frequency iio: frequency: adf4350: cast value to unsigned to make code checkers happy 2013-06-04 18:36:52 +01:00
gyro itg3200: fix incorrect ifdef comment 2013-03-18 10:59:42 +01:00
imu iio: adis: Switch sampling frequency attr to core support. 2014-07-07 09:44:17 +01:00
buffer.h iio: Add data_available callback for buffers 2013-12-03 20:22:28 +00:00
consumer.h iio: inkern: add iio_read_channel_average_raw 2014-03-16 18:00:33 +00:00
driver.h iio: Simplify iio_map_array_unregister API 2013-02-02 12:02:20 +00:00
events.h iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
iio.h iio: inkern: Add of_xlate function to struct iio_info 2014-10-25 11:03:40 +01:00
kfifo_buf.h
machine.h
sysfs.h iio: Add INT_TIME (integration time) channel info attribute 2013-09-14 21:16:44 +01:00
trigger_consumer.h
trigger.h iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained() 2014-06-14 16:25:59 +01:00
triggered_buffer.h
types.h iio: types: Added support for rotation from north usage attributes 2014-07-20 13:34:45 +01:00