Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Industrial I/O generic buffer implementations
  4. #
  5. # When adding new entries keep the list in alphabetical order
  6. config IIO_BUFFER_CB
  7. tristate "IIO callback buffer used for push in-kernel interfaces"
  8. help
  9. Should be selected by any drivers that do in-kernel push
  10. usage. That is, those where the data is pushed to the consumer.
  11. config IIO_BUFFER_DMA
  12. tristate "Industrial I/O DMA buffer infrastructure"
  13. help
  14. Provides the generic IIO DMA buffer infrastructure that can be used by
  15. drivers for devices with DMA support to implement the IIO buffer.
  16. Should be selected by drivers that want to use the generic DMA buffer
  17. infrastructure.
  18. config IIO_BUFFER_DMAENGINE
  19. tristate "Industrial I/O DMA buffer integration with DMAEngine"
  20. select IIO_BUFFER_DMA
  21. help
  22. Provides a bonding of the generic IIO DMA buffer infrastructure with the
  23. DMAEngine framework. This can be used by converter drivers with a DMA port
  24. connected to an external DMA controller which is supported by the
  25. DMAEngine framework.
  26. Should be selected by drivers that want to use this functionality.
  27. config IIO_BUFFER_HW_CONSUMER
  28. tristate "Industrial I/O HW buffering"
  29. help
  30. Provides a way to bonding when an IIO device has a direct connection
  31. to another device in hardware. In this case buffers for data transfers
  32. are handled by hardware.
  33. Should be selected by drivers that want to use the generic Hw consumer
  34. interface.
  35. config IIO_KFIFO_BUF
  36. tristate "Industrial I/O buffering based on kfifo"
  37. help
  38. A simple fifo based on kfifo. Note that this currently provides
  39. no buffer events so it is up to userspace to work out how
  40. often to read from the buffer.
  41. config IIO_TRIGGERED_BUFFER
  42. tristate "Industrial I/O triggered buffer support"
  43. select IIO_TRIGGER
  44. select IIO_KFIFO_BUF
  45. help
  46. Provides helper functions for setting up triggered buffers.