Searched refs:tcd (Results 1 – 3 of 3) sorted by relevance
| /hal_openisa-latest/vega_sdk_riscv/devices/RV32M1/drivers/ |
| D | fsl_edma.c | 68 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd) in EDMA_InstallTCD() argument 71 assert(tcd != NULL); in EDMA_InstallTCD() 72 assert(((uint32_t)tcd & 0x1FU) == 0); in EDMA_InstallTCD() 75 base->TCD[channel].SADDR = tcd->SADDR; in EDMA_InstallTCD() 76 base->TCD[channel].SOFF = tcd->SOFF; in EDMA_InstallTCD() 77 base->TCD[channel].ATTR = tcd->ATTR; in EDMA_InstallTCD() 78 base->TCD[channel].NBYTES_MLNO = tcd->NBYTES; in EDMA_InstallTCD() 79 base->TCD[channel].SLAST = tcd->SLAST; in EDMA_InstallTCD() 80 base->TCD[channel].DADDR = tcd->DADDR; in EDMA_InstallTCD() 81 base->TCD[channel].DOFF = tcd->DOFF; in EDMA_InstallTCD() [all …]
|
| D | fsl_edma.h | 282 void EDMA_InstallTCD(DMA_Type *base, uint32_t channel, edma_tcd_t *tcd); 496 void EDMA_TcdReset(edma_tcd_t *tcd); 525 void EDMA_TcdSetTransferConfig(edma_tcd_t *tcd, const edma_transfer_config_t *config, edma_tcd_t *n… 536 void EDMA_TcdSetMinorOffsetConfig(edma_tcd_t *tcd, const edma_minor_offset_config_t *config); 553 void EDMA_TcdSetChannelLink(edma_tcd_t *tcd, edma_channel_link_type_t type, uint32_t linkedChannel); 567 static inline void EDMA_TcdSetBandWidth(edma_tcd_t *tcd, edma_bandwidth_t bandWidth) in EDMA_TcdSetBandWidth() argument 569 assert(tcd != NULL); in EDMA_TcdSetBandWidth() 570 assert(((uint32_t)tcd & 0x1FU) == 0); in EDMA_TcdSetBandWidth() 572 tcd->CSR = (tcd->CSR & (~DMA_CSR_BWC_MASK)) | DMA_CSR_BWC(bandWidth); in EDMA_TcdSetBandWidth() 586 void EDMA_TcdSetModulo(edma_tcd_t *tcd, edma_modulo_t srcModulo, edma_modulo_t destModulo); [all …]
|
| D | fsl_lpi2c_edma.c | 239 edma_tcd_t *tcd = (edma_tcd_t *)((uint32_t)(&handle->tcds[1]) & (~ALIGN_32_MASK)); in LPI2C_MasterTransferEDMA() local 265 EDMA_TcdReset(tcd); in LPI2C_MasterTransferEDMA() 266 EDMA_TcdSetTransferConfig(tcd, &transferConfig, NULL); in LPI2C_MasterTransferEDMA() 267 EDMA_TcdEnableInterrupts(tcd, kEDMA_MajorInterruptEnable); in LPI2C_MasterTransferEDMA() 268 linkTcd = tcd; in LPI2C_MasterTransferEDMA() 302 EDMA_TcdReset(tcd); in LPI2C_MasterTransferEDMA() 303 EDMA_TcdSetTransferConfig(tcd, &transferConfig, NULL); in LPI2C_MasterTransferEDMA() 304 EDMA_TcdEnableInterrupts(tcd, kEDMA_MajorInterruptEnable); in LPI2C_MasterTransferEDMA() 305 linkTcd = tcd; in LPI2C_MasterTransferEDMA()
|