.. | .. |
---|
1 | 1 | =========== |
---|
2 | 2 | HW consumer |
---|
3 | 3 | =========== |
---|
4 | | -An IIO device can be directly connected to another device in hardware. in this |
---|
| 4 | +An IIO device can be directly connected to another device in hardware. In this |
---|
5 | 5 | case the buffers between IIO provider and IIO consumer are handled by hardware. |
---|
6 | 6 | The Industrial I/O HW consumer offers a way to bond these IIO devices without |
---|
7 | 7 | software buffer for data. The implementation can be found under |
---|
8 | 8 | :file:`drivers/iio/buffer/hw-consumer.c` |
---|
9 | 9 | |
---|
10 | 10 | |
---|
11 | | -* struct :c:type:`iio_hw_consumer` — Hardware consumer structure |
---|
| 11 | +* struct iio_hw_consumer — Hardware consumer structure |
---|
12 | 12 | * :c:func:`iio_hw_consumer_alloc` — Allocate IIO hardware consumer |
---|
13 | 13 | * :c:func:`iio_hw_consumer_free` — Free IIO hardware consumer |
---|
14 | 14 | * :c:func:`iio_hw_consumer_enable` — Enable IIO hardware consumer |
---|
.. | .. |
---|
45 | 45 | |
---|
46 | 46 | More details |
---|
47 | 47 | ============ |
---|
48 | | -.. kernel-doc:: include/linux/iio/hw-consumer.h |
---|
49 | 48 | .. kernel-doc:: drivers/iio/buffer/industrialio-hw-consumer.c |
---|
50 | 49 | :export: |
---|
51 | 50 | |
---|