Home
last modified time | relevance | path

Searched refs:hmdma (Results 1 – 19 of 19) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_mdma.c180 static void MDMA_SetConfig(MDMA_HandleTypeDef *hmdma, uint32_t SrcAddress, uint32_t DstAddress, uin…
181 static void MDMA_Init(MDMA_HandleTypeDef *hmdma);
219 HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma) in HAL_MDMA_Init() argument
224 if(hmdma == NULL) in HAL_MDMA_Init()
230 assert_param(IS_MDMA_STREAM_ALL_INSTANCE(hmdma->Instance)); in HAL_MDMA_Init()
231 assert_param(IS_MDMA_PRIORITY(hmdma->Init.Priority)); in HAL_MDMA_Init()
232 assert_param(IS_MDMA_SECURE_MODE(hmdma->Init.SecureMode)); in HAL_MDMA_Init()
233 assert_param(IS_MDMA_ENDIANNESS_MODE(hmdma->Init.Endianness)); in HAL_MDMA_Init()
234 assert_param(IS_MDMA_REQUEST(hmdma->Init.Request)); in HAL_MDMA_Init()
235 assert_param(IS_MDMA_SOURCE_INC(hmdma->Init.SourceInc)); in HAL_MDMA_Init()
[all …]
Dstm32mp1xx_hal_qspi.c277 static void QSPI_DMARxCplt(MDMA_HandleTypeDef *hmdma);
278 static void QSPI_DMATxCplt(MDMA_HandleTypeDef *hmdma);
279 static void QSPI_DMAError(MDMA_HandleTypeDef *hmdma);
280 static void QSPI_DMAAbortCplt(MDMA_HandleTypeDef *hmdma);
598 __HAL_MDMA_DISABLE(hqspi->hmdma); in HAL_QSPI_IRQHandler()
620 __HAL_MDMA_DISABLE(hqspi->hmdma); in HAL_QSPI_IRQHandler()
744 hqspi->hmdma->XferAbortCallback = QSPI_DMAAbortCplt; in HAL_QSPI_IRQHandler()
745 if (HAL_MDMA_Abort_IT(hqspi->hmdma) != HAL_OK) in HAL_QSPI_IRQHandler()
1316 hqspi->hmdma->XferCpltCallback = QSPI_DMATxCplt; in HAL_QSPI_Transmit_DMA()
1319 hqspi->hmdma->XferErrorCallback = QSPI_DMAError; in HAL_QSPI_Transmit_DMA()
[all …]
Dstm32mp1xx_hal_uart.c209 static void UART_MDMATransmitCplt(MDMA_HandleTypeDef *hmdma);
210 static void UART_MDMAReceiveCplt(MDMA_HandleTypeDef *hmdma);
211 static void UART_MDMAError(MDMA_HandleTypeDef *hmdma);
212 static void UART_MDMAAbortOnError(MDMA_HandleTypeDef *hmdma);
213 static void UART_MDMATxAbortCallback(MDMA_HandleTypeDef *hmdma);
214 static void UART_MDMARxAbortCallback(MDMA_HandleTypeDef *hmdma);
215 static void UART_MDMATxOnlyAbortCallback(MDMA_HandleTypeDef *hmdma);
216 static void UART_MDMARxOnlyAbortCallback(MDMA_HandleTypeDef *hmdma);
3851 static void UART_MDMATransmitCplt(MDMA_HandleTypeDef *hmdma) in UART_MDMATransmitCplt() argument
3853 UART_HandleTypeDef *huart = (UART_HandleTypeDef *)(hmdma->Parent); in UART_MDMATransmitCplt()
[all …]
Dstm32mp1xx_hal_usart.c195 static void USART_MDMATransmitCplt(MDMA_HandleTypeDef *hmdma);
196 static void USART_MDMAReceiveCplt(MDMA_HandleTypeDef *hmdma);
197 static void USART_MDMAError(MDMA_HandleTypeDef *hmdma);
198 static void USART_MDMAAbortOnError(MDMA_HandleTypeDef *hmdma);
199 static void USART_MDMATxAbortCallback(MDMA_HandleTypeDef *hmdma);
200 static void USART_MDMARxAbortCallback(MDMA_HandleTypeDef *hmdma);
3105 static void USART_MDMATransmitCplt(MDMA_HandleTypeDef *hmdma) in USART_MDMATransmitCplt() argument
3107 USART_HandleTypeDef *husart = (USART_HandleTypeDef *)(hmdma->Parent); in USART_MDMATransmitCplt()
3142 static void USART_MDMAReceiveCplt(MDMA_HandleTypeDef *hmdma) in USART_MDMAReceiveCplt() argument
3144 USART_HandleTypeDef *husart = (USART_HandleTypeDef *)(hmdma->Parent); in USART_MDMAReceiveCplt()
[all …]
Dstm32mp1xx_hal_i2c.c430 static void I2C_MDMAMasterTransmitCplt(MDMA_HandleTypeDef *hmdma);
431 static void I2C_MDMAMasterReceiveCplt(MDMA_HandleTypeDef *hmdma);
432 static void I2C_MDMASlaveTransmitCplt(MDMA_HandleTypeDef *hmdma);
433 static void I2C_MDMASlaveReceiveCplt(MDMA_HandleTypeDef *hmdma);
434 static void I2C_MDMAError(MDMA_HandleTypeDef *hmdma);
435 static void I2C_MDMAAbort(MDMA_HandleTypeDef *hmdma);
6603 static void I2C_MDMAMasterTransmitCplt(MDMA_HandleTypeDef *hmdma) in I2C_MDMAMasterTransmitCplt() argument
6606 I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)(((MDMA_HandleTypeDef *)hmdma)->Parent); in I2C_MDMAMasterTransmitCplt()
6683 static void I2C_MDMASlaveTransmitCplt(MDMA_HandleTypeDef *hmdma) in I2C_MDMASlaveTransmitCplt() argument
6686 I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)(((MDMA_HandleTypeDef *)hmdma)->Parent); in I2C_MDMASlaveTransmitCplt()
[all …]
Dstm32mp1xx_hal_cryp.c342 static void CRYP_MDMAInCplt(MDMA_HandleTypeDef *hmdma);
343 static void CRYP_MDMAOutCplt(MDMA_HandleTypeDef *hmdma);
344 static void CRYP_MDMAError(MDMA_HandleTypeDef *hmdma);
2630 static void CRYP_MDMAInCplt(MDMA_HandleTypeDef *hmdma) in CRYP_MDMAInCplt() argument
2632 CRYP_HandleTypeDef* hcryp = (CRYP_HandleTypeDef*)((MDMA_HandleTypeDef*)hmdma)->Parent; in CRYP_MDMAInCplt()
2653 static void CRYP_MDMAOutCplt(MDMA_HandleTypeDef *hmdma) in CRYP_MDMAOutCplt() argument
2660 CRYP_HandleTypeDef* hcryp = (CRYP_HandleTypeDef*)((MDMA_HandleTypeDef*)hmdma)->Parent; in CRYP_MDMAOutCplt()
2775 static void CRYP_MDMAError(MDMA_HandleTypeDef *hmdma) in CRYP_MDMAError() argument
2777 CRYP_HandleTypeDef* hcryp = (CRYP_HandleTypeDef*)((MDMA_HandleTypeDef*)hmdma)->Parent; in CRYP_MDMAError()
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_mdma.c179 static void MDMA_SetConfig(MDMA_HandleTypeDef *hmdma, uint32_t SrcAddress, uint32_t DstAddress, uin…
180 static void MDMA_Init(MDMA_HandleTypeDef *hmdma);
218 HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma) in HAL_MDMA_Init() argument
223 if(hmdma == NULL) in HAL_MDMA_Init()
229 assert_param(IS_MDMA_STREAM_ALL_INSTANCE(hmdma->Instance)); in HAL_MDMA_Init()
230 assert_param(IS_MDMA_PRIORITY(hmdma->Init.Priority)); in HAL_MDMA_Init()
231 assert_param(IS_MDMA_ENDIANNESS_MODE(hmdma->Init.Endianness)); in HAL_MDMA_Init()
232 assert_param(IS_MDMA_REQUEST(hmdma->Init.Request)); in HAL_MDMA_Init()
233 assert_param(IS_MDMA_SOURCE_INC(hmdma->Init.SourceInc)); in HAL_MDMA_Init()
234 assert_param(IS_MDMA_DESTINATION_INC(hmdma->Init.DestinationInc)); in HAL_MDMA_Init()
[all …]
Dstm32h7xx_hal_sram.c138 static void SRAM_DMACplt(MDMA_HandleTypeDef *hmdma);
139 static void SRAM_DMACpltProt(MDMA_HandleTypeDef *hmdma);
140 static void SRAM_DMAError(MDMA_HandleTypeDef *hmdma);
296 __weak void HAL_SRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma) in HAL_SRAM_DMA_XferCpltCallback() argument
299 UNUSED(hmdma); in HAL_SRAM_DMA_XferCpltCallback()
312 __weak void HAL_SRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma) in HAL_SRAM_DMA_XferErrorCallback() argument
315 UNUSED(hmdma); in HAL_SRAM_DMA_XferErrorCallback()
676 hsram->hmdma->XferCpltCallback = SRAM_DMACplt; in HAL_SRAM_Read_DMA()
680 hsram->hmdma->XferCpltCallback = SRAM_DMACpltProt; in HAL_SRAM_Read_DMA()
682 hsram->hmdma->XferErrorCallback = SRAM_DMAError; in HAL_SRAM_Read_DMA()
[all …]
Dstm32h7xx_hal_sdram.c137 static void SDRAM_DMACplt(MDMA_HandleTypeDef *hmdma);
138 static void SDRAM_DMACpltProt(MDMA_HandleTypeDef *hmdma);
139 static void SDRAM_DMAError(MDMA_HandleTypeDef *hmdma);
327 __weak void HAL_SDRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma) in HAL_SDRAM_DMA_XferCpltCallback() argument
330 UNUSED(hmdma); in HAL_SDRAM_DMA_XferCpltCallback()
342 __weak void HAL_SDRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma) in HAL_SDRAM_DMA_XferErrorCallback() argument
345 UNUSED(hmdma); in HAL_SDRAM_DMA_XferErrorCallback()
726 hsdram->hmdma->XferCpltCallback = SDRAM_DMACplt; in HAL_SDRAM_Read_DMA()
730 hsdram->hmdma->XferCpltCallback = SDRAM_DMACpltProt; in HAL_SDRAM_Read_DMA()
732 hsdram->hmdma->XferErrorCallback = SDRAM_DMAError; in HAL_SDRAM_Read_DMA()
[all …]
Dstm32h7xx_hal_qspi.c271 static void QSPI_DMARxCplt(MDMA_HandleTypeDef *hmdma);
272 static void QSPI_DMATxCplt(MDMA_HandleTypeDef *hmdma);
273 static void QSPI_DMAError(MDMA_HandleTypeDef *hmdma);
274 static void QSPI_DMAAbortCplt(MDMA_HandleTypeDef *hmdma);
577 __HAL_MDMA_DISABLE(hqspi->hmdma); in HAL_QSPI_IRQHandler()
600 __HAL_MDMA_DISABLE(hqspi->hmdma); in HAL_QSPI_IRQHandler()
725 hqspi->hmdma->XferAbortCallback = QSPI_DMAAbortCplt; in HAL_QSPI_IRQHandler()
726 if (HAL_MDMA_Abort_IT(hqspi->hmdma) != HAL_OK) in HAL_QSPI_IRQHandler()
1297 hqspi->hmdma->XferCpltCallback = QSPI_DMATxCplt; in HAL_QSPI_Transmit_DMA()
1300 hqspi->hmdma->XferErrorCallback = QSPI_DMAError; in HAL_QSPI_Transmit_DMA()
[all …]
Dstm32h7xx_hal_ospi.c303 static void OSPI_DMACplt (MDMA_HandleTypeDef *hmdma);
304 static void OSPI_DMAError (MDMA_HandleTypeDef *hmdma);
305 static void OSPI_DMAAbortCplt (MDMA_HandleTypeDef *hmdma);
750 hospi->hmdma->XferAbortCallback = OSPI_DMAAbortCplt; in HAL_OSPI_IRQHandler()
751 if (HAL_MDMA_Abort_IT(hospi->hmdma) != HAL_OK) in HAL_OSPI_IRQHandler()
1455 hospi->hmdma->XferCpltCallback = OSPI_DMACplt; in HAL_OSPI_Transmit_DMA()
1458 hospi->hmdma->XferErrorCallback = OSPI_DMAError; in HAL_OSPI_Transmit_DMA()
1461 hospi->hmdma->XferAbortCallback = NULL; in HAL_OSPI_Transmit_DMA()
1464 …MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_DINC | MDMA_CTCR_DINCOS) ,MDMA_DEST_INC_DISABL… in HAL_OSPI_Transmit_DMA()
1467 if (hospi->hmdma->Init.SourceDataSize == MDMA_SRC_DATASIZE_BYTE) in HAL_OSPI_Transmit_DMA()
[all …]
Dstm32h7xx_hal_jpeg.c449 static void JPEG_MDMAOutCpltCallback(MDMA_HandleTypeDef *hmdma);
450 static void JPEG_MDMAInCpltCallback(MDMA_HandleTypeDef *hmdma);
451 static void JPEG_MDMAErrorCallback(MDMA_HandleTypeDef *hmdma);
452 static void JPEG_MDMAOutAbortCallback(MDMA_HandleTypeDef *hmdma);
3964 static void JPEG_MDMAInCpltCallback(MDMA_HandleTypeDef *hmdma) in JPEG_MDMAInCpltCallback() argument
3968 JPEG_HandleTypeDef *hjpeg = (JPEG_HandleTypeDef *)((MDMA_HandleTypeDef *)hmdma)->Parent; in JPEG_MDMAInCpltCallback()
3984 hjpeg->JpegInCount = hjpeg->InDataLength - (hmdma->Instance->CBNDTR & MDMA_CBNDTR_BNDT); in JPEG_MDMAInCpltCallback()
4052 static void JPEG_MDMAOutCpltCallback(MDMA_HandleTypeDef *hmdma) in JPEG_MDMAOutCpltCallback() argument
4054 JPEG_HandleTypeDef *hjpeg = (JPEG_HandleTypeDef *)((MDMA_HandleTypeDef *)hmdma)->Parent; in JPEG_MDMAOutCpltCallback()
4065 hjpeg->JpegOutCount = hjpeg->OutDataLength - (hmdma->Instance->CBNDTR & MDMA_CBNDTR_BNDT); in JPEG_MDMAOutCpltCallback()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/include/
Dstm32mp1xx_hal_mdma.h218 …void (* XferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
220 …void (* XferBufferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
222 …void (* XferBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
224 …void (* XferRepeatBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
226 …void (* XferErrorCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
228 …void (* XferAbortCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
633 HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma);
634 HAL_StatusTypeDef HAL_MDMA_DeInit (MDMA_HandleTypeDef *hmdma);
635 HAL_StatusTypeDef HAL_MDMA_ConfigPostRequestMask(MDMA_HandleTypeDef *hmdma, uint32_t MaskAddress, u…
637 HAL_StatusTypeDef HAL_MDMA_RegisterCallback(MDMA_HandleTypeDef *hmdma, HAL_MDMA_CallbackIDTypeDef C…
[all …]
Dstm32mp1xx_hal_qspi.h107 MDMA_HandleTypeDef *hmdma; /* QSPI Rx/Tx MDMA Handle parameters */ member
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_mdma.h214 …void (* XferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
216 …void (* XferBufferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
218 …void (* XferBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
220 …void (* XferRepeatBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
222 …void (* XferErrorCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
224 …void (* XferAbortCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
640 HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma);
641 HAL_StatusTypeDef HAL_MDMA_DeInit (MDMA_HandleTypeDef *hmdma);
642 HAL_StatusTypeDef HAL_MDMA_ConfigPostRequestMask(MDMA_HandleTypeDef *hmdma, uint32_t MaskAddress, u…
644 HAL_StatusTypeDef HAL_MDMA_RegisterCallback(MDMA_HandleTypeDef *hmdma, HAL_MDMA_CallbackIDTypeDef C…
[all …]
Dstm32h7xx_hal_sram.h75 MDMA_HandleTypeDef *hmdma; /*!< Pointer DMA handler */ member
80 …void (* DmaXferCpltCallback)(MDMA_HandleTypeDef *hmdma); /*!< SRAM DMA Xfer C…
81 …void (* DmaXferErrorCallback)(MDMA_HandleTypeDef *hmdma); /*!< SRAM DMA Xfer E…
101 typedef void (*pSRAM_DmaCallbackTypeDef)(MDMA_HandleTypeDef *hmdma);
174 void HAL_SRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma);
175 void HAL_SRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma);
Dstm32h7xx_hal_sdram.h76 MDMA_HandleTypeDef *hmdma; /*!< Pointer DMA handler */ member
82 …void (* DmaXferCpltCallback)(MDMA_HandleTypeDef *hmdma); /*!< SDRAM DMA Xfe…
83 …void (* DmaXferErrorCallback)(MDMA_HandleTypeDef *hmdma); /*!< SDRAM DMA Xfe…
104 typedef void (*pSDRAM_DmaCallbackTypeDef)(MDMA_HandleTypeDef *hmdma);
152 void HAL_SDRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma);
153 void HAL_SDRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma);
Dstm32h7xx_hal_qspi.h106 MDMA_HandleTypeDef *hmdma; /* QSPI Rx/Tx MDMA Handle parameters */ member
Dstm32h7xx_hal_ospi.h109 MDMA_HandleTypeDef *hmdma; /*!< Handle of the MDMA channel used for the transfer */ member