[PATCH] Staging:IIO add support for multiple buffers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Builds on top of the series
Staging:iio: Cleanup and refactor pre multibuffer. 

Why?
	Allows in kernel users of interrupt driven data flow.
	Various other cool things become possible (such as
	software thresholding for even purposes).

How. Basically this adds a list of buffers. The demux
unit then sends on the right data to each of the buffers
depending on what they have requested.

A lot of the complexity comes from inserting / removing buffers
but conceptually this is a simple case of tearing down the
current set and building up again with the new set of buffers.

In theory the overhead of all this if you don't have multiple
buffers should be near zero.

All comments welcome. Right now I really want to know if I have
broken anything.  The call back buffer is the first user of this
change but that can wait a little while.  If you want to see
that it hasn't changed since the original series.

Thanks,

Jonathan

Jonathan Cameron (1):
  staging:iio: Add support for multiple buffers

 drivers/staging/iio/accel/adis16201_ring.c      |    4 +-
 drivers/staging/iio/accel/adis16203_ring.c      |    6 +-
 drivers/staging/iio/accel/adis16204_ring.c      |    3 +-
 drivers/staging/iio/accel/adis16209_ring.c      |    3 +-
 drivers/staging/iio/accel/adis16240_ring.c      |    4 +-
 drivers/staging/iio/accel/lis3l02dq_ring.c      |    3 +-
 drivers/staging/iio/adc/ad7192.c                |    3 +-
 drivers/staging/iio/adc/ad7298_ring.c           |    5 +-
 drivers/staging/iio/adc/ad7476_ring.c           |    2 +-
 drivers/staging/iio/adc/ad7606_ring.c           |    3 +-
 drivers/staging/iio/adc/ad7793.c                |    3 +-
 drivers/staging/iio/adc/ad7887_ring.c           |    3 +-
 drivers/staging/iio/adc/ad799x_ring.c           |    3 +-
 drivers/staging/iio/adc/max1363_ring.c          |    2 +-
 drivers/staging/iio/buffer.h                    |   24 ++-
 drivers/staging/iio/gyro/adis16260_ring.c       |    3 +-
 drivers/staging/iio/iio.h                       |    2 +
 drivers/staging/iio/iio_simple_dummy_buffer.c   |    5 +-
 drivers/staging/iio/impedance-analyzer/ad5933.c |    3 +-
 drivers/staging/iio/imu/adis16400_ring.c        |    2 +-
 drivers/staging/iio/industrialio-buffer.c       |  354 +++++++++++++++--------
 drivers/staging/iio/industrialio-core.c         |    1 +
 drivers/staging/iio/meter/ade7758_ring.c        |    3 +-
 23 files changed, 276 insertions(+), 168 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux