linux/drivers/iio
Denis CIOCCA 607a568ab6 iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel
This patch introduce num_data_channels variable on st_sensors struct
to manage different type of channels (size or number) in
st_sensors_get_buffer_element function.
Removed ST_SENSORS_NUMBER_DATA_CHANNELS and ST_SENSORS_BYTE_FOR_CHANNEL
and used struct iio_chan_spec const *ch to catch data.
Added 3 byte channel data support on one-shot reads.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-06-05 18:41:23 +01:00
..
accel iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel 2013-06-05 18:41:23 +01:00
adc iio: at91_adc: Add missing CONFIG_OF macro 2013-06-04 18:29:49 +01:00
amplifiers iio:amplifiers:ad8366 move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:30 +00:00
common iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel 2013-06-05 18:41:23 +01:00
dac iio: dac: Fix build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m 2013-05-22 22:14:58 +01:00
frequency iio:freq:ad9523 move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:34 +00:00
gyro iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel 2013-06-05 18:41:23 +01:00
imu iio:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +00:00
light iio: Correct HID light sensor name in comments 2013-05-22 22:16:49 +01:00
magnetometer iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel 2013-06-05 18:41:23 +01:00
trigger iio:triggers:interrupt trigger - move out of staging. 2013-06-04 18:33:19 +01:00
buffer_cb.c iio: Update iio_channel_get_all and iio_channel_get_all_cb API 2013-02-02 11:58:46 +00:00
iio_core_trigger.h
iio_core.h iio: Add OF support 2013-03-16 10:17:59 +00:00
industrialio-buffer.c iio: buffer: cleanup messages in iio_update_buffers() 2013-05-22 22:16:47 +01:00
industrialio-core.c iio:core drop info_mask from struct iio_info 2013-03-17 19:49:44 +00:00
industrialio-event.c iio: events: Make iio_push_event() IRQ context save 2013-03-17 20:04:45 +00:00
industrialio-trigger.c iio: tweak language in industrialio-trigger comments 2013-02-06 18:40:05 +00:00
industrialio-triggered-buffer.c
inkern.c iio: Add OF support 2013-03-16 10:17:59 +00:00
Kconfig iio:trigger:sysfs Move out of staging. 2013-05-22 22:16:48 +01:00
kfifo_buf.c staging:iio: Remove noop call to __iio_update_buffer 2013-01-31 17:56:44 +00:00
Makefile iio:trigger:sysfs Move out of staging. 2013-05-22 22:16:48 +01:00