linux/drivers/staging/iio
Lars-Peter Clausen 93e33d7030 staging:iio:ad7476: Avoid alloc/free for each sample in buffered mode
The ad7476 driver has only support for 1 channel ADCs. So the upper limit for
the buffer size is the size of one sample plus the size of the timestamp.
Preallocate a buffer large enough to hold this to avoid having to allocate and
free a new buffer for each sample being captured.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-09-13 20:25:49 +01:00
..
accel iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
adc staging:iio:ad7476: Avoid alloc/free for each sample in buffered mode 2012-09-13 20:25:49 +01:00
addac staging:iio:addac: Use dev_to_iio_dev() 2012-05-14 13:39:20 -07:00
cdc staging:iio: Request threaded-only IRQs with IRQF_ONESHOT 2012-07-08 20:02:24 +01:00
Documentation IIO: Add 4-byte unsigned reads into generic-buffer example 2012-08-16 20:16:19 +01:00
frequency staging:iio:frequency: Use dev_to_iio_dev() 2012-05-14 13:39:21 -07:00
gyro iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
impedance-analyzer iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
imu iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
light iio: isl29018: Support fractional ALS scaling. 2012-09-08 10:25:10 +01:00
magnetometer staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
meter iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
resolver staging:iio: Constify static iio_chan_spec arrays 2012-08-14 20:27:42 +01:00
trigger staging:iio:sysfs-trigger: Use irq_work to properly active trigger 2012-09-06 22:00:28 +01:00
iio_dummy_evgen.c staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
iio_dummy_evgen.h staging:iio:dummy Add event support + fake event generator 2011-10-17 15:36:30 -07:00
iio_hwmon.c staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
iio_simple_dummy_buffer.c iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
iio_simple_dummy_events.c staging: iio: Fix typo in iio 2012-05-08 16:04:12 -07:00
iio_simple_dummy.c staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
iio_simple_dummy.h staging:iio:dummy Add buffered reading support 2011-10-17 15:36:30 -07:00
Kconfig iio: fix spelling of subsystem 2012-09-03 20:26:44 +01:00
Makefile staging:iio: Move DAC drivers out of staging 2012-06-05 14:02:25 +09:00
ring_hw.h staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
ring_sw.c iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
ring_sw.h IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
TODO staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00