zephyr/drivers/dma
Patryk Duda e4b8dce1e5 drivers: dma: Simplify stm32_dma_check_fifo_mburst() function
This function is responsible for checking if combination of msize,
mburst and FIFO level is allowed. Possible combinations can be found in
ST documentation, eg. Table 36. FIFO threshold configurations, RM0402
9.3.13 FIFO chapter.

Previously there was no 'break' or '__fallthrough' in msize switch which
caused compilation errors. Since we are confirming that combination is
correct, 'break' statements should be used.

Besides of introducing missing 'break' statements, this patch moves
'return false' from switch to the end of the function. This makes code
shorter and easier to understand, because we have only correct
combinations.

Signed-off-by: Patryk Duda <pdk@semihalf.com>
2022-12-09 11:18:01 +01:00
..
CMakeLists.txt drivers: dma: new dma peripheral driver for stm32u5 2022-08-24 10:05:32 +02:00
dma_dw_common.c drivers: dma: gpdma: reduce logging verbosity 2022-11-24 15:22:30 +01:00
dma_dw_common.h dma: dwdma: Remove unused defines 2022-11-23 15:36:31 -05:00
dma_dw.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_gd32.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_handlers.c
dma_intel_adsp_gpdma.c dma: adsp: gpdma: Add support for get_attribute 2022-11-23 15:36:31 -05:00
dma_intel_adsp_hda_host_in.c dma: hda: adsp: Add support for get_attribute 2022-11-23 15:36:31 -05:00
dma_intel_adsp_hda_host_out.c dma: hda: adsp: Add support for get_attribute 2022-11-23 15:36:31 -05:00
dma_intel_adsp_hda_link_in.c dma: hda: adsp: Add support for get_attribute 2022-11-23 15:36:31 -05:00
dma_intel_adsp_hda_link_out.c dma: hda: adsp: Add support for get_attribute 2022-11-23 15:36:31 -05:00
dma_intel_adsp_hda.c dma: hda: adsp: Add support for get_attribute 2022-11-23 15:36:31 -05:00
dma_intel_adsp_hda.h dma: hda: adsp: Add support for get_attribute 2022-11-23 15:36:31 -05:00
dma_iproc_pax_v1.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_iproc_pax_v1.h
dma_iproc_pax_v2.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_iproc_pax_v2.h
dma_iproc_pax.h
dma_mcux_edma.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_mcux_edma.h
dma_mcux_lpc.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_nios2_msgdma.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_pl330.c
dma_pl330.h
dma_sam0.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma_sam_xdmac.c spi: SAM support SPI transfers with DMA 2022-11-08 09:37:59 +00:00
dma_sam_xdmac.h
dma_stm32_v1.c drivers: dma: Simplify stm32_dma_check_fifo_mburst() function 2022-12-09 11:18:01 +01:00
dma_stm32_v2.c
dma_stm32.c drivers: dma: stm32 dma driver supporting the stm32mp1 serie 2022-11-04 10:16:56 +01:00
dma_stm32.h
dma_stm32u5.c drivers: dma: stm32u5 dma with resume API function 2022-12-08 14:59:01 +00:00
dmamux_stm32.c devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
Kconfig drivers: dma: Add GD32 DMA driver 2022-08-02 09:13:21 +02:00
Kconfig.dma_pl330 drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.dw drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.dw_common
Kconfig.gd32 drivers: dma: Add GD32 DMA driver 2022-08-02 09:13:21 +02:00
Kconfig.intel_adsp_gpdma soc: intel_adsp: Add ACE soc series 2022-09-09 16:03:59 -04:00
Kconfig.intel_adsp_hda drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.iproc_pax drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.mcux_edma drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.mcux_lpc drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.nios2_msgdma drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.sam0 drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.sam_xdmac drivers: dma: Update drivers to use devicetree Kconfig symbol 2022-08-26 14:27:23 +00:00
Kconfig.stm32 drivers: dma: stm32 Kconfig with the new DT_HAS_<COMPAT>_ENABLED. 2022-08-24 10:05:32 +02:00