Home
last modified time | relevance | path

Searched refs:tcd (Results 1 – 17 of 17) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dma3/
Dfsl_edma.c91 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd) in EDMA_InstallTCD() argument
94 assert(tcd != NULL); in EDMA_InstallTCD()
95 assert(((uint32_t)tcd & 0x1FU) == 0U); in EDMA_InstallTCD()
98 base->CH[channel].TCD_SADDR = tcd->SADDR; in EDMA_InstallTCD()
99 base->CH[channel].TCD_SOFF = tcd->SOFF; in EDMA_InstallTCD()
100 base->CH[channel].TCD_ATTR = tcd->ATTR; in EDMA_InstallTCD()
101 base->CH[channel].TCD_NBYTES_MLOFFNO = tcd->NBYTES; in EDMA_InstallTCD()
102 base->CH[channel].TCD_SLAST_SDA = tcd->SLAST; in EDMA_InstallTCD()
103 base->CH[channel].TCD_DADDR = tcd->DADDR; in EDMA_InstallTCD()
104 base->CH[channel].TCD_DOFF = tcd->DOFF; in EDMA_InstallTCD()
[all …]
Dfsl_edma.h297 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd);
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() argument
664 assert(tcd != NULL); in EDMA_TcdSetBandWidth()
665 assert(((uint32_t)tcd & 0x1FU) == 0U); in EDMA_TcdSetBandWidth()
667 tcd->CSR = (tcd->CSR & (~(uint16_t)DMA_TCD_CSR_BWC_MASK)) | DMA_TCD_CSR_BWC(bandWidth); in EDMA_TcdSetBandWidth()
681 void EDMA_TcdSetModulo(edma_tcd_t *tcd, edma_modulo_t srcModulo, edma_modulo_t destModulo);
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/edma/
Dfsl_edma.c88 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd) in EDMA_InstallTCD() argument
91 assert(tcd != NULL); in EDMA_InstallTCD()
92 assert(((uint32_t)tcd & 0x1FU) == 0U); in EDMA_InstallTCD()
95 base->TCD[channel].SADDR = tcd->SADDR; in EDMA_InstallTCD()
96 base->TCD[channel].SOFF = tcd->SOFF; in EDMA_InstallTCD()
97 base->TCD[channel].ATTR = tcd->ATTR; in EDMA_InstallTCD()
98 base->TCD[channel].NBYTES_MLNO = tcd->NBYTES; in EDMA_InstallTCD()
99 base->TCD[channel].SLAST = (int32_t)tcd->SLAST; in EDMA_InstallTCD()
100 base->TCD[channel].DADDR = tcd->DADDR; in EDMA_InstallTCD()
101 base->TCD[channel].DOFF = tcd->DOFF; in EDMA_InstallTCD()
[all …]
Dfsl_edma.h298 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd);
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() argument
633 assert(tcd != NULL); in EDMA_TcdSetBandWidth()
634 assert(((uint32_t)tcd & 0x1FU) == 0U); in EDMA_TcdSetBandWidth()
636 tcd->CSR = (uint16_t)((tcd->CSR & (~DMA_CSR_BWC_MASK)) | DMA_CSR_BWC(bandWidth)); in EDMA_TcdSetBandWidth()
650 void EDMA_TcdSetModulo(edma_tcd_t *tcd, edma_modulo_t srcModulo, edma_modulo_t destModulo);
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pdm/
Dfsl_pdm_edma.c94 (void)memset(&pdmHandle->tcd[pdmHandle->tcdDriver], 0, sizeof(edma_tcd_t)); in PDM_EDMACallback()
99 …pdmHandle->tcd[pdmHandle->tcdDriver].BITER * (pdmHandle->tcd[pdmHandle->tcdDriver].NBYTES & 0x3FFU… 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 …tallTCD(handle->dmaHandle->base, handle->dmaHandle->channel, (edma_tcd_t *)&handle->tcd[tcdIndex]); in PDM_TransferReceiveEDMA()
438 (void)memset(handle->tcd, 0, sizeof(edma_tcd_t) * handle->tcdNum); in PDM_TransferTerminateReceiveEDMA()
Dfsl_pdm_edma.h70 edma_tcd_t *tcd; /*!< TCD pool for eDMA transfer. */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c_edma.c316 edma_tcd_t *tcd = (edma_tcd_t *)((uint32_t)(&handle->tcds[1]) & (~ALIGN_32_MASK)); in LPI2C_MasterTransferEDMA() local
343 EDMA_TcdReset(tcd); in LPI2C_MasterTransferEDMA()
344 EDMA_TcdSetTransferConfig(tcd, &transferConfig, NULL); in LPI2C_MasterTransferEDMA()
345 EDMA_TcdEnableInterrupts(tcd, (uint32_t)kEDMA_MajorInterruptEnable); in LPI2C_MasterTransferEDMA()
346 linkTcd = tcd; in LPI2C_MasterTransferEDMA()
383 EDMA_TcdReset(tcd); in LPI2C_MasterTransferEDMA()
384 EDMA_TcdSetTransferConfig(tcd, &transferConfig, NULL); in LPI2C_MasterTransferEDMA()
385 EDMA_TcdEnableInterrupts(tcd, (uint32_t)kEDMA_MajorInterruptEnable); in LPI2C_MasterTransferEDMA()
399 EDMA_TcdSetTransferConfig(tcdSetRxClearTxDMA, &transferConfig, tcd); in LPI2C_MasterTransferEDMA()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/asrc/
Dfsl_asrc_edma.c145 …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()
437 (void)memset(handle->in.tcd, 0, sizeof(handle->in.tcd)); in ASRC_TransferInTerminalEDMA()
465 (void)memset(handle->out.tcd, 0, sizeof(handle->out.tcd)); in ASRC_TransferOutTerminalEDMA()
Dfsl_asrc_edma.h50 … uint8_t tcd[(ASRC_XFER_IN_QUEUE_SIZE + 1U) * sizeof(edma_tcd_t)]; /*!< TCD pool for eDMA send. */ member
68 … uint8_t tcd[(ASRC_XFER_OUT_QUEUE_SIZE + 1U) * sizeof(edma_tcd_t)]; /*!< TCD pool for eDMA send. */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai_edma.c206 EDMA_InstallTCDMemory(txDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->tcd)), SAI_XFER_QUEUE_SIZE); in SAI_TransferTxCreateHandleEDMA()
247 EDMA_InstallTCDMemory(rxDmaHandle, STCD_ADDR(handle->tcd), SAI_XFER_QUEUE_SIZE); in SAI_TransferRxCreateHandleEDMA()
681 edma_tcd_t *currentTCD = STCD_ADDR(handle->tcd); in SAI_TransferSendLoopEDMA()
765 edma_tcd_t *currentTCD = STCD_ADDR(handle->tcd); in SAI_TransferReceiveLoopEDMA()
918 (void)memset(handle->tcd, 0, sizeof(handle->tcd)); in SAI_TransferTerminateSendEDMA()
943 (void)memset(handle->tcd, 0, sizeof(handle->tcd)); in SAI_TransferTerminateReceiveEDMA()
Dfsl_sai_edma.h47 … uint8_t tcd[(SAI_XFER_QUEUE_SIZE + 1U) * sizeof(edma_tcd_t)]; /*!< TCD pool for eDMA transfer. */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/i2s/
Dfsl_flexio_i2s_edma.h46 edma_tcd_t tcd[FLEXIO_I2S_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */ member
Dfsl_flexio_i2s_edma.c141 EDMA_InstallTCDMemory(dmaHandle, STCD_ADDR(handle->tcd), FLEXIO_I2S_XFER_QUEUE_SIZE); in FLEXIO_I2S_TransferTxCreateHandleEDMA()
183 EDMA_InstallTCDMemory(dmaHandle, STCD_ADDR(handle->tcd), FLEXIO_I2S_XFER_QUEUE_SIZE); in FLEXIO_I2S_TransferRxCreateHandleEDMA()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/esai/
Dfsl_esai_edma.h45 edma_tcd_t tcd[ESAI_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */ member
Dfsl_esai_edma.c143 EDMA_InstallTCDMemory(dmaHandle, STCD_ADDR(handle->tcd), ESAI_XFER_QUEUE_SIZE); in ESAI_TransferTxCreateHandleEDMA()
187 EDMA_InstallTCDMemory(dmaHandle, STCD_ADDR(handle->tcd), ESAI_XFER_QUEUE_SIZE); in ESAI_TransferRxCreateHandleEDMA()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/sensors/
Dfxpq3115.h305 …uint8_t tcd : 4; /* - 12-bit temperature change measurement data bits 3:0 … member
Dmpl3115.h305 …uint8_t tcd : 4; /* - 12-bit temperature change measurement data bits 3:0 … member