Home
last modified time | relevance | path

Searched refs:tmpreg (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/edma4/
Dfsl_edma.c163 uint32_t tmpreg, i = 0U; in EDMA_Init() local
180 tmpreg = EDMA_BASE(base)->CR; in EDMA_Init()
181 tmpreg &= ~(DMA_CR_ERCA_MASK | DMA_CR_HOE_MASK | DMA_CR_CLM_MASK | DMA_CR_EDBG_MASK); in EDMA_Init()
182tmpreg |= (DMA_CR_ERCA(config->enableRoundRobinArbitration) | DMA_CR_HOE(config->enableHaltOnError… in EDMA_Init()
184 EDMA_BASE(base)->CR = tmpreg; in EDMA_Init()
186 tmpreg = EDMA_MP_BASE(base)->MP_CSR; in EDMA_Init()
188tmpreg = (tmpreg & ~(DMA_MP_CSR_HAE_MASK | DMA_MP_CSR_ERCA_MASK | DMA_MP_CSR_EDBG_MASK | DMA_MP_CS… in EDMA_Init()
194tmpreg = (tmpreg & ~(DMA_MP_CSR_HAE_MASK | DMA_MP_CSR_ERCA_MASK | DMA_MP_CSR_EDBG_MASK | DMA_MP_CS… in EDMA_Init()
199 EDMA_MP_BASE(base)->MP_CSR = tmpreg; in EDMA_Init()
388 uint32_t tmpreg; in EDMA_SetMinorOffsetConfig() local
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/dma/
Dfsl_dma.c150 uint32_t tmpreg; in DMA_SetTransferConfig() local
159 tmpreg = base->DMA[channel].DCR; in DMA_SetTransferConfig()
160 tmpreg &= ~(DMA_DCR_DSIZE_MASK | DMA_DCR_DINC_MASK | DMA_DCR_SSIZE_MASK | DMA_DCR_SINC_MASK); in DMA_SetTransferConfig()
161 tmpreg |= (DMA_DCR_DSIZE(config->destSize) | DMA_DCR_DINC(config->enableDestIncrement) | in DMA_SetTransferConfig()
163 base->DMA[channel].DCR = tmpreg; in DMA_SetTransferConfig()
186 uint32_t tmpreg; in DMA_SetChannelLinkConfig() local
188 tmpreg = base->DMA[channel].DCR; in DMA_SetChannelLinkConfig()
189 tmpreg &= ~(DMA_DCR_LINKCC_MASK | DMA_DCR_LCH1_MASK | DMA_DCR_LCH2_MASK); in DMA_SetChannelLinkConfig()
190tmpreg |= (DMA_DCR_LINKCC(config->linkType) | DMA_DCR_LCH1(config->channel1) | DMA_DCR_LCH2(config… in DMA_SetChannelLinkConfig()
191 base->DMA[channel].DCR = tmpreg; in DMA_SetChannelLinkConfig()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/dma3/
Dfsl_ad_edma.c150 uint32_t tmpreg; in EDMA_AD_Init() local
152 tmpreg = base->MP_CSR; in EDMA_AD_Init()
153 tmpreg &= ~(DMA_MP_CSR_HAE_MASK | DMA_MP_CSR_ERCA_MASK | DMA_MP_CSR_EDBG_MASK); in EDMA_AD_Init()
155tmpreg = (tmpreg & (~DMA_MP_CSR_GMRC_MASK)) | DMA_MP_CSR_GMRC(config->enableMasterIdReplication); in EDMA_AD_Init()
158 tmpreg = (tmpreg & (~DMA_MP_CSR_EBW_MASK)) | DMA_MP_CSR_EBW(config->enableBufferedWrites); in EDMA_AD_Init()
161tmpreg |= (DMA_MP_CSR_HAE(config->enableHaltOnError) | DMA_MP_CSR_ERCA(config->enableRoundRobinArb… in EDMA_AD_Init()
164 base->MP_CSR = tmpreg; in EDMA_AD_Init()
561 uint32_t tmpreg; in EDMA_AD_TcdSetMinorOffsetConfig() local
563 tmpreg = tcd->NBYTES; in EDMA_AD_TcdSetMinorOffsetConfig()
564 tmpreg &= in EDMA_AD_TcdSetMinorOffsetConfig()
[all …]
Dfsl_edma.c181 uint32_t tmpreg; in EDMA_Init() local
183 tmpreg = base->MP_CSR; in EDMA_Init()
184 tmpreg &= ~(DMA_MP_CSR_HAE_MASK | DMA_MP_CSR_ERCA_MASK | DMA_MP_CSR_EDBG_MASK); in EDMA_Init()
186tmpreg = (tmpreg & (~DMA_MP_CSR_GMRC_MASK)) | DMA_MP_CSR_GMRC(config->enableMasterIdReplication); in EDMA_Init()
189 tmpreg = (tmpreg & (~DMA_MP_CSR_EBW_MASK)) | DMA_MP_CSR_EBW(config->enableBufferedWrites); in EDMA_Init()
192tmpreg |= (DMA_MP_CSR_HAE(config->enableHaltOnError) | DMA_MP_CSR_ERCA(config->enableRoundRobinArb… in EDMA_Init()
195 base->MP_CSR = tmpreg; in EDMA_Init()
589 uint32_t tmpreg; in EDMA_TcdSetMinorOffsetConfig() local
591 tmpreg = tcd->NBYTES; in EDMA_TcdSetMinorOffsetConfig()
592 tmpreg &= in EDMA_TcdSetMinorOffsetConfig()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/edma/
Dfsl_edma.c124 uint32_t tmpreg; in EDMA_Init() local
136 tmpreg = base->CR; in EDMA_Init()
137 tmpreg &= ~(DMA_CR_ERCA_MASK | DMA_CR_HOE_MASK | DMA_CR_CLM_MASK | DMA_CR_EDBG_MASK); in EDMA_Init()
138tmpreg |= (DMA_CR_ERCA(config->enableRoundRobinArbitration) | DMA_CR_HOE(config->enableHaltOnError… in EDMA_Init()
140 base->CR = tmpreg; in EDMA_Init()
256 uint32_t tmpreg; in EDMA_SetMinorOffsetConfig() local
258 tmpreg = base->TCD[channel].NBYTES_MLOFFYES; in EDMA_SetMinorOffsetConfig()
259tmpreg &= ~(DMA_NBYTES_MLOFFYES_SMLOE_MASK | DMA_NBYTES_MLOFFYES_DMLOE_MASK | DMA_NBYTES_MLOFFYES_… in EDMA_SetMinorOffsetConfig()
260 tmpreg |= in EDMA_SetMinorOffsetConfig()
263 base->TCD[channel].NBYTES_MLOFFYES = tmpreg; in EDMA_SetMinorOffsetConfig()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sdma/
Dfsl_sdma.c363 uint32_t tmpreg; in SDMA_Init() local
398 tmpreg = base->CONFIG; in SDMA_Init()
399 tmpreg &= ~(SDMAARM_CONFIG_ACR_MASK | SDMAARM_CONFIG_RTDOBS_MASK | SDMAARM_CONFIG_CSM_MASK); in SDMA_Init()
401tmpreg |= (SDMAARM_CONFIG_ACR(config->ratio) | SDMAARM_CONFIG_RTDOBS(config->enableRealTimeDebugPi… in SDMA_Init()
403 base->CONFIG = tmpreg; in SDMA_Init()
405 tmpreg = base->SDMA_LOCK; in SDMA_Init()
406 tmpreg &= ~SDMAARM_SDMA_LOCK_SRESET_LOCK_CLR_MASK; in SDMA_Init()
407 tmpreg |= SDMAARM_SDMA_LOCK_SRESET_LOCK_CLR(config->isSoftwareResetClearLock); in SDMA_Init()
408 base->SDMA_LOCK = tmpreg; in SDMA_Init()