Home
last modified time | relevance | path

Searched hist:"37 d3455672732b29a477732a94abfe95e199f0ce" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/linux/iio/
H A Dbuffer.hdiff 37d3455672732b29a477732a94abfe95e199f0ce Sun Mar 22 13:33:38 CDT 2015 Josselin Costanzi <josselin.costanzi@mobile-devices.fr> iio: add watermark logic to iio read and poll

Currently the IIO buffer blocking read only wait until at least one
data element is available.
This patch makes the reader sleep until enough data is collected before
returning to userspace. This should limit the read() calls count when
trying to get data in batches.

Co-author: Yannick Bedhomme <yannick.bedhomme@mobile-devices.fr>
Signed-off-by: Josselin Costanzi <josselin.costanzi@mobile-devices.fr>
[rebased and remove buffer timeout]
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iiodiff 37d3455672732b29a477732a94abfe95e199f0ce Sun Mar 22 13:33:38 CDT 2015 Josselin Costanzi <josselin.costanzi@mobile-devices.fr> iio: add watermark logic to iio read and poll

Currently the IIO buffer blocking read only wait until at least one
data element is available.
This patch makes the reader sleep until enough data is collected before
returning to userspace. This should limit the read() calls count when
trying to get data in batches.

Co-author: Yannick Bedhomme <yannick.bedhomme@mobile-devices.fr>
Signed-off-by: Josselin Costanzi <josselin.costanzi@mobile-devices.fr>
[rebased and remove buffer timeout]
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
/openbmc/linux/drivers/iio/
H A Dindustrialio-buffer.cdiff 37d3455672732b29a477732a94abfe95e199f0ce Sun Mar 22 13:33:38 CDT 2015 Josselin Costanzi <josselin.costanzi@mobile-devices.fr> iio: add watermark logic to iio read and poll

Currently the IIO buffer blocking read only wait until at least one
data element is available.
This patch makes the reader sleep until enough data is collected before
returning to userspace. This should limit the read() calls count when
trying to get data in batches.

Co-author: Yannick Bedhomme <yannick.bedhomme@mobile-devices.fr>
Signed-off-by: Josselin Costanzi <josselin.costanzi@mobile-devices.fr>
[rebased and remove buffer timeout]
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>