Searched refs:dma_stm32_id_to_stream (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/drivers/dma/ |
D | dma_stm32u5.c | 65 uint32_t dma_stm32_id_to_stream(uint32_t id) in dma_stm32_id_to_stream() function 93 return LL_DMA_IsActiveFlag_TC(DMAx, dma_stm32_id_to_stream(id)); in dma_stm32_is_tc_active() 98 LL_DMA_ClearFlag_TC(DMAx, dma_stm32_id_to_stream(id)); in dma_stm32_clear_tc() 104 return LL_DMA_IsActiveFlag_DTE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_is_dte_active() 110 return LL_DMA_IsActiveFlag_ULE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_is_ule_active() 116 return LL_DMA_IsActiveFlag_USE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_is_use_active() 123 LL_DMA_IsActiveFlag_DTE(DMAx, dma_stm32_id_to_stream(id)) || in dma_stm32_is_te_active() 124 LL_DMA_IsActiveFlag_ULE(DMAx, dma_stm32_id_to_stream(id)) || in dma_stm32_is_te_active() 125 LL_DMA_IsActiveFlag_USE(DMAx, dma_stm32_id_to_stream(id)) in dma_stm32_is_te_active() 131 LL_DMA_ClearFlag_DTE(DMAx, dma_stm32_id_to_stream(id)); in dma_stm32_clear_te() [all …]
|
D | dma_stm32_v1.c | 20 uint32_t dma_stm32_id_to_stream(uint32_t id) in dma_stm32_id_to_stream() function 250 return LL_DMA_IsEnabledIT_TC(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_tc_irq_active() 256 return LL_DMA_IsEnabledIT_HT(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_ht_irq_active() 262 return LL_DMA_IsEnabledIT_TE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_te_irq_active() 268 return LL_DMA_IsEnabledIT_DME(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_dme_irq_active() 274 return LL_DMA_IsEnabledIT_FE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_fe_irq_active() 296 if (LL_DMA_IsEnabledIT_FE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_irq_happened() 306 if (LL_DMA_IsEnabledIT_FE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_unexpected_irq_happened() 320 LL_DMA_EnableStream(dma, dma_stm32_id_to_stream(id)); in stm32_dma_enable_stream() 325 if (LL_DMA_IsEnabledStream(dma, dma_stm32_id_to_stream(id)) == 1) { in stm32_dma_is_enabled_stream() [all …]
|
D | dma_stm32_v2.c | 18 uint32_t dma_stm32_id_to_stream(uint32_t id) in dma_stm32_id_to_stream() function 264 return LL_DMA_IsEnabledIT_TC(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_tc_irq_active() 270 return LL_DMA_IsEnabledIT_HT(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_ht_irq_active() 276 return LL_DMA_IsEnabledIT_TE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_te_irq_active() 309 LL_DMA_EnableChannel(dma, dma_stm32_id_to_stream(id)); in stm32_dma_enable_stream() 314 if (LL_DMA_IsEnabledChannel(dma, dma_stm32_id_to_stream(id)) == 1) { in stm32_dma_is_enabled_stream() 322 LL_DMA_DisableChannel(dma, dma_stm32_id_to_stream(id)); in stm32_dma_disable_stream() 324 if (!LL_DMA_IsEnabledChannel(dma, dma_stm32_id_to_stream(id))) { in stm32_dma_disable_stream()
|
D | dma_stm32.c | 497 LL_DMA_Init(dma, dma_stm32_id_to_stream(id), &DMA_InitStruct); in dma_stm32_configure() 499 LL_DMA_EnableIT_TC(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure() 503 LL_DMA_EnableIT_HT(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure() 508 LL_DMA_EnableFifoMode(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure() 509 LL_DMA_EnableIT_FE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure() 511 LL_DMA_DisableFifoMode(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure() 512 LL_DMA_DisableIT_FE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure() 541 LL_DMA_SetMemoryAddress(dma, dma_stm32_id_to_stream(id), src); in dma_stm32_reload() 542 LL_DMA_SetPeriphAddress(dma, dma_stm32_id_to_stream(id), dst); in dma_stm32_reload() 546 LL_DMA_SetPeriphAddress(dma, dma_stm32_id_to_stream(id), src); in dma_stm32_reload() [all …]
|
D | dma_stm32.h | 49 uint32_t dma_stm32_id_to_stream(uint32_t id);
|