android_kernel_motorola_sm6225/include/linux/iio
Lars-Peter Clausen 225d59adf1 iio: Specify supported modes for buffers
For each buffer type specify the supported device modes for this buffer.
This allows us for devices which support multiple different operating modes
to pick the correct operating mode based on the modes supported by the
attached buffers.

It also prevents that buffers with conflicting modes are attached
to a device at the same time or that a buffer with a non-supported mode is
attached to a device (e.g. in-kernel callback buffer to a device only
supporting hardware mode).

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-06-01 11:31:12 +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: common: ssp_sensors: Add sensorhub driver 2015-01-29 18:49:05 +00:00
dac iio: max517: Add support for MAX520 and MAX521 chips. 2015-03-28 10:57:34 +00:00
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: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
consumer.h iio: consumer.h: Fix scale factor in function comment 2014-12-12 12:28:36 +00:00
driver.h iio: Simplify iio_map_array_unregister API 2013-02-02 12:02:20 +00:00
events.h iio: Export userspace IIO headers 2015-02-14 17:05:03 +00:00
iio.h iio: core: add high pass filter attributes 2015-05-17 10:32:35 +01:00
kfifo_buf.h iio: kfifo: Add resource management devm_iio_kfifo_allocate/free 2014-12-26 11:39:57 +00:00
machine.h staging:iio:in kernel users: Add a data field for channel specific info. 2012-11-10 10:17:27 +00:00
sysfs.h iio: Add INT_TIME (integration time) channel info attribute 2013-09-14 21:16:44 +01:00
trigger.h iio:trigger: modify return value for iio_trigger_get 2014-08-25 21:47:22 +01:00
trigger_consumer.h iio:trigger_consumer.h: Add missing includes and forward declarations 2012-08-27 18:57:59 +01:00
triggered_buffer.h iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
types.h iio: core: add high pass filter attributes 2015-05-17 10:32:35 +01:00