zephyr/drivers/dma
Jun Li 74e320d859 api: dma: add api to retrieve runtime status
Some applications using DMA, such as UART RX, could
need to complete the current DMA transaction earlier than
predefined, based on other termination conditions,
like UART's IDLE interrupts.

In that case, the client needs to know how many data are
still left in DMA transfer buffer so that it can figure
out how many data has been transfered. However, the current
DMA API doesn't provide any information for the client
to learn the transfer buffer information.

And some other information, like whether DMA transfer is busy
or not, transfer direction, etc, could interest a client.

So, added a dma API function to retrieve the current DMA
runtime status.

And implemented the API for STM32F4's DMA while keeping
others unimplemented.

Signed-off-by: Jun Li <jun.r.li@intel.com>
2019-05-07 22:14:36 -04:00
..
CMakeLists.txt drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
Kconfig drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
Kconfig.cavs drivers: dma: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.nios2_msgdma drivers: dma: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.qmsi drivers: dma: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.sam0 drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
Kconfig.sam_xdmac drivers: dma: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.stm32f4x drivers/dma: dma_stm32f4x: use dma_slot to select peripheral 2018-07-05 11:24:59 -05:00
dma_cavs.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
dma_cavs.h drivers: dma_cavs: add buffer refresh/reload 2018-11-05 08:48:36 -05:00
dma_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
dma_nios2_msgdma.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
dma_qmsi.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
dma_sam0.c drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
dma_sam_xdmac.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
dma_sam_xdmac.h dma: use user data in callback 2018-10-16 16:58:19 -04:00
dma_stm32f4x.c api: dma: add api to retrieve runtime status 2019-05-07 22:14:36 -04:00