Home
last modified time | relevance | path

Searched refs:txDmaHandle (Results 1 – 25 of 25) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart_dma.c130 dma_handle_t *txDmaHandle, in FLEXIO_UART_TransferCreateHandleDMA() argument
163 handle->txDmaHandle = txDmaHandle; in FLEXIO_UART_TransferCreateHandleDMA()
171 if (txDmaHandle != NULL) in FLEXIO_UART_TransferCreateHandleDMA()
173 … DMA_SetCallback(txDmaHandle, FLEXIO_UART_TransferSendDMACallback, &s_dmaPrivateHandle[index]); in FLEXIO_UART_TransferCreateHandleDMA()
175 DMA_ResetChannel(txDmaHandle->base, txDmaHandle->channel); in FLEXIO_UART_TransferCreateHandleDMA()
180 DMA_SetTransferConfig(txDmaHandle->base, txDmaHandle->channel, &dmaXferConfig); in FLEXIO_UART_TransferCreateHandleDMA()
216 assert(handle->txDmaHandle != NULL); in FLEXIO_UART_TransferSendDMA()
237 …DMA_SetSourceAddress(handle->txDmaHandle->base, handle->txDmaHandle->channel, (uint32_t)xfer->data… in FLEXIO_UART_TransferSendDMA()
238 … DMA_SetTransferSize(handle->txDmaHandle->base, handle->txDmaHandle->channel, xfer->dataSize); in FLEXIO_UART_TransferSendDMA()
244 DMA_EnableInterrupts(handle->txDmaHandle->base, handle->txDmaHandle->channel); in FLEXIO_UART_TransferSendDMA()
[all …]
Dfsl_flexio_uart_dma.h49 dma_handle_t *txDmaHandle; /*!< The DMA TX channel used. */ member
85 dma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart_dma.c138 DMA_DisableInterrupts(lpuartPrivateHandle->handle->txDmaHandle->base, in LPUART_TransferSendDMACallback()
139 lpuartPrivateHandle->handle->txDmaHandle->channel); in LPUART_TransferSendDMACallback()
184 dma_handle_t *txDmaHandle, in LPUART_TransferCreateHandleDMA() argument
218 handle->txDmaHandle = txDmaHandle; in LPUART_TransferCreateHandleDMA()
234 if (txDmaHandle != NULL) in LPUART_TransferCreateHandleDMA()
236 DMA_SetCallback(txDmaHandle, LPUART_TransferSendDMACallback, &s_dmaPrivateHandle[instance]); in LPUART_TransferCreateHandleDMA()
262 assert(handle->txDmaHandle != NULL); in LPUART_TransferSendDMA()
286 (void)DMA_SubmitTransfer(handle->txDmaHandle, &xferConfig, (uint32_t)kDMA_EnableInterrupt); in LPUART_TransferSendDMA()
287 DMA_StartTransfer(handle->txDmaHandle); in LPUART_TransferSendDMA()
361 assert(handle->txDmaHandle != NULL); in LPUART_TransferAbortSendDMA()
[all …]
Dfsl_lpuart_dma.h48 dma_handle_t *txDmaHandle; /*!< The DMA TX channel used. */ member
84 dma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/uart/
Dfsl_uart_dma.c153 dma_handle_t *txDmaHandle, in UART_TransferCreateHandleDMA() argument
187 handle->txDmaHandle = txDmaHandle; in UART_TransferCreateHandleDMA()
198 if (txDmaHandle != NULL) in UART_TransferCreateHandleDMA()
200 DMA_SetCallback(txDmaHandle, UART_TransferSendDMACallback, &s_dmaPrivateHandle[instance]); in UART_TransferCreateHandleDMA()
226 assert(handle->txDmaHandle != NULL); in UART_TransferSendDMA()
249 (void)DMA_SubmitTransfer(handle->txDmaHandle, &xferConfig, (uint32_t)kDMA_EnableInterrupt); in UART_TransferSendDMA()
250 DMA_StartTransfer(handle->txDmaHandle); in UART_TransferSendDMA()
323 assert(handle->txDmaHandle != NULL); in UART_TransferAbortSendDMA()
329 DMA_AbortTransfer(handle->txDmaHandle); in UART_TransferAbortSendDMA()
332 DMA_ClearChannelStatusFlags(handle->txDmaHandle->base, handle->txDmaHandle->channel, in UART_TransferAbortSendDMA()
[all …]
Dfsl_uart_dma.h50 dma_handle_t *txDmaHandle; /*!< The DMA TX channel used. */ member
84 dma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexcomm/usart/
Dfsl_usart_dma.c121 dma_handle_t *txDmaHandle, in USART_TransferCreateHandleDMA() argument
154 handle->txDmaHandle = txDmaHandle; in USART_TransferCreateHandleDMA()
164 if (txDmaHandle != NULL) in USART_TransferCreateHandleDMA()
166 DMA_SetCallback(txDmaHandle, USART_TransferSendDMACallback, &s_dmaPrivateHandle[instance]); in USART_TransferCreateHandleDMA()
194 assert(handle->txDmaHandle != NULL); in USART_TransferSendDMA()
221 (void)DMA_SubmitTransfer(handle->txDmaHandle, &xferConfig); in USART_TransferSendDMA()
222 DMA_StartTransfer(handle->txDmaHandle); in USART_TransferSendDMA()
293 assert(NULL != handle->txDmaHandle); in USART_TransferAbortSendDMA()
296 DMA_AbortTransfer(handle->txDmaHandle); in USART_TransferAbortSendDMA()
361 assert(NULL != handle->txDmaHandle); in USART_TransferGetSendCountDMA()
[all …]
Dfsl_usart_dma.h53 dma_handle_t *txDmaHandle; /*!< The DMA TX channel used. */ member
86 dma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/mculcd/
Dfsl_flexio_mculcd_edma.c87 EDMA_StartTransfer(flexioLcdMcuHandle->txDmaHandle); in FLEXIO_MCULCD_TxEDMACallback()
271 (void)EDMA_SubmitTransfer(handle->txDmaHandle, &xferConfig); in FLEXIO_MCULCD_EDMAConfig()
272 EDMA_SetModulo(handle->txDmaHandle->base, handle->txDmaHandle->channel, kEDMA_ModuloDisable, in FLEXIO_MCULCD_EDMAConfig()
325 edma_handle_t *txDmaHandle, in FLEXIO_MCULCD_TransferCreateHandleEDMA() argument
355 if (NULL != txDmaHandle) in FLEXIO_MCULCD_TransferCreateHandleEDMA()
362 handle->txDmaHandle = txDmaHandle; in FLEXIO_MCULCD_TransferCreateHandleEDMA()
363 EDMA_SetCallback(txDmaHandle, FLEXIO_MCULCD_TxEDMACallback, handle); in FLEXIO_MCULCD_TransferCreateHandleEDMA()
490 EDMA_StartTransfer(handle->txDmaHandle); in FLEXIO_MCULCD_TransferEDMA()
508 if (NULL != handle->txDmaHandle) in FLEXIO_MCULCD_TransferAbortEDMA()
510 EDMA_AbortTransfer(handle->txDmaHandle); in FLEXIO_MCULCD_TransferAbortEDMA()
[all …]
Dfsl_flexio_mculcd_edma.h59 edma_handle_t *txDmaHandle; /*!< DMA handle for MCULCD TX */ member
99 edma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexspi/
Dfsl_flexspi_edma.c112 edma_handle_t *txDmaHandle, in FLEXSPI_TransferCreateHandleEDMA() argument
125 handle->txDmaHandle = txDmaHandle; in FLEXSPI_TransferCreateHandleEDMA()
234 (void)EDMA_SubmitTransfer(handle->txDmaHandle, &xferConfig); in FLEXSPI_TransferEDMA()
235 EDMA_SetModulo(handle->txDmaHandle->base, handle->txDmaHandle->channel, kEDMA_ModuloDisable, in FLEXSPI_TransferEDMA()
237 EDMA_SetCallback(handle->txDmaHandle, FLEXSPI_TransferEDMACallback, in FLEXSPI_TransferEDMA()
239 EDMA_StartTransfer(handle->txDmaHandle); in FLEXSPI_TransferEDMA()
322 EDMA_AbortTransfer(handle->txDmaHandle); in FLEXSPI_TransferAbortEDMA()
357 … EDMA_GetRemainingMajorLoopCount(handle->txDmaHandle->base, handle->txDmaHandle->channel)); in FLEXSPI_TransferGetTransferCountEDMA()
Dfsl_flexspi_dma.c296 (void)DMA_SubmitChannelTransfer(handle->txDmaHandle, &txChannelConfig); in FLEXSPI_WriteDataDMA()
298 …DMA_SetCallback(handle->txDmaHandle, FLEXSPI_TransferDMACallback, &s_dmaPrivateHandle[FLEXSPI_GetI… in FLEXSPI_WriteDataDMA()
299 DMA_StartTransfer(handle->txDmaHandle); in FLEXSPI_WriteDataDMA()
469 dma_handle_t *txDmaHandle, in FLEXSPI_TransferCreateHandleDMA() argument
482 handle->txDmaHandle = txDmaHandle; in FLEXSPI_TransferCreateHandleDMA()
604 DMA_AbortTransfer(handle->txDmaHandle); in FLEXSPI_TransferAbortDMA()
637 …(handle->transferSize - DMA_GetRemainingBytes(handle->txDmaHandle->base, handle->txDmaHandle->chan… in FLEXSPI_TransferGetTransferCountDMA()
Dfsl_flexspi_dma.h48 dma_handle_t *txDmaHandle; /*!< dma handler for FLEXSPI Tx. */ member
85 dma_handle_t *txDmaHandle,
Dfsl_flexspi_edma.h54 edma_handle_t *txDmaHandle; /*!< eDMA handler for FLEXSPI Tx. */ member
91 edma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/components/video/display/dbi/flexio/
Dfsl_dbi_flexio_edma.c65 edma_handle_t *txDmaHandle, in DBI_FLEXIO_EDMA_CreateXferHandle() argument
71 … DBI_FLEXIO_EDMA_TransferCompletedCallback, dbiXferHandle, txDmaHandle, in DBI_FLEXIO_EDMA_CreateXferHandle()
114 if (NULL != xferHandle->flexioHandle.txDmaHandle) in DBI_FLEXIO_EDMA_WriteMemory()
Dfsl_dbi_flexio_edma.h67 edma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/components/uart/
Dfsl_adapter_usart.c57 dma_handle_t txDmaHandle; member
834 …DMA_CreateHandle(&uartDmaHandle->txDmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig->tx_cha… in HAL_UartDMAInit()
883 if (NULL != uartDmaHandle->dmaHandle.txDmaHandle) in HAL_UartDMADeinit()
894 if (NULL != uartDmaHandle->dmaHandle.txDmaHandle) in HAL_UartDMADeinit()
896 DMA_DisableChannel(uartDmaHandle->txDmaHandle.base, uartDmaHandle->txDmaHandle.channel); in HAL_UartDMADeinit()
962 USART_DMACallbacks, uartDmaHandle, &uartDmaHandle->txDmaHandle, in HAL_UartDMATransferInstallCallback()
Dfsl_adapter_lpuart.c101 dma_handle_t txDmaHandle; member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai_edma.c185 …ai_edma_handle_t *handle, sai_edma_callback_t callback, void *userData, edma_handle_t *txDmaHandle) in SAI_TransferTxCreateHandleEDMA() argument
187 assert((handle != NULL) && (txDmaHandle != NULL)); in SAI_TransferTxCreateHandleEDMA()
195 handle->dmaHandle = txDmaHandle; in SAI_TransferTxCreateHandleEDMA()
206 EDMA_InstallTCDMemory(txDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->tcd)), SAI_XFER_QUEUE_SIZE); in SAI_TransferTxCreateHandleEDMA()
209 EDMA_SetCallback(txDmaHandle, SAI_TxEDMACallback, &s_edmaPrivateHandle[instance][0]); in SAI_TransferTxCreateHandleEDMA()
Dfsl_sai_edma.h83 edma_handle_t *txDmaHandle);
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c_edma.c119 edma_handle_t *txDmaHandle, in LPI2C_MasterCreateEDMAHandle() argument
125 assert(txDmaHandle != NULL); in LPI2C_MasterCreateEDMAHandle()
139 … = (FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(base) > 0) ? txDmaHandle : rxDmaHandle; in LPI2C_MasterCreateEDMAHandle()
Dfsl_lpi2c_edma.h105 edma_handle_t *txDmaHandle,
/hal_nxp-3.6.0/mcux/mcux-sdk/components/spi/
Dfsl_adapter_lpspi.c84 dma_handle_t txDmaHandle; member
104 dma_handle_t txDmaHandle; member
/hal_nxp-3.6.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c107 sdma_handle_t txDmaHandle; member
799 …SDMA_CreateHandle(&handle->txDmaHandle, handle->dma, handle->txConfig.dmaChannel, &handle->txConfi… in SRTM_SaiSdmaAdapter_InitSAI()
800 handle->txDmaHandle.priority = handle->txConfig.ChannelPriority; in SRTM_SaiSdmaAdapter_InitSAI()
807 &handle->txDmaHandle, handle->txConfig.eventSource); in SRTM_SaiSdmaAdapter_InitSAI()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/flexcomm/
Dfsl_usart_cmsis.c462 DMA_AbortTransfer(usart->handle->txDmaHandle); in USART_DmaControl()