brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 047b931 Raw
56 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Industrial I/O generic buffer implementations4#5# When adding new entries keep the list in alphabetical order6 7config IIO_BUFFER_CB8	tristate "IIO callback buffer used for push in-kernel interfaces"9	help10	  Should be selected by any drivers that do in-kernel push11	  usage.  That is, those where the data is pushed to the consumer.12 13config IIO_BUFFER_DMA14	tristate "Industrial I/O DMA buffer infrastructure"15	help16	  Provides the generic IIO DMA buffer infrastructure that can be used by17	  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 buffer20	  infrastructure.21 22config IIO_BUFFER_DMAENGINE23	tristate "Industrial I/O DMA buffer integration with DMAEngine"24	select IIO_BUFFER_DMA25	help26	  Provides a bonding of the generic IIO DMA buffer infrastructure with the27	  DMAEngine framework. This can be used by converter drivers with a DMA port28	  connected to an external DMA controller which is supported by the29	  DMAEngine framework.30 31	  Should be selected by drivers that want to use this functionality.32 33config IIO_BUFFER_HW_CONSUMER34	tristate "Industrial I/O HW buffering"35	help36	  Provides a way to bonding when an IIO device has a direct connection37	  to another device in hardware. In this case buffers for data transfers38	  are handled by hardware.39 40	  Should be selected by drivers that want to use the generic Hw consumer41	  interface.42 43config IIO_KFIFO_BUF44	tristate "Industrial I/O buffering based on kfifo"45	help46	  A simple fifo based on kfifo.  Note that this currently provides47	  no buffer events so it is up to userspace to work out how48	  often to read from the buffer.49 50config IIO_TRIGGERED_BUFFER51	tristate "Industrial I/O triggered buffer support"52	select IIO_TRIGGER53	select IIO_KFIFO_BUF54	help55	  Provides helper functions for setting up triggered buffers.56