Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/clk/sam/
A Dat91_pmc.c144 } pmc_cache; variable
192 pmc_cache.scsr = io_read32(pmc_base + AT91_PMC_SCSR); in pmc_suspend()
195 pmc_cache.mor = io_read32(pmc_base + AT91_CKGR_MOR); in pmc_suspend()
199 pmc_cache.usb = io_read32(pmc_base + AT91_PMC_USB); in pmc_suspend()
200 pmc_cache.imr = io_read32(pmc_base + AT91_PMC_IMR); in pmc_suspend()
233 if (pmc_cache.mckr != tmp) in pmc_resume()
236 if (pmc_cache.pllar != tmp) in pmc_resume()
242 io_write32(pmc_base + AT91_CKGR_MOR, pmc_cache.mor); in pmc_resume()
244 io_write32(pmc_base + AT91_PMC_USB, pmc_cache.usb); in pmc_resume()
245 io_write32(pmc_base + AT91_PMC_IMR, pmc_cache.imr); in pmc_resume()
[all …]

Completed in 3 milliseconds