kernel-fxtec-pro1x/drivers/iio
Jonathan Cameron c559afbfb0 iio:kfifo_buf Take advantage of the fixed record size used in IIO
By bypassing the standard macros for setting up the kfifo we can
take advantage of the fixed record size implementation without
having to have a type to pass in (from which the size of an element
is normally established).

In IIO we have variable 'scans' as our records in which any element
can be present or not.  They do not however vary when we are
actually filling or reading from the buffer.  Thus we have a fixed
record size whenever we are actually running.  As setup and tear
down are not in the fast path we can take the overhead of reinitializing
the kfifo every time.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
2012-08-27 18:58:30 +01:00
..
adc iio:adc: Add common code for ADI Sigma Delta devices 2012-08-27 17:53:12 +01:00
amplifiers iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amplifier 2012-05-14 13:15:39 -07:00
dac iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next 2012-07-12 20:00:08 +01:00
frequency iio: frequency: ADF4350: Fix potential reference div factor overflow. 2012-08-16 20:24:33 +01:00
light iio: lm3533-als: Fix build warnings 2012-08-16 20:24:38 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c One new driver and a couple of nice cleanups. 2012-07-12 12:29:44 -07:00
industrialio-core.c IIO channel type and modifiers for CCT and RGBC data 2012-07-10 18:49:26 +01:00
industrialio-event.c iio: Fix unitialized use of list 2012-07-08 20:02:24 +01:00
industrialio-trigger.c iio:trigger: Register sysfs file statically 2012-07-08 10:39:58 +01:00
industrialio-triggered-buffer.c iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
inkern.c iio: use IIO_CHAN_INFO_RAW rather than 0 2012-08-27 18:24:45 +01:00
Kconfig Merge 3.5-rc4 into staging-next 2012-06-25 09:31:00 -07:00
kfifo_buf.c iio:kfifo_buf Take advantage of the fixed record size used in IIO 2012-08-27 18:58:30 +01:00
Makefile iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00