Lines Matching +full:buffer +full:- +full:enable
5 * struct :c:type:`iio_buffer` — general buffer structure
8 * :c:func:`iio_buffer_get` — Grab a reference to the buffer
9 * :c:func:`iio_buffer_put` — Release the reference to the buffer
15 IIO buffer sysfs interface
17 An IIO buffer has an associated attributes directory under
18 :file:`/sys/bus/iio/iio:device{X}/buffer/*`. Here are some of the existing
22 stored by the buffer.
23 * :file:`enable`, activate buffer capture.
25 IIO buffer setup
28 The meta information associated with a channel reading placed in a buffer is
34 * :file:`enable`, used for enabling a channel. If and only if its attribute
37 * :file:`type`, description of the scan element data storage within the buffer
44 buffer.
50 For example, a driver for a 3-axis accelerometer with 12 bit resolution where
51 data is stored in two 8-bits registers as follows::
54 +---+---+---+---+---+---+---+---+
56 +---+---+---+---+---+---+---+---+
59 +---+---+---+---+---+---+---+---+
61 +---+---+---+---+---+---+---+---+
68 A user space application will interpret data samples read from the buffer as
72 For implementing buffer support a driver should initialize the following
112 inside the buffer. Channels with a lower **scan_index** will be placed before
116 Setting **scan_index** to -1 can be used to indicate that the specific channel
122 .. kernel-doc:: include/linux/iio/buffer.h
123 .. kernel-doc:: drivers/iio/industrialio-buffer.c