zephyr/drivers/dma
Marco Widmer 32b4388ba8 drivers: dma: stm32: do not clear busy flag in cyclic mode
The STM32 DMA driver supports cyclic mode by setting source_reload_en
and dest_reload_en. This causes the dma_callback to be called twice per
buffer run-through, at half-time and when wrapping back to the start of
the buffer.

However, the current implementation only calls dma_callback twice. When
wrapping the first time, it sets stream->busy to false and ignores
subsequent interrupts.

With this change, the busy flag is only cleared in non-cyclic mode.

Signed-off-by: Marco Widmer <marco.widmer@bytesatwork.ch>
2024-01-24 14:56:24 +01:00
..
CMakeLists.txt drivers: dma: Introduce driver for NXP's eDMA IP 2024-01-23 10:54:21 -05:00
dma_andes_atcdmac300.c drivers: dma: Add Andestech atcdmac300 driver. 2023-10-20 14:51:08 +02:00
dma_dw_common.c drivers: dma: intel_adsp_gpdma: fix issue with stop and PM refcounts 2023-12-15 11:32:41 +00:00
dma_dw_common.h drivers: dma: dma_intel_lpss: Added intel LPSS DMA interface 2023-05-26 10:06:00 -04:00
dma_dw.c
dma_emul.c drivers: dma: add emulated dma driver 2023-12-03 19:22:31 -05:00
dma_esp32_gdma.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
dma_gd32.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
dma_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
dma_intel_adsp_gpdma.c tests: dma_loopback: Intel ADSP ACE15 disable PM 2023-10-23 10:01:09 -05:00
dma_intel_adsp_hda_host_in.c drivers: hda: use interrupt for timing L1 exit on host DMA 2023-08-31 09:59:10 -04:00
dma_intel_adsp_hda_host_out.c drivers: hda: use interrupt for timing L1 exit on host DMA 2023-08-31 09:59:10 -04:00
dma_intel_adsp_hda_link_in.c drivers: hda: use interrupt for timing L1 exit on host DMA 2023-08-31 09:59:10 -04:00
dma_intel_adsp_hda_link_out.c drivers: hda: use interrupt for timing L1 exit on host DMA 2023-08-31 09:59:10 -04:00
dma_intel_adsp_hda.c drivers: dma: intel-adsp-hda: add delay to stop host dma 2024-01-12 15:56:30 -05:00
dma_intel_adsp_hda.h drivers: hda: use interrupt for timing L1 exit on host DMA 2023-08-31 09:59:10 -04:00
dma_intel_lpss.c drivers: dma: intel_lpss: enable reload API for 32bit DMA address 2023-12-22 09:52:59 +01:00
dma_iproc_pax_v1.c dma: callback with 2 status codes for successful transfers 2023-05-08 09:57:32 +02:00
dma_iproc_pax_v1.h
dma_iproc_pax_v2.c dma: iproc_pax_v2: delay initialization after pcie 2023-07-19 20:22:03 +00:00
dma_iproc_pax_v2.h
dma_iproc_pax.h
dma_mchp_xec.c drivers: dma: remove unnecessary null check 2023-08-15 11:16:19 +00:00
dma_mcux_edma.c drivers: dma_mcux_edma: add support dma driver for s32k344 2023-09-27 14:02:09 -05:00
dma_mcux_edma.h
dma_mcux_lpc.c drivers: dma_lpc: Suppport dest_scatter and source_gather 2023-12-15 14:04:52 +01:00
dma_mcux_pxp.c drivers: dma_pxp: Update to the PXP DMA per SDK 2.14 changes 2023-09-19 13:36:13 -05:00
dma_mcux_smartdma.c drivers: drop few redundant guard around pm_policy_state_lock_* 2023-11-22 18:34:36 +00:00
dma_nios2_msgdma.c dma: callback with 2 status codes for successful transfers 2023-05-08 09:57:32 +02:00
dma_nxp_edma.c drivers: dma: Introduce driver for NXP's eDMA IP 2024-01-23 10:54:21 -05:00
dma_nxp_edma.h drivers: dma: Introduce driver for NXP's eDMA IP 2024-01-23 10:54:21 -05:00
dma_nxp_sof_host_dma.c drivers: dma: Add SOF host DMA driver 2023-11-20 09:19:53 +01:00
dma_pl330.c
dma_pl330.h
dma_rpi_pico.c
dma_sam0.c
dma_sam_xdmac.c drivers: sam dma xdmac: implemented dma device get_status() 2023-09-10 00:49:12 +02:00
dma_sam_xdmac.h
dma_sedi.c drivers: dma: fix build warning issue for dma sedi driver 2023-11-09 10:21:58 +00:00
dma_smartbond.c drivers: dma: smartbond: Support DMA accelerator. 2023-11-09 10:17:29 +00:00
dma_stm32_bdma.c dt: Make zephyr,memory-attr a capabilities bitmask 2023-09-15 12:46:54 +02:00
dma_stm32_bdma.h
dma_stm32_v1.c
dma_stm32_v2.c drivers: dma: dma_stm32: add stm32c0-series support 2023-05-27 06:21:39 -04:00
dma_stm32.c drivers: dma: stm32: do not clear busy flag in cyclic mode 2024-01-24 14:56:24 +01:00
dma_stm32.h drivers: dma: stm32: do not clear busy flag in cyclic mode 2024-01-24 14:56:24 +01:00
dma_stm32u5.c drivers: dma: stm32u5: set data length in bytes 2023-07-11 09:44:37 +02:00
dma_xmc4xxx.c
dmamux_stm32.c drivers: dma: stm32 dmamux device must be initialized after dma 2023-06-23 09:21:59 +02:00
Kconfig drivers: dma: Introduce driver for NXP's eDMA IP 2024-01-23 10:54:21 -05:00
Kconfig.andes_atcdmac300 drivers: dma: Add Andestech atcdmac300 driver. 2023-10-20 14:51:08 +02:00
Kconfig.dma_pl330
Kconfig.dw
Kconfig.dw_common drivers: dma: dma_intel_lpss: Added intel LPSS DMA interface 2023-05-26 10:06:00 -04:00
Kconfig.emul drivers: dma: add emulated dma driver 2023-12-03 19:22:31 -05:00
Kconfig.esp32
Kconfig.gd32
Kconfig.intel_adsp_gpdma drivers: remove references to old CAVS platforms 2023-04-06 18:51:56 +02:00
Kconfig.intel_adsp_hda drivers: hda: use interrupt for timing L1 exit on host DMA 2023-08-31 09:59:10 -04:00
Kconfig.intel_lpss drivers: dma: intel_lpss: Used phandle to get base address 2023-09-25 18:43:29 -04:00
Kconfig.iproc_pax dma: iproc_pax_v2: delay initialization after pcie 2023-07-19 20:22:03 +00:00
Kconfig.mcux_edma soc: nxp_s32: s32k3: drop M7 suffix from options 2023-11-15 10:25:43 -06:00
Kconfig.mcux_lpc drivers: dma_mcux_lpc: Add Kconfig to reduce data 2023-07-17 13:06:01 -05:00
Kconfig.mcux_pxp drivers: dma_pxp: Select PXP driver when CONFIG_DISPLAY is enabled 2023-09-19 13:36:13 -05:00
Kconfig.mcux_smartdma drivers: dma: introduce SMARTDMA dma driver 2023-09-25 09:46:55 +02:00
Kconfig.nios2_msgdma
Kconfig.nxp_edma drivers: dma: Introduce driver for NXP's eDMA IP 2024-01-23 10:54:21 -05:00
Kconfig.nxp_sof_host_dma drivers: dma: Add SOF host DMA driver 2023-11-20 09:19:53 +01:00
Kconfig.rpi_pico
Kconfig.sam0
Kconfig.sam_xdmac
Kconfig.sedi drivers: dma: add init version for dma sedi driver 2023-11-02 09:44:30 +01:00
Kconfig.smartbond drivers: dma: smartbond: Support DMA accelerator. 2023-11-09 10:17:29 +00:00
Kconfig.stm32 drivers: dma: stm32 dmamux device must be initialized after dma 2023-06-23 09:21:59 +02:00
Kconfig.xec
Kconfig.xmc4xxx