Home
last modified time | relevance | path

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

12

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpsci_dma.c147 dma_handle_t *rxDmaHandle) in LPSCI_TransferCreateHandleDMA() argument
173 if (rxDmaHandle) in LPSCI_TransferCreateHandleDMA()
179 handle->rxDmaHandle = rxDmaHandle; in LPSCI_TransferCreateHandleDMA()
189 if (rxDmaHandle) in LPSCI_TransferCreateHandleDMA()
191 … DMA_SetCallback(rxDmaHandle, LPSCI_TransferReceiveDMACallback, &s_dmaPrivateHandle[instance]); in LPSCI_TransferCreateHandleDMA()
236 assert(handle->rxDmaHandle); in LPSCI_TransferReceiveDMA()
259 DMA_SubmitTransfer(handle->rxDmaHandle, &xferConfig, kDMA_EnableInterrupt); in LPSCI_TransferReceiveDMA()
260 DMA_StartTransfer(handle->rxDmaHandle); in LPSCI_TransferReceiveDMA()
291 assert(handle->rxDmaHandle); in LPSCI_TransferAbortReceiveDMA()
297 DMA_AbortTransfer(handle->rxDmaHandle); in LPSCI_TransferAbortReceiveDMA()
[all …]
Dfsl_uart_dma.c175 dma_handle_t *rxDmaHandle) in UART_TransferCreateHandleDMA() argument
201 if (rxDmaHandle) in UART_TransferCreateHandleDMA()
207 handle->rxDmaHandle = rxDmaHandle; in UART_TransferCreateHandleDMA()
217 if (rxDmaHandle) in UART_TransferCreateHandleDMA()
219 … DMA_SetCallback(rxDmaHandle, UART_TransferReceiveDMACallback, &s_dmaPrivateHandle[instance]); in UART_TransferCreateHandleDMA()
264 assert(handle->rxDmaHandle); in UART_TransferReceiveDMA()
287 DMA_SubmitTransfer(handle->rxDmaHandle, &xferConfig, kDMA_EnableInterrupt); in UART_TransferReceiveDMA()
288 DMA_StartTransfer(handle->rxDmaHandle); in UART_TransferReceiveDMA()
319 assert(handle->rxDmaHandle); in UART_TransferAbortReceiveDMA()
325 DMA_AbortTransfer(handle->rxDmaHandle); in UART_TransferAbortReceiveDMA()
[all …]
Dfsl_sai_edma.c192 …ai_edma_handle_t *handle, sai_edma_callback_t callback, void *userData, edma_handle_t *rxDmaHandle) in SAI_TransferRxCreateHandleEDMA() argument
194 assert((handle != NULL) && (rxDmaHandle != NULL)); in SAI_TransferRxCreateHandleEDMA()
202 handle->dmaHandle = rxDmaHandle; in SAI_TransferRxCreateHandleEDMA()
213 EDMA_InstallTCDMemory(rxDmaHandle, STCD_ADDR(handle->tcd), SAI_XFER_QUEUE_SIZE); in SAI_TransferRxCreateHandleEDMA()
216 EDMA_SetCallback(rxDmaHandle, SAI_RxEDMACallback, &s_edmaPrivateHandle[instance][1]); in SAI_TransferRxCreateHandleEDMA()
Dfsl_lpi2c_edma.c115 edma_handle_t *rxDmaHandle, in LPI2C_MasterCreateEDMAHandle() argument
121 assert(rxDmaHandle); in LPI2C_MasterCreateEDMAHandle()
132 handle->rx = rxDmaHandle; in LPI2C_MasterCreateEDMAHandle()
133 … = (FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(base) > 0) ? txDmaHandle : rxDmaHandle; in LPI2C_MasterCreateEDMAHandle()
Dfsl_uart_dma.h69 dma_handle_t *rxDmaHandle; /*!< The DMA RX channel used. */ member
103 dma_handle_t *rxDmaHandle);
Dfsl_lpsci_dma.h69 dma_handle_t *rxDmaHandle; /*!< The DMA RX channel used. */ member
100 dma_handle_t *rxDmaHandle);
Dfsl_lpi2c_edma.h103 edma_handle_t *rxDmaHandle,
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_dmic_dma.c89 dma_handle_t *rxDmaHandle) in DMIC_TransferCreateHandleDMA() argument
93 assert(NULL != rxDmaHandle); in DMIC_TransferCreateHandleDMA()
99 handle->rxDmaHandle = rxDmaHandle; in DMIC_TransferCreateHandleDMA()
104 DMA_SetCallback(rxDmaHandle, DMIC_TransferReceiveDMACallback, handle); in DMIC_TransferCreateHandleDMA()
124 assert(handle->rxDmaHandle != NULL); in DMIC_TransferReceiveDMA()
202 if (DMA_SubmitChannelTransfer(handle->rxDmaHandle, &transferConfig) == kStatus_DMA_Busy) in DMIC_TransferReceiveDMA()
213 DMA_StartTransfer(handle->rxDmaHandle); in DMIC_TransferReceiveDMA()
231 assert(NULL != handle->rxDmaHandle); in DMIC_TransferAbortReceiveDMA()
234 DMA_AbortTransfer(handle->rxDmaHandle); in DMIC_TransferAbortReceiveDMA()
253 assert(handle->rxDmaHandle != NULL); in DMIC_TransferGetReceiveCountDMA()
[all …]
Dfsl_usart_dma.c124 dma_handle_t *rxDmaHandle) in USART_TransferCreateHandleDMA() argument
155 handle->rxDmaHandle = rxDmaHandle; in USART_TransferCreateHandleDMA()
172 if (rxDmaHandle != NULL) in USART_TransferCreateHandleDMA()
174 … DMA_SetCallback(rxDmaHandle, USART_TransferReceiveDMACallback, &s_dmaPrivateHandle[instance]); in USART_TransferCreateHandleDMA()
248 assert(handle->rxDmaHandle != NULL); in USART_TransferReceiveDMA()
275 (void)DMA_SubmitTransfer(handle->rxDmaHandle, &xferConfig); in USART_TransferReceiveDMA()
276 DMA_StartTransfer(handle->rxDmaHandle); in USART_TransferReceiveDMA()
313 assert(NULL != handle->rxDmaHandle); in USART_TransferAbortReceiveDMA()
316 DMA_AbortTransfer(handle->rxDmaHandle); in USART_TransferAbortReceiveDMA()
335 assert(NULL != handle->rxDmaHandle); in USART_TransferGetReceiveCountDMA()
[all …]
Dfsl_flexspi_dma.c435 (void)DMA_SubmitChannelTransfer(handle->rxDmaHandle, &rxChannelConfig); in FLEXSPI_ReadDataDMA()
437 …DMA_SetCallback(handle->rxDmaHandle, FLEXSPI_TransferDMACallback, &s_dmaPrivateHandle[FLEXSPI_GetI… in FLEXSPI_ReadDataDMA()
438 DMA_StartTransfer(handle->rxDmaHandle); in FLEXSPI_ReadDataDMA()
464 dma_handle_t *rxDmaHandle) in FLEXSPI_TransferCreateHandleDMA() argument
477 handle->rxDmaHandle = rxDmaHandle; in FLEXSPI_TransferCreateHandleDMA()
604 DMA_AbortTransfer(handle->rxDmaHandle); in FLEXSPI_TransferAbortDMA()
626 …(handle->transferSize - DMA_GetRemainingBytes(handle->rxDmaHandle->base, handle->rxDmaHandle->chan… in FLEXSPI_TransferGetTransferCountDMA()
Dfsl_flexspi_dma.h49 dma_handle_t *rxDmaHandle; /*!< dma handler for FLEXSPI Rx. */ member
86 dma_handle_t *rxDmaHandle);
Dfsl_dmic_dma.h60 dma_handle_t *rxDmaHandle; /*!< The DMA RX channel used. */ member
95 dma_handle_t *rxDmaHandle);
Dfsl_usart_dma.h54 dma_handle_t *rxDmaHandle; /*!< The DMA RX channel used. */ member
87 dma_handle_t *rxDmaHandle);
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_dmic_dma.c89 dma_handle_t *rxDmaHandle) in DMIC_TransferCreateHandleDMA() argument
93 assert(NULL != rxDmaHandle); in DMIC_TransferCreateHandleDMA()
99 handle->rxDmaHandle = rxDmaHandle; in DMIC_TransferCreateHandleDMA()
104 DMA_SetCallback(rxDmaHandle, DMIC_TransferReceiveDMACallback, handle); in DMIC_TransferCreateHandleDMA()
124 assert(handle->rxDmaHandle != NULL); in DMIC_TransferReceiveDMA()
202 if (DMA_SubmitChannelTransfer(handle->rxDmaHandle, &transferConfig) == kStatus_DMA_Busy) in DMIC_TransferReceiveDMA()
213 DMA_StartTransfer(handle->rxDmaHandle); in DMIC_TransferReceiveDMA()
231 assert(NULL != handle->rxDmaHandle); in DMIC_TransferAbortReceiveDMA()
234 DMA_AbortTransfer(handle->rxDmaHandle); in DMIC_TransferAbortReceiveDMA()
253 assert(handle->rxDmaHandle != NULL); in DMIC_TransferGetReceiveCountDMA()
[all …]
Dfsl_usart_dma.c124 dma_handle_t *rxDmaHandle) in USART_TransferCreateHandleDMA() argument
155 handle->rxDmaHandle = rxDmaHandle; in USART_TransferCreateHandleDMA()
172 if (rxDmaHandle != NULL) in USART_TransferCreateHandleDMA()
174 … DMA_SetCallback(rxDmaHandle, USART_TransferReceiveDMACallback, &s_dmaPrivateHandle[instance]); in USART_TransferCreateHandleDMA()
248 assert(handle->rxDmaHandle != NULL); in USART_TransferReceiveDMA()
275 (void)DMA_SubmitTransfer(handle->rxDmaHandle, &xferConfig); in USART_TransferReceiveDMA()
276 DMA_StartTransfer(handle->rxDmaHandle); in USART_TransferReceiveDMA()
313 assert(NULL != handle->rxDmaHandle); in USART_TransferAbortReceiveDMA()
316 DMA_AbortTransfer(handle->rxDmaHandle); in USART_TransferAbortReceiveDMA()
335 assert(NULL != handle->rxDmaHandle); in USART_TransferGetReceiveCountDMA()
[all …]
Dfsl_dmic_dma.h60 dma_handle_t *rxDmaHandle; /*!< The DMA RX channel used. */ member
95 dma_handle_t *rxDmaHandle);
Dfsl_usart_dma.h54 dma_handle_t *rxDmaHandle; /*!< The DMA RX channel used. */ member
87 dma_handle_t *rxDmaHandle);
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_mculcd_edma.c147 EDMA_StartTransfer(flexioLcdMcuHandle->rxDmaHandle); in FLEXIO_MCULCD_RxEDMACallback()
247 (void)EDMA_SubmitTransfer(handle->rxDmaHandle, &xferConfig); in FLEXIO_MCULCD_EDMAConfig()
248 … EDMA_SetModulo(handle->rxDmaHandle->base, handle->rxDmaHandle->channel, handle->rxEdmaModulo, in FLEXIO_MCULCD_EDMAConfig()
326 edma_handle_t *rxDmaHandle) in FLEXIO_MCULCD_TransferCreateHandleEDMA() argument
344 if (NULL != rxDmaHandle) in FLEXIO_MCULCD_TransferCreateHandleEDMA()
351 handle->rxDmaHandle = rxDmaHandle; in FLEXIO_MCULCD_TransferCreateHandleEDMA()
352 EDMA_SetCallback(rxDmaHandle, FLEXIO_MCULCD_RxEDMACallback, handle); in FLEXIO_MCULCD_TransferCreateHandleEDMA()
479 EDMA_StartTransfer(handle->rxDmaHandle); in FLEXIO_MCULCD_TransferEDMA()
512 if (NULL != handle->rxDmaHandle) in FLEXIO_MCULCD_TransferAbortEDMA()
514 EDMA_AbortTransfer(handle->rxDmaHandle); in FLEXIO_MCULCD_TransferAbortEDMA()
[all …]
Dfsl_flexspi_edma.c113 edma_handle_t *rxDmaHandle) in FLEXSPI_TransferCreateHandleEDMA() argument
126 handle->rxDmaHandle = rxDmaHandle; in FLEXSPI_TransferCreateHandleEDMA()
273 (void)EDMA_SubmitTransfer(handle->rxDmaHandle, &xferConfig); in FLEXSPI_TransferEDMA()
274 handle->rxDmaHandle->base->TCD[handle->rxDmaHandle->channel].ATTR |= DMA_ATTR_SMOD(power); in FLEXSPI_TransferEDMA()
275 …EDMA_SetCallback(handle->rxDmaHandle, FLEXSPI_TransferEDMACallback, &s_edmaPrivateHandle[instance]… in FLEXSPI_TransferEDMA()
276 EDMA_StartTransfer(handle->rxDmaHandle); in FLEXSPI_TransferEDMA()
326 EDMA_AbortTransfer(handle->rxDmaHandle); in FLEXSPI_TransferAbortEDMA()
349 … EDMA_GetRemainingMajorLoopCount(handle->rxDmaHandle->base, handle->rxDmaHandle->channel)); in FLEXSPI_TransferGetTransferCountEDMA()
Dfsl_sai_edma.c192 …ai_edma_handle_t *handle, sai_edma_callback_t callback, void *userData, edma_handle_t *rxDmaHandle) in SAI_TransferRxCreateHandleEDMA() argument
194 assert((handle != NULL) && (rxDmaHandle != NULL)); in SAI_TransferRxCreateHandleEDMA()
202 handle->dmaHandle = rxDmaHandle; in SAI_TransferRxCreateHandleEDMA()
213 EDMA_InstallTCDMemory(rxDmaHandle, STCD_ADDR(handle->tcd), SAI_XFER_QUEUE_SIZE); in SAI_TransferRxCreateHandleEDMA()
216 EDMA_SetCallback(rxDmaHandle, SAI_RxEDMACallback, &s_edmaPrivateHandle[instance][1]); in SAI_TransferRxCreateHandleEDMA()
Dfsl_lpi2c_edma.c107 edma_handle_t *rxDmaHandle, in LPI2C_MasterCreateEDMAHandle() argument
113 assert(rxDmaHandle != NULL); in LPI2C_MasterCreateEDMAHandle()
127 handle->rx = rxDmaHandle; in LPI2C_MasterCreateEDMAHandle()
128 … = (FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(base) > 0) ? txDmaHandle : rxDmaHandle; in LPI2C_MasterCreateEDMAHandle()
Dfsl_flexio_mculcd_edma.h60 edma_handle_t *rxDmaHandle; /*!< DMA handle for MCULCD RX */ member
100 edma_handle_t *rxDmaHandle);
Dfsl_flexspi_edma.h53 edma_handle_t *rxDmaHandle; /*!< eDMA handler for FLEXSPI Rx. */ member
90 edma_handle_t *rxDmaHandle);
Dfsl_lpi2c_edma.h104 edma_handle_t *rxDmaHandle,
Dfsl_sai_edma.h100 edma_handle_t *rxDmaHandle);

12