Home
last modified time | relevance | path

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

/hal_stm32-2.7.6/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.c253 static void QSPI_DMARxCplt(MDMA_HandleTypeDef *hmdma);
254 static void QSPI_DMATxCplt(MDMA_HandleTypeDef *hmdma);
255 static void QSPI_DMAError(MDMA_HandleTypeDef *hmdma);
256 static void QSPI_DMAAbortCplt(MDMA_HandleTypeDef *hmdma);
574 __HAL_MDMA_DISABLE(hqspi->hmdma); in HAL_QSPI_IRQHandler()
596 __HAL_MDMA_DISABLE(hqspi->hmdma); in HAL_QSPI_IRQHandler()
720 hqspi->hmdma->XferAbortCallback = QSPI_DMAAbortCplt; in HAL_QSPI_IRQHandler()
721 if (HAL_MDMA_Abort_IT(hqspi->hmdma) != HAL_OK) in HAL_QSPI_IRQHandler()
1292 hqspi->hmdma->XferCpltCallback = QSPI_DMATxCplt; in HAL_QSPI_Transmit_DMA()
1295 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);
3071 static void USART_MDMATransmitCplt(MDMA_HandleTypeDef *hmdma) in USART_MDMATransmitCplt() argument
3073 USART_HandleTypeDef *husart = (USART_HandleTypeDef *)(hmdma->Parent); in USART_MDMATransmitCplt()
3108 static void USART_MDMAReceiveCplt(MDMA_HandleTypeDef *hmdma) in USART_MDMAReceiveCplt() argument
3110 USART_HandleTypeDef *husart = (USART_HandleTypeDef *)(hmdma->Parent); in USART_MDMAReceiveCplt()
[all …]
Dstm32mp1xx_hal_i2c.c391 static void I2C_MDMAMasterTransmitCplt(MDMA_HandleTypeDef *hmdma);
392 static void I2C_MDMAMasterReceiveCplt(MDMA_HandleTypeDef *hmdma);
393 static void I2C_MDMASlaveTransmitCplt(MDMA_HandleTypeDef *hmdma);
394 static void I2C_MDMASlaveReceiveCplt(MDMA_HandleTypeDef *hmdma);
395 static void I2C_MDMAError(MDMA_HandleTypeDef *hmdma);
396 static void I2C_MDMAAbort(MDMA_HandleTypeDef *hmdma);
6296 static void I2C_MDMAMasterTransmitCplt(MDMA_HandleTypeDef *hmdma) in I2C_MDMAMasterTransmitCplt() argument
6298 …I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)(((MDMA_HandleTypeDef *)hmdma)->Parent); /* Derogat… in I2C_MDMAMasterTransmitCplt()
6373 static void I2C_MDMASlaveTransmitCplt(MDMA_HandleTypeDef *hmdma) in I2C_MDMASlaveTransmitCplt() argument
6375 …I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)(((MDMA_HandleTypeDef *)hmdma)->Parent); /* Derogat… 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-2.7.6/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_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_ENDIANNESS_MODE(hmdma->Init.Endianness)); in HAL_MDMA_Init()
233 assert_param(IS_MDMA_REQUEST(hmdma->Init.Request)); in HAL_MDMA_Init()
234 assert_param(IS_MDMA_SOURCE_INC(hmdma->Init.SourceInc)); in HAL_MDMA_Init()
235 assert_param(IS_MDMA_DESTINATION_INC(hmdma->Init.DestinationInc)); in HAL_MDMA_Init()
[all …]
Dstm32h7xx_hal_sram.c135 static void SRAM_DMACplt(MDMA_HandleTypeDef *hmdma);
136 static void SRAM_DMACpltProt(MDMA_HandleTypeDef *hmdma);
137 static void SRAM_DMAError(MDMA_HandleTypeDef *hmdma);
290 __weak void HAL_SRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma) in HAL_SRAM_DMA_XferCpltCallback() argument
293 UNUSED(hmdma); in HAL_SRAM_DMA_XferCpltCallback()
306 __weak void HAL_SRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma) in HAL_SRAM_DMA_XferErrorCallback() argument
309 UNUSED(hmdma); in HAL_SRAM_DMA_XferErrorCallback()
670 hsram->hmdma->XferCpltCallback = SRAM_DMACplt; in HAL_SRAM_Read_DMA()
674 hsram->hmdma->XferCpltCallback = SRAM_DMACpltProt; in HAL_SRAM_Read_DMA()
676 hsram->hmdma->XferErrorCallback = SRAM_DMAError; in HAL_SRAM_Read_DMA()
[all …]
Dstm32h7xx_hal_sdram.c134 static void SDRAM_DMACplt(MDMA_HandleTypeDef *hmdma);
135 static void SDRAM_DMACpltProt(MDMA_HandleTypeDef *hmdma);
136 static void SDRAM_DMAError(MDMA_HandleTypeDef *hmdma);
321 __weak void HAL_SDRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma) in HAL_SDRAM_DMA_XferCpltCallback() argument
324 UNUSED(hmdma); in HAL_SDRAM_DMA_XferCpltCallback()
336 __weak void HAL_SDRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma) in HAL_SDRAM_DMA_XferErrorCallback() argument
339 UNUSED(hmdma); in HAL_SDRAM_DMA_XferErrorCallback()
720 hsdram->hmdma->XferCpltCallback = SDRAM_DMACplt; in HAL_SDRAM_Read_DMA()
724 hsdram->hmdma->XferCpltCallback = SDRAM_DMACpltProt; in HAL_SDRAM_Read_DMA()
726 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()
1298 hqspi->hmdma->XferCpltCallback = QSPI_DMATxCplt; in HAL_QSPI_Transmit_DMA()
1301 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);
751 hospi->hmdma->XferAbortCallback = OSPI_DMAAbortCplt; in HAL_OSPI_IRQHandler()
752 if (HAL_MDMA_Abort_IT(hospi->hmdma) != HAL_OK) in HAL_OSPI_IRQHandler()
1456 hospi->hmdma->XferCpltCallback = OSPI_DMACplt; in HAL_OSPI_Transmit_DMA()
1459 hospi->hmdma->XferErrorCallback = OSPI_DMAError; in HAL_OSPI_Transmit_DMA()
1462 hospi->hmdma->XferAbortCallback = NULL; in HAL_OSPI_Transmit_DMA()
1465 …MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_DINC | MDMA_CTCR_DINCOS) ,MDMA_DEST_INC_DISABL… in HAL_OSPI_Transmit_DMA()
1468 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-2.7.6/stm32cube/stm32mp1xx/drivers/include/
Dstm32mp1xx_hal_mdma.h219 …void (* XferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
221 …void (* XferBufferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
223 …void (* XferBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
225 …void (* XferRepeatBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
227 …void (* XferErrorCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
229 …void (* XferAbortCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
634 HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma);
635 HAL_StatusTypeDef HAL_MDMA_DeInit (MDMA_HandleTypeDef *hmdma);
636 HAL_StatusTypeDef HAL_MDMA_ConfigPostRequestMask(MDMA_HandleTypeDef *hmdma, uint32_t MaskAddress, u…
638 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-2.7.6/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_mdma.h215 …void (* XferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
217 …void (* XferBufferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
219 …void (* XferBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
221 …void (* XferRepeatBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
223 …void (* XferErrorCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
225 …void (* XferAbortCallback)( struct __MDMA_HandleTypeDef * hmdma); /*!< …
641 HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma);
642 HAL_StatusTypeDef HAL_MDMA_DeInit (MDMA_HandleTypeDef *hmdma);
643 HAL_StatusTypeDef HAL_MDMA_ConfigPostRequestMask(MDMA_HandleTypeDef *hmdma, uint32_t MaskAddress, u…
645 HAL_StatusTypeDef HAL_MDMA_RegisterCallback(MDMA_HandleTypeDef *hmdma, HAL_MDMA_CallbackIDTypeDef C…
[all …]
Dstm32h7xx_hal_sram.h76 MDMA_HandleTypeDef *hmdma; /*!< Pointer DMA handler */ member
81 …void (* DmaXferCpltCallback)(MDMA_HandleTypeDef *hmdma); /*!< SRAM DMA Xfer C…
82 …void (* DmaXferErrorCallback)(MDMA_HandleTypeDef *hmdma); /*!< SRAM DMA Xfer E…
102 typedef void (*pSRAM_DmaCallbackTypeDef)(MDMA_HandleTypeDef *hmdma);
175 void HAL_SRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma);
176 void HAL_SRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma);
Dstm32h7xx_hal_sdram.h77 MDMA_HandleTypeDef *hmdma; /*!< Pointer DMA handler */ member
83 …void (* DmaXferCpltCallback)(MDMA_HandleTypeDef *hmdma); /*!< SDRAM DMA Xfe…
84 …void (* DmaXferErrorCallback)(MDMA_HandleTypeDef *hmdma); /*!< SDRAM DMA Xfe…
105 typedef void (*pSDRAM_DmaCallbackTypeDef)(MDMA_HandleTypeDef *hmdma);
153 void HAL_SDRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma);
154 void HAL_SDRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma);
Dstm32h7xx_hal_qspi.h107 MDMA_HandleTypeDef *hmdma; /* QSPI Rx/Tx MDMA Handle parameters */ member
Dstm32h7xx_hal_ospi.h113 MDMA_HandleTypeDef *hmdma; /*!< Handle of the MDMA channel used for the transfer */ member