Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Lars-Peter Clausen | 8548a63 | 2015-08-14 16:54:55 +0200 | [diff] [blame] | 2 | # |
| 3 | # Industrial I/O generic buffer implementations |
| 4 | # |
| 5 | # When adding new entries keep the list in alphabetical order |
| 6 | |
| 7 | config IIO_BUFFER_CB |
| 8 | tristate "IIO callback buffer used for push in-kernel interfaces" |
| 9 | help |
| 10 | Should be selected by any drivers that do in-kernel push |
| 11 | usage. That is, those where the data is pushed to the consumer. |
| 12 | |
Lars-Peter Clausen | 670b19a | 2015-10-13 18:10:28 +0200 | [diff] [blame] | 13 | config IIO_BUFFER_DMA |
Alexandru Ardelean | 3cd137f5 | 2020-09-24 14:17:56 +0300 | [diff] [blame] | 14 | tristate "Industrial I/O DMA buffer infrastructure" |
Lars-Peter Clausen | 670b19a | 2015-10-13 18:10:28 +0200 | [diff] [blame] | 15 | help |
| 16 | Provides the generic IIO DMA buffer infrastructure that can be used by |
| 17 | drivers for devices with DMA support to implement the IIO buffer. |
| 18 | |
| 19 | Should be selected by drivers that want to use the generic DMA buffer |
| 20 | infrastructure. |
| 21 | |
Lars-Peter Clausen | 2d6ca60 | 2015-10-13 18:10:29 +0200 | [diff] [blame] | 22 | config IIO_BUFFER_DMAENGINE |
Alexandru Ardelean | 3cd137f5 | 2020-09-24 14:17:56 +0300 | [diff] [blame] | 23 | tristate "Industrial I/O DMA buffer integration with DMAEngine" |
Lars-Peter Clausen | 2d6ca60 | 2015-10-13 18:10:29 +0200 | [diff] [blame] | 24 | select IIO_BUFFER_DMA |
| 25 | help |
| 26 | Provides a bonding of the generic IIO DMA buffer infrastructure with the |
Alexandru Ardelean | 3cd137f5 | 2020-09-24 14:17:56 +0300 | [diff] [blame] | 27 | DMAEngine framework. This can be used by converter drivers with a DMA port |
Lars-Peter Clausen | 2d6ca60 | 2015-10-13 18:10:29 +0200 | [diff] [blame] | 28 | connected to an external DMA controller which is supported by the |
Alexandru Ardelean | 3cd137f5 | 2020-09-24 14:17:56 +0300 | [diff] [blame] | 29 | DMAEngine framework. |
Lars-Peter Clausen | 2d6ca60 | 2015-10-13 18:10:29 +0200 | [diff] [blame] | 30 | |
| 31 | Should be selected by drivers that want to use this functionality. |
| 32 | |
Lars-Peter Clausen | 48b66f8 | 2018-01-10 11:13:03 +0100 | [diff] [blame] | 33 | config IIO_BUFFER_HW_CONSUMER |
| 34 | tristate "Industrial I/O HW buffering" |
| 35 | help |
| 36 | Provides a way to bonding when an IIO device has a direct connection |
| 37 | to another device in hardware. In this case buffers for data transfers |
| 38 | are handled by hardware. |
| 39 | |
| 40 | Should be selected by drivers that want to use the generic Hw consumer |
| 41 | interface. |
| 42 | |
Lars-Peter Clausen | 8548a63 | 2015-08-14 16:54:55 +0200 | [diff] [blame] | 43 | config IIO_KFIFO_BUF |
| 44 | tristate "Industrial I/O buffering based on kfifo" |
| 45 | help |
| 46 | A simple fifo based on kfifo. Note that this currently provides |
| 47 | no buffer events so it is up to userspace to work out how |
| 48 | often to read from the buffer. |
| 49 | |
| 50 | config IIO_TRIGGERED_BUFFER |
Alexandru Ardelean | c8283ba | 2020-09-24 14:17:58 +0300 | [diff] [blame] | 51 | tristate "Industrial I/O triggered buffer support" |
Lars-Peter Clausen | 8548a63 | 2015-08-14 16:54:55 +0200 | [diff] [blame] | 52 | select IIO_TRIGGER |
| 53 | select IIO_KFIFO_BUF |
| 54 | help |
| 55 | Provides helper functions for setting up triggered buffers. |