Lines Matching refs:hmdma

135 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()
679 …status = HAL_MDMA_Start_IT(hsram->hmdma, (uint32_t)pAddress, (uint32_t)pDstBuffer, (uint32_t)(Buff… in HAL_SRAM_Read_DMA()
716 hsram->hmdma->XferCpltCallback = SRAM_DMACplt; in HAL_SRAM_Write_DMA()
717 hsram->hmdma->XferErrorCallback = SRAM_DMAError; in HAL_SRAM_Write_DMA()
720 …status = HAL_MDMA_Start_IT(hsram->hmdma, (uint32_t)pSrcBuffer, (uint32_t)pAddress, (uint32_t)(Buff… in HAL_SRAM_Write_DMA()
1041 static void SRAM_DMACplt(MDMA_HandleTypeDef *hmdma) in SRAM_DMACplt() argument
1043 SRAM_HandleTypeDef *hsram = (SRAM_HandleTypeDef *)(hmdma->Parent); in SRAM_DMACplt()
1046 __HAL_MDMA_DISABLE(hmdma); in SRAM_DMACplt()
1052 hsram->DmaXferCpltCallback(hmdma); in SRAM_DMACplt()
1054 HAL_SRAM_DMA_XferCpltCallback(hmdma); in SRAM_DMACplt()
1063 static void SRAM_DMACpltProt(MDMA_HandleTypeDef *hmdma) in SRAM_DMACpltProt() argument
1065 SRAM_HandleTypeDef *hsram = (SRAM_HandleTypeDef *)(hmdma->Parent); in SRAM_DMACpltProt()
1068 __HAL_MDMA_DISABLE(hmdma); in SRAM_DMACpltProt()
1074 hsram->DmaXferCpltCallback(hmdma); in SRAM_DMACpltProt()
1076 HAL_SRAM_DMA_XferCpltCallback(hmdma); in SRAM_DMACpltProt()
1085 static void SRAM_DMAError(MDMA_HandleTypeDef *hmdma) in SRAM_DMAError() argument
1087 SRAM_HandleTypeDef *hsram = (SRAM_HandleTypeDef *)(hmdma->Parent); in SRAM_DMAError()
1090 __HAL_MDMA_DISABLE(hmdma); in SRAM_DMAError()
1096 hsram->DmaXferErrorCallback(hmdma); in SRAM_DMAError()
1098 HAL_SRAM_DMA_XferErrorCallback(hmdma); in SRAM_DMAError()