Revision 0632448134d0ac1450a19d26f90948fde3b558ad authored by Karicheri, Muralidharan on 19 February 2016, 17:58:44 UTC, committed by David S. Miller on 22 February 2016, 03:03:15 UTC
SW data field in descriptor can be used by software to hold private data for the driver. As there are 4 words available for this purpose, use separate macros to place it or retrieve the same to/from descriptors. Also do type cast of data types accordingly. Cc: Wingman Kwok <w-kwok2@ti.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> CC: Arnd Bergmann <arnd@arndb.de> CC: Grygorii Strashko <grygorii.strashko@ti.com> CC: David Laight <David.Laight@ACULAB.COM> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b1cb86a
File | Mode | Size |
---|---|---|
accel | ||
adc | ||
amplifiers | ||
buffer | ||
chemical | ||
common | ||
dac | ||
dummy | ||
frequency | ||
gyro | ||
health | ||
humidity | ||
imu | ||
light | ||
magnetometer | ||
orientation | ||
potentiometer | ||
pressure | ||
proximity | ||
temperature | ||
trigger | ||
Kconfig | -rw-r--r-- | 2.4 KB |
Makefile | -rw-r--r-- | 834 bytes |
iio_core.h | -rw-r--r-- | 2.4 KB |
iio_core_trigger.h | -rw-r--r-- | 1.3 KB |
industrialio-buffer.c | -rw-r--r-- | 35.3 KB |
industrialio-configfs.c | -rw-r--r-- | 1.2 KB |
industrialio-core.c | -rw-r--r-- | 34.7 KB |
industrialio-event.c | -rw-r--r-- | 13.8 KB |
industrialio-sw-trigger.c | -rw-r--r-- | 4.2 KB |
industrialio-trigger.c | -rw-r--r-- | 15.5 KB |
industrialio-triggered-event.c | -rw-r--r-- | 2.3 KB |
inkern.c | -rw-r--r-- | 15.0 KB |
Computing file changes ...