remarkable-linux/include/linux/iio
Lars-Peter Clausen 647cc7b9be iio: Add data_available callback for buffers
This patch adds a new data_available() callback to the iio_buffer_access_funcs
struct. The callback is used to indicate whether data is available in the buffer
for reading. It is meant to replace the stufftoread flag from the iio_buffer
struct. The reasoning for this is that the buffer implementation usually can
determine whether data is available rather easily based on its state, on the
other hand it can be rather tricky to update the stufftoread flag in a race free
way.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-12-03 20:22:28 +00:00
..
adc
common iio: pressure-core: st: Provide support for the Vdd_IO power supply 2013-09-23 20:17:58 +01:00
dac
frequency
gyro
imu
buffer.h iio: Add data_available callback for buffers 2013-12-03 20:22:28 +00:00
consumer.h iio: iio_push_to_buffers(): Change type of 'data' to const void * 2013-09-15 19:02:07 +01:00
driver.h
events.h iio: Extend the event config interface 2013-10-12 12:32:19 +01:00
iio.h iio: core: Move kernel doc to the right location 2013-11-24 21:07:11 +00: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.h iio:trigger: Fix use_count race condition 2013-07-20 10:18:53 +01:00
trigger_consumer.h
triggered_buffer.h
types.h iio: Add a hysteresis event info attribute 2013-10-12 12:51:35 +01:00