summaryrefslogtreecommitdiffstats
path: root/tools/iio/iio_utils.h
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-05-31 14:40:16 +0200
committerJonathan Cameron <jic23@kernel.org>2015-06-01 08:33:17 +0100
commit5dc65d791ddafc9f6d944391e379708b6056fc48 (patch)
tree6433521c1c8fec6b38ba5651364dc439f662e654 /tools/iio/iio_utils.h
parentacf50b3586f8d8a7530b905e111dda41876d38f4 (diff)
downloadlinux-5dc65d791ddafc9f6d944391e379708b6056fc48.tar.bz2
tools:iio:iio_utils: add missing documentation
Fully document public functions and elements. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio/iio_utils.h')
-rw-r--r--tools/iio/iio_utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/iio/iio_utils.h b/tools/iio/iio_utils.h
index 1bc837b2d769..e5eb46ade0a3 100644
--- a/tools/iio/iio_utils.h
+++ b/tools/iio/iio_utils.h
@@ -28,9 +28,12 @@ extern const char *iio_dir;
* @offset: offset to be applied for conversion to si units
* @index: the channel index in the buffer output
* @bytes: number of bytes occupied in buffer output
+ * @bits_used: number of valid bits of data
+ * @shift: amount of bits to shift right data before applying bit mask
* @mask: a bit mask for the raw output
+ * @be: flag if data is big endian
* @is_signed: is the raw value stored signed
- * @enabled: is this channel enabled
+ * @location: data offset for this channel inside the buffer (in bytes)
**/
struct iio_channel_info {
char *name;