Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpsci_dma.c146 dma_handle_t *txDmaHandle, in LPSCI_TransferCreateHandleDMA() argument
180 handle->txDmaHandle = txDmaHandle; in LPSCI_TransferCreateHandleDMA()
183 if (txDmaHandle) in LPSCI_TransferCreateHandleDMA()
185 DMA_SetCallback(txDmaHandle, LPSCI_TransferSendDMACallback, &s_dmaPrivateHandle[instance]); in LPSCI_TransferCreateHandleDMA()
198 assert(handle->txDmaHandle); in LPSCI_TransferSendDMA()
221 DMA_SubmitTransfer(handle->txDmaHandle, &xferConfig, kDMA_EnableInterrupt); in LPSCI_TransferSendDMA()
222 DMA_StartTransfer(handle->txDmaHandle); in LPSCI_TransferSendDMA()
274 assert(handle->txDmaHandle); in LPSCI_TransferAbortSendDMA()
280 DMA_AbortTransfer(handle->txDmaHandle); in LPSCI_TransferAbortSendDMA()
283 …DMA_ClearChannelStatusFlags(handle->txDmaHandle->base, handle->txDmaHandle->channel, kDMA_Transact… in LPSCI_TransferAbortSendDMA()
[all …]
Dfsl_uart_dma.c174 dma_handle_t *txDmaHandle, in UART_TransferCreateHandleDMA() argument
208 handle->txDmaHandle = txDmaHandle; in UART_TransferCreateHandleDMA()
211 if (txDmaHandle) in UART_TransferCreateHandleDMA()
213 DMA_SetCallback(txDmaHandle, UART_TransferSendDMACallback, &s_dmaPrivateHandle[instance]); in UART_TransferCreateHandleDMA()
226 assert(handle->txDmaHandle); in UART_TransferSendDMA()
249 DMA_SubmitTransfer(handle->txDmaHandle, &xferConfig, kDMA_EnableInterrupt); in UART_TransferSendDMA()
250 DMA_StartTransfer(handle->txDmaHandle); in UART_TransferSendDMA()
302 assert(handle->txDmaHandle); in UART_TransferAbortSendDMA()
308 DMA_AbortTransfer(handle->txDmaHandle); in UART_TransferAbortSendDMA()
311 …DMA_ClearChannelStatusFlags(handle->txDmaHandle->base, handle->txDmaHandle->channel, kDMA_Transact… in UART_TransferAbortSendDMA()
[all …]
Dfsl_sai_edma.c151 …ai_edma_handle_t *handle, sai_edma_callback_t callback, void *userData, edma_handle_t *txDmaHandle) in SAI_TransferTxCreateHandleEDMA() argument
153 assert((handle != NULL) && (txDmaHandle != NULL)); in SAI_TransferTxCreateHandleEDMA()
161 handle->dmaHandle = txDmaHandle; in SAI_TransferTxCreateHandleEDMA()
172 EDMA_InstallTCDMemory(txDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->tcd)), SAI_XFER_QUEUE_SIZE); in SAI_TransferTxCreateHandleEDMA()
175 EDMA_SetCallback(txDmaHandle, SAI_TxEDMACallback, &s_edmaPrivateHandle[instance][0]); in SAI_TransferTxCreateHandleEDMA()
Dfsl_uart_dma.h68 dma_handle_t *txDmaHandle; /*!< The DMA TX channel used. */ member
102 dma_handle_t *txDmaHandle,
Dfsl_lpsci_dma.h68 dma_handle_t *txDmaHandle; /*!< The DMA TX channel used. */ member
99 dma_handle_t *txDmaHandle,
Dfsl_lpi2c_edma.c116 edma_handle_t *txDmaHandle, in LPI2C_MasterCreateEDMAHandle() argument
122 assert(txDmaHandle); in LPI2C_MasterCreateEDMAHandle()
133 … = (FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(base) > 0) ? txDmaHandle : rxDmaHandle; in LPI2C_MasterCreateEDMAHandle()
Dfsl_lpi2c_edma.h104 edma_handle_t *txDmaHandle,
Dfsl_sai_edma.h81 edma_handle_t *txDmaHandle);
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_usart_dma.c123 dma_handle_t *txDmaHandle, in USART_TransferCreateHandleDMA() argument
156 handle->txDmaHandle = txDmaHandle; in USART_TransferCreateHandleDMA()
166 if (txDmaHandle != NULL) in USART_TransferCreateHandleDMA()
168 DMA_SetCallback(txDmaHandle, USART_TransferSendDMACallback, &s_dmaPrivateHandle[instance]); in USART_TransferCreateHandleDMA()
196 assert(handle->txDmaHandle != NULL); in USART_TransferSendDMA()
223 (void)DMA_SubmitTransfer(handle->txDmaHandle, &xferConfig); in USART_TransferSendDMA()
224 DMA_StartTransfer(handle->txDmaHandle); in USART_TransferSendDMA()
295 assert(NULL != handle->txDmaHandle); in USART_TransferAbortSendDMA()
298 DMA_AbortTransfer(handle->txDmaHandle); in USART_TransferAbortSendDMA()
363 assert(NULL != handle->txDmaHandle); in USART_TransferGetSendCountDMA()
[all …]
Dfsl_flexspi_dma.c290 (void)DMA_SubmitChannelTransfer(handle->txDmaHandle, &txChannelConfig); in FLEXSPI_WriteDataDMA()
292 …DMA_SetCallback(handle->txDmaHandle, FLEXSPI_TransferDMACallback, &s_dmaPrivateHandle[FLEXSPI_GetI… in FLEXSPI_WriteDataDMA()
293 DMA_StartTransfer(handle->txDmaHandle); in FLEXSPI_WriteDataDMA()
463 dma_handle_t *txDmaHandle, in FLEXSPI_TransferCreateHandleDMA() argument
476 handle->txDmaHandle = txDmaHandle; in FLEXSPI_TransferCreateHandleDMA()
598 DMA_AbortTransfer(handle->txDmaHandle); in FLEXSPI_TransferAbortDMA()
631 …(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_usart_dma.h53 dma_handle_t *txDmaHandle; /*!< The DMA TX channel used. */ member
86 dma_handle_t *txDmaHandle,
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_usart_dma.c123 dma_handle_t *txDmaHandle, in USART_TransferCreateHandleDMA() argument
156 handle->txDmaHandle = txDmaHandle; in USART_TransferCreateHandleDMA()
166 if (txDmaHandle != NULL) in USART_TransferCreateHandleDMA()
168 DMA_SetCallback(txDmaHandle, USART_TransferSendDMACallback, &s_dmaPrivateHandle[instance]); in USART_TransferCreateHandleDMA()
196 assert(handle->txDmaHandle != NULL); in USART_TransferSendDMA()
223 (void)DMA_SubmitTransfer(handle->txDmaHandle, &xferConfig); in USART_TransferSendDMA()
224 DMA_StartTransfer(handle->txDmaHandle); in USART_TransferSendDMA()
295 assert(NULL != handle->txDmaHandle); in USART_TransferAbortSendDMA()
298 DMA_AbortTransfer(handle->txDmaHandle); in USART_TransferAbortSendDMA()
363 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-2.7.6/mcux/drivers/imx/
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_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 handle->txDmaHandle->base->TCD[handle->txDmaHandle->channel].ATTR |= DMA_ATTR_DMOD(power); in FLEXSPI_TransferEDMA()
236 EDMA_SetCallback(handle->txDmaHandle, FLEXSPI_TransferEDMACallback, in FLEXSPI_TransferEDMA()
238 EDMA_StartTransfer(handle->txDmaHandle); in FLEXSPI_TransferEDMA()
320 EDMA_AbortTransfer(handle->txDmaHandle); in FLEXSPI_TransferAbortEDMA()
355 … EDMA_GetRemainingMajorLoopCount(handle->txDmaHandle->base, handle->txDmaHandle->channel)); in FLEXSPI_TransferGetTransferCountEDMA()
Dfsl_sai_edma.c151 …ai_edma_handle_t *handle, sai_edma_callback_t callback, void *userData, edma_handle_t *txDmaHandle) in SAI_TransferTxCreateHandleEDMA() argument
153 assert((handle != NULL) && (txDmaHandle != NULL)); in SAI_TransferTxCreateHandleEDMA()
161 handle->dmaHandle = txDmaHandle; in SAI_TransferTxCreateHandleEDMA()
172 EDMA_InstallTCDMemory(txDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->tcd)), SAI_XFER_QUEUE_SIZE); in SAI_TransferTxCreateHandleEDMA()
175 EDMA_SetCallback(txDmaHandle, SAI_TxEDMACallback, &s_edmaPrivateHandle[instance][0]); in SAI_TransferTxCreateHandleEDMA()
Dfsl_flexio_mculcd_edma.h59 edma_handle_t *txDmaHandle; /*!< DMA handle for MCULCD TX */ member
99 edma_handle_t *txDmaHandle,
Dfsl_flexspi_edma.h52 edma_handle_t *txDmaHandle; /*!< eDMA handler for FLEXSPI Tx. */ member
89 edma_handle_t *txDmaHandle,
Dfsl_lpi2c_edma.c108 edma_handle_t *txDmaHandle, in LPI2C_MasterCreateEDMAHandle() argument
114 assert(txDmaHandle != NULL); in LPI2C_MasterCreateEDMAHandle()
128 … = (FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(base) > 0) ? txDmaHandle : rxDmaHandle; in LPI2C_MasterCreateEDMAHandle()
Dfsl_lpi2c_edma.h105 edma_handle_t *txDmaHandle,
Dfsl_sai_edma.h81 edma_handle_t *txDmaHandle);