Lines Matching refs:hmdma

303 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()
1470 … MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_SINC | MDMA_CTCR_SINCOS) , MDMA_SRC_INC_BYTE); in HAL_OSPI_Transmit_DMA()
1472 else if (hospi->hmdma->Init.SourceDataSize == MDMA_SRC_DATASIZE_HALFWORD) in HAL_OSPI_Transmit_DMA()
1474 …MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_SINC | MDMA_CTCR_SINCOS) , MDMA_SRC_INC_HALFWO… in HAL_OSPI_Transmit_DMA()
1476 else if (hospi->hmdma->Init.SourceDataSize == MDMA_SRC_DATASIZE_WORD) in HAL_OSPI_Transmit_DMA()
1478 … MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_SINC | MDMA_CTCR_SINCOS) , MDMA_SRC_INC_WORD); in HAL_OSPI_Transmit_DMA()
1488 …if (HAL_MDMA_Start_IT(hospi->hmdma, (uint32_t)pData, (uint32_t)&hospi->Instance->DR, hospi->XferSi… in HAL_OSPI_Transmit_DMA()
1559 hospi->hmdma->XferCpltCallback = OSPI_DMACplt; in HAL_OSPI_Receive_DMA()
1562 hospi->hmdma->XferErrorCallback = OSPI_DMAError; in HAL_OSPI_Receive_DMA()
1565 hospi->hmdma->XferAbortCallback = NULL; in HAL_OSPI_Receive_DMA()
1568 …MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_SINC | MDMA_CTCR_SINCOS) , MDMA_SRC_INC_DISABL… in HAL_OSPI_Receive_DMA()
1571 if (hospi->hmdma->Init.DestDataSize == MDMA_DEST_DATASIZE_BYTE) in HAL_OSPI_Receive_DMA()
1573 …MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_DINC | MDMA_CTCR_DINCOS) , MDMA_DEST_INC_BYTE); in HAL_OSPI_Receive_DMA()
1575 else if (hospi->hmdma->Init.DestDataSize == MDMA_DEST_DATASIZE_HALFWORD) in HAL_OSPI_Receive_DMA()
1577 …MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_DINC | MDMA_CTCR_DINCOS) , MDMA_DEST_INC_HALFW… in HAL_OSPI_Receive_DMA()
1579 else if (hospi->hmdma->Init.DestDataSize == MDMA_DEST_DATASIZE_WORD) in HAL_OSPI_Receive_DMA()
1581 …MODIFY_REG(hospi->hmdma->Instance->CTCR, (MDMA_CTCR_DINC | MDMA_CTCR_DINCOS) , MDMA_DEST_INC_WORD); in HAL_OSPI_Receive_DMA()
1591 …if (HAL_MDMA_Start_IT(hospi->hmdma, (uint32_t)&hospi->Instance->DR, (uint32_t)pData, hospi->XferSi… in HAL_OSPI_Receive_DMA()
2251 status = HAL_MDMA_Abort(hospi->hmdma); in HAL_OSPI_Abort()
2324 hospi->hmdma->XferAbortCallback = OSPI_DMAAbortCplt; in HAL_OSPI_Abort_IT()
2325 if (HAL_MDMA_Abort_IT(hospi->hmdma) != HAL_OK) in HAL_OSPI_Abort_IT()
2723 static void OSPI_DMACplt(MDMA_HandleTypeDef *hmdma) in OSPI_DMACplt() argument
2725 OSPI_HandleTypeDef* hospi = ( OSPI_HandleTypeDef* )(hmdma->Parent); in OSPI_DMACplt()
2732 __HAL_MDMA_DISABLE(hmdma); in OSPI_DMACplt()
2743 static void OSPI_DMAError(MDMA_HandleTypeDef *hmdma) in OSPI_DMAError() argument
2745 OSPI_HandleTypeDef* hospi = ( OSPI_HandleTypeDef* )(hmdma->Parent); in OSPI_DMAError()
2775 static void OSPI_DMAAbortCplt(MDMA_HandleTypeDef *hmdma) in OSPI_DMAAbortCplt() argument
2777 OSPI_HandleTypeDef* hospi = ( OSPI_HandleTypeDef* )(hmdma->Parent); in OSPI_DMAAbortCplt()