/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/edma/ |
D | fsl_edma.h | 217 } edma_tcd_t; typedef 248 edma_tcd_t *tcdPool; /*!< Pointer to memory stored TCDs. */ 298 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd); 407 edma_tcd_t *nextTcd); 560 void EDMA_TcdReset(edma_tcd_t *tcd); 589 void EDMA_TcdSetTransferConfig(edma_tcd_t *tcd, const edma_transfer_config_t *config, edma_tcd_t *n… 600 void EDMA_TcdSetMinorOffsetConfig(edma_tcd_t *tcd, const edma_minor_offset_config_t *config); 617 void EDMA_TcdSetChannelLink(edma_tcd_t *tcd, edma_channel_link_type_t linkType, uint32_t linkedChan… 631 static inline void EDMA_TcdSetBandWidth(edma_tcd_t *tcd, edma_bandwidth_t bandWidth) in EDMA_TcdSetBandWidth() 650 void EDMA_TcdSetModulo(edma_tcd_t *tcd, edma_modulo_t srcModulo, edma_modulo_t destModulo); [all …]
|
D | fsl_edma.c | 88 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd) in EDMA_InstallTCD() 200 EDMA_TcdReset((edma_tcd_t *)(uint32_t)&base->TCD[channel]); in EDMA_ResetChannel() 228 …Config(DMA_Type *base, uint32_t channel, const edma_transfer_config_t *config, edma_tcd_t *nextTcd) in EDMA_SetTransferConfig() 236 nextTcd = (edma_tcd_t *)(MEMORY_ConvertMemoryMapAddress((uint32_t)nextTcd, kMEMORY_Local2DMA)); in EDMA_SetTransferConfig() 238 EDMA_TcdSetTransferConfig((edma_tcd_t *)(uint32_t)&base->TCD[channel], config, nextTcd); in EDMA_SetTransferConfig() 329 EDMA_TcdSetChannelLink((edma_tcd_t *)(uint32_t)&base->TCD[channel], linkType, linkedChannel); in EDMA_SetChannelLink() 445 void EDMA_TcdReset(edma_tcd_t *tcd) in EDMA_TcdReset() 492 void EDMA_TcdSetTransferConfig(edma_tcd_t *tcd, const edma_transfer_config_t *config, edma_tcd_t *n… in EDMA_TcdSetTransferConfig() 553 void EDMA_TcdSetMinorOffsetConfig(edma_tcd_t *tcd, const edma_minor_offset_config_t *config) in EDMA_TcdSetMinorOffsetConfig() 577 void EDMA_TcdSetMajorOffsetConfig(edma_tcd_t *tcd, int32_t sourceOffset, int32_t destOffset) in EDMA_TcdSetMajorOffsetConfig() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/dma3/ |
D | fsl_edma.h | 228 } edma_tcd_t; typedef 245 edma_tcd_t *tcdPool; /*!< Pointer to memory stored TCDs. */ 297 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd); 390 edma_tcd_t *nextTcd); 591 void EDMA_TcdReset(edma_tcd_t *tcd); 620 void EDMA_TcdSetTransferConfig(edma_tcd_t *tcd, const edma_transfer_config_t *config, edma_tcd_t *n… 631 void EDMA_TcdSetMinorOffsetConfig(edma_tcd_t *tcd, const edma_minor_offset_config_t *config); 648 void EDMA_TcdSetChannelLink(edma_tcd_t *tcd, edma_channel_link_type_t type, uint32_t linkedChannel); 662 static inline void EDMA_TcdSetBandWidth(edma_tcd_t *tcd, edma_bandwidth_t bandWidth) in EDMA_TcdSetBandWidth() 681 void EDMA_TcdSetModulo(edma_tcd_t *tcd, edma_modulo_t srcModulo, edma_modulo_t destModulo); [all …]
|
D | fsl_edma.c | 46 edma_tcd_t *nextTcd); 91 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd) in EDMA_InstallTCD() 116 edma_tcd_t *nextTcd) in EDMA_HandleTransferConfig() 122 nextTcd = (edma_tcd_t *)(MEMORY_ConvertMemoryMapAddress((uint32_t)nextTcd, kMEMORY_Local2DMA)); in EDMA_HandleTransferConfig() 281 …Config(DMA_Type *base, uint32_t channel, const edma_transfer_config_t *config, edma_tcd_t *nextTcd) in EDMA_SetTransferConfig() 287 …EDMA_TcdSetTransferConfig((edma_tcd_t *)((uint32_t)&base->CH[channel] + 0x00000020U), config, next… in EDMA_SetTransferConfig() 306 … EDMA_TcdSetMinorOffsetConfig((edma_tcd_t *)((uint32_t)&base->CH[channel] + 0x00000020U), config); in EDMA_SetMinorOffsetConfig() 333 …EDMA_TcdSetChannelLink((edma_tcd_t *)((uint32_t)&base->CH[channel] + 0x00000020U), type, linkedCha… in EDMA_SetChannelLink() 380 …EDMA_TcdSetModulo((edma_tcd_t *)((uint32_t)&base->CH[channel] + 0x00000020U), srcModulo, destModul… in EDMA_SetModulo() 404 EDMA_TcdEnableInterrupts((edma_tcd_t *)((uint32_t)&base->CH[channel] + 0x00000020U), mask); in EDMA_EnableChannelInterrupts() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/pdm/ |
D | fsl_pdm_edma.c | 19 #define STCD_ADDR(address) (edma_tcd_t *)(((uint32_t)(address) + 32) & ~0x1FU) 94 (void)memset(&pdmHandle->tcd[pdmHandle->tcdDriver], 0, sizeof(edma_tcd_t)); in PDM_EDMACallback() 182 handle->tcd = (edma_tcd_t *)tcdAddr; in PDM_TransferInstallEDMATCDMemory() 349 EDMA_TcdSetTransferConfig((edma_tcd_t *)&handle->tcd[handle->tcdUser], &config, in PDM_TransferReceiveEDMA() 350 (edma_tcd_t *)&handle->tcd[nextTcdIndex]); in PDM_TransferReceiveEDMA() 354 EDMA_TcdSetMinorOffsetConfig((edma_tcd_t *)&handle->tcd[handle->tcdUser], &minorOffset); in PDM_TransferReceiveEDMA() 358 … EDMA_TcdSetModulo((edma_tcd_t *)&handle->tcd[handle->tcdUser], modulo, kEDMA_ModuloDisable); in PDM_TransferReceiveEDMA() 362 …EDMA_TcdEnableInterrupts((edma_tcd_t *)&handle->tcd[handle->tcdUser], (uint32_t)kEDMA_MajorInterru… in PDM_TransferReceiveEDMA() 377 …EDMA_InstallTCD(handle->dmaHandle->base, handle->dmaHandle->channel, (edma_tcd_t *)&handle->tcd[tc… in PDM_TransferReceiveEDMA() 438 (void)memset(handle->tcd, 0, sizeof(edma_tcd_t) * handle->tcdNum); in PDM_TransferTerminateReceiveEDMA()
|
D | fsl_pdm_edma.h | 70 edma_tcd_t *tcd; /*!< TCD pool for eDMA transfer. */
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpi2c/ |
D | fsl_lpi2c_edma.c | 316 edma_tcd_t *tcd = (edma_tcd_t *)((uint32_t)(&handle->tcds[1]) & (~ALIGN_32_MASK)); in LPI2C_MasterTransferEDMA() 322 edma_tcd_t *linkTcd = NULL; in LPI2C_MasterTransferEDMA() 396 … edma_tcd_t *tcdSetRxClearTxDMA = (edma_tcd_t *)((uint32_t)(&handle->tcds[2]) & (~ALIGN_32_MASK)); in LPI2C_MasterTransferEDMA()
|
D | fsl_lpi2c_edma.h | 64 …edma_tcd_t tcds[3]; /*!< Software TCD. Three are allocated to provide enough room to align to 32-b…
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/spdif/ |
D | fsl_spdif_edma.h | 52 edma_tcd_t leftTcd[SPDIF_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */ 53 edma_tcd_t rightTcd[SPDIF_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */
|
D | fsl_spdif_edma.c | 24 #define STCD_ADDR(address) (edma_tcd_t *)(((uint32_t)(address) + 32U) & ~0x1FU) 131 edma_tcd_t *tcdRegs = (edma_tcd_t *)(uint32_t)&handle->base->TCD[handle->channel]; in SPDIF_SubmitTransfer()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/asrc/ |
D | fsl_asrc_edma.h | 50 … uint8_t tcd[(ASRC_XFER_IN_QUEUE_SIZE + 1U) * sizeof(edma_tcd_t)]; /*!< TCD pool for eDMA send. */ 68 … uint8_t tcd[(ASRC_XFER_OUT_QUEUE_SIZE + 1U) * sizeof(edma_tcd_t)]; /*!< TCD pool for eDMA send. */
|
D | fsl_asrc_edma.c | 19 #define STCD_ADDR(address) (edma_tcd_t *)(((uint32_t)(address) + 32U) & ~0x1FU) 145 …EDMA_InstallTCDMemory(inDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->in.tcd)), ASRC_XFER_OUT_QUEUE_… in ASRC_TransferInCreateHandleEDMA() 192 …EDMA_InstallTCDMemory(outDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->out.tcd)), ASRC_XFER_OUT_QUEU… in ASRC_TransferOutCreateHandleEDMA()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpspi/ |
D | fsl_lpspi_edma.c | 319 …edma_tcd_t *softwareTCD_pcsContinuous = (edma_tcd_t *)((uint32_t)(&handle->lpspiSoftwareTCD[2]) … in LPSPI_MasterTransferEDMALite() 320 …edma_tcd_t *softwareTCD_extraBytes = (edma_tcd_t *)((uint32_t)(&handle->lpspiSoftwareTCD[1]) … in LPSPI_MasterTransferEDMALite() 811 …edma_tcd_t *softwareTCD_extraBytes = (edma_tcd_t *)((uint32_t)(&handle->lpspiSoftwareTCD[1]) … in LPSPI_SlaveTransferEDMA()
|
D | fsl_lpspi_edma.h | 105 edma_tcd_t lpspiSoftwareTCD[3]; /*!<SoftwareTCD, internal used*/ 148 edma_tcd_t lpspiSoftwareTCD[2]; /*!<SoftwareTCD, internal used*/
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/sai/ |
D | fsl_sai_edma.c | 20 #define STCD_ADDR(address) (edma_tcd_t *)(((uint32_t)(address) + 32UL) & ~0x1FU) 206 EDMA_InstallTCDMemory(txDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->tcd)), SAI_XFER_QUEUE_SIZE); in SAI_TransferTxCreateHandleEDMA() 681 edma_tcd_t *currentTCD = STCD_ADDR(handle->tcd); in SAI_TransferSendLoopEDMA() 765 edma_tcd_t *currentTCD = STCD_ADDR(handle->tcd); in SAI_TransferReceiveLoopEDMA()
|
D | fsl_sai_edma.h | 47 … uint8_t tcd[(SAI_XFER_QUEUE_SIZE + 1U) * sizeof(edma_tcd_t)]; /*!< TCD pool for eDMA transfer. */
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/i2s/ |
D | fsl_flexio_i2s_edma.h | 46 edma_tcd_t tcd[FLEXIO_I2S_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */
|
D | fsl_flexio_i2s_edma.c | 20 #define STCD_ADDR(address) (edma_tcd_t *)(((uint32_t)(address) + 32U) & ~0x1FU)
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/esai/ |
D | fsl_esai_edma.h | 45 edma_tcd_t tcd[ESAI_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */
|
D | fsl_esai_edma.c | 20 #define STCD_ADDR(address) (edma_tcd_t *)(((uint32_t)(address) + 32U) & ~0x1FU)
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/dspi/ |
D | fsl_dspi_edma.h | 102 edma_tcd_t dspiSoftwareTCD[2]; /*!<SoftwareTCD , internal used*/
|
D | fsl_dspi_edma.c | 173 edma_tcd_t *softwareTCD = (edma_tcd_t *)((uint32_t)(&handle->dspiSoftwareTCD[1]) & (~0x1FU)); in DSPI_MasterTransferEDMA()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/components/uart/ |
D | fsl_adapter_lpuart.c | 213 …static edma_tcd_t tcdMemoryPoolPtr[sizeof(s_LpuartAdapterBase) / sizeof(LPUART_Type *)][1], sizeof… 1708 …EDMA_InstallTCDMemory(&uartDmaHandle->rxEdmaHandle, (edma_tcd_t *)&tcdMemoryPoolPtr[uartHandle->in… in LPUART_StartRingBufferEDMA()
|