Data is stored in the device in be16 format. Make use of be16_to_cpu and cpu_to_be16 to have correct endianness on any host architecture. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Reviewed-by: Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
|---|---|---|
| .. | ||
| accel | ||
| adc | ||
| amplifiers | ||
| common | ||
| dac | ||
| frequency | ||
| gyro | ||
| humidity | ||
| imu | ||
| light | ||
| magnetometer | ||
| orientation | ||
| pressure | ||
| proximity | ||
| temperature | ||
| trigger | ||
| Kconfig | ||
| Makefile | ||
| buffer_cb.c | ||
| iio_core.h | ||
| iio_core_trigger.h | ||
| industrialio-buffer.c | ||
| industrialio-core.c | ||
| industrialio-event.c | ||
| industrialio-trigger.c | ||
| industrialio-triggered-buffer.c | ||
| inkern.c | ||
| kfifo_buf.c | ||