Home
last modified time | relevance | path

Searched refs:mend (Results 1 – 2 of 2) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_dmac.c75 uint32_t mend; member
362 dbg_mec_dma[chan].mend = regs->MEND; in mec_hal_dma_chan_start()
539 uint32_t mstart = 0, mend = 0, nrem = 0; in mec_hal_dma_chan_rem_bytes() local
548 mend = regs->MEND; in mec_hal_dma_chan_rem_bytes()
550 if (mend > mstart) { in mec_hal_dma_chan_rem_bytes()
551 nrem = mend - mstart; in mec_hal_dma_chan_rem_bytes()
666 uint32_t ctrl = 0u, dstart = 0u, mstart = 0u, mend = 0u; in mec_hal_dma_chan_cfg_get() local
703 mend = regs->MEND; in mec_hal_dma_chan_cfg_get()
705 if (mend > mstart) { in mec_hal_dma_chan_cfg_get()
706 cfg->nbytes = mend - mstart; in mec_hal_dma_chan_cfg_get()
Dmec_emi.c157 uint32_t mend, rlim, wlim; in mec_hal_emi_mem_region_config() local
167 mend = (rlim > wlim) ? rlim : wlim; in mec_hal_emi_mem_region_config()
168 if ((mbase + mend) > (MEC5_DATA_SRAM_BASE + MEC5_DATA_SRAM_SIZE)) { in mec_hal_emi_mem_region_config()