Lines Matching refs:dma_stm32_id_to_stream

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()
132 LL_DMA_ClearFlag_ULE(DMAx, dma_stm32_id_to_stream(id)); in dma_stm32_clear_te()
133 LL_DMA_ClearFlag_USE(DMAx, dma_stm32_id_to_stream(id)); in dma_stm32_clear_te()
138 return LL_DMA_IsActiveFlag_HT(DMAx, dma_stm32_id_to_stream(id)); in dma_stm32_is_ht_active()
143 LL_DMA_ClearFlag_HT(DMAx, dma_stm32_id_to_stream(id)); in dma_stm32_clear_ht()
160 return (LL_DMA_IsEnabledIT_TC(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_tc_irq_active()
161 LL_DMA_IsActiveFlag_TC(dma, dma_stm32_id_to_stream(id))); in stm32_dma_is_tc_irq_active()
166 return (LL_DMA_IsEnabledIT_HT(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_ht_irq_active()
167 LL_DMA_IsActiveFlag_HT(dma, dma_stm32_id_to_stream(id))); in stm32_dma_is_ht_irq_active()
173 (LL_DMA_IsEnabledIT_DTE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_te_irq_active()
174 LL_DMA_IsActiveFlag_DTE(dma, dma_stm32_id_to_stream(id))) || in stm32_dma_is_te_irq_active()
175 (LL_DMA_IsEnabledIT_ULE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_te_irq_active()
176 LL_DMA_IsActiveFlag_ULE(dma, dma_stm32_id_to_stream(id))) || in stm32_dma_is_te_irq_active()
177 (LL_DMA_IsEnabledIT_USE(dma, dma_stm32_id_to_stream(id)) && in stm32_dma_is_te_irq_active()
178 LL_DMA_IsActiveFlag_USE(dma, dma_stm32_id_to_stream(id))) in stm32_dma_is_te_irq_active()
189 LL_DMA_ClearFlag_TO(dma, dma_stm32_id_to_stream(id)); in stm32_dma_clear_stream_irq()
190 LL_DMA_ClearFlag_SUSP(dma, dma_stm32_id_to_stream(id)); in stm32_dma_clear_stream_irq()
204 LL_DMA_EnableChannel(dma, dma_stm32_id_to_stream(id)); in stm32_dma_enable_stream()
209 if (LL_DMA_IsEnabledChannel(dma, dma_stm32_id_to_stream(id)) == 1) { in stm32_dma_is_enabled_stream()
218 LL_DMA_SuspendChannel(dma, dma_stm32_id_to_stream(id)); in stm32_dma_disable_stream()
221 LL_DMA_ResetChannel(dma, dma_stm32_id_to_stream(id)); in stm32_dma_disable_stream()
503 LL_DMA_Init(dma, dma_stm32_id_to_stream(id), &DMA_InitStruct); in dma_stm32_configure()
505 LL_DMA_EnableIT_TC(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure()
506 LL_DMA_EnableIT_USE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure()
507 LL_DMA_EnableIT_ULE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure()
508 LL_DMA_EnableIT_DTE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure()
512 LL_DMA_EnableIT_HT(dma, dma_stm32_id_to_stream(id)); in dma_stm32_configure()
544 dma_stm32_id_to_stream(id), in dma_stm32_reload()
547 LL_DMA_SetBlkDataLength(dma, dma_stm32_id_to_stream(id), size); in dma_stm32_reload()
600 LL_DMA_SuspendChannel(dma, dma_stm32_id_to_stream(id)); in dma_stm32_suspend()
604 } while (LL_DMA_IsActiveFlag_SUSP(dma, dma_stm32_id_to_stream(id)) != 1); in dma_stm32_suspend()
623 LL_DMA_ResumeChannel(dma, dma_stm32_id_to_stream(id)); in dma_stm32_resume()
651 LL_DMA_DisableIT_TC(dma, dma_stm32_id_to_stream(id)); in dma_stm32_stop()
652 LL_DMA_DisableIT_USE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_stop()
653 LL_DMA_DisableIT_ULE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_stop()
654 LL_DMA_DisableIT_DTE(dma, dma_stm32_id_to_stream(id)); in dma_stm32_stop()
703 stat->pending_length = LL_DMA_GetBlkDataLength(dma, dma_stm32_id_to_stream(id)); in dma_stm32_get_status()