Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/clk/sam/
A Dat91_h32mx.c21 unsigned int mckr = io_read32(pmc->base + AT91_PMC_MCKR); in clk_sama5d4_h32mx_get_rate() local
23 if (mckr & AT91_PMC_H32MXDIV) in clk_sama5d4_h32mx_get_rate()
37 uint32_t mckr = 0; in clk_sama5d4_h32mx_set_rate() local
43 mckr = AT91_PMC_H32MXDIV; in clk_sama5d4_h32mx_set_rate()
45 io_clrsetbits32(pmc->base + AT91_PMC_MCKR, AT91_PMC_H32MXDIV, mckr); in clk_sama5d4_h32mx_set_rate()
A Dat91_master.c24 uint32_t mckr; member
50 uint32_t mckr = 0; in clk_master_div_get_rate() local
56 mckr = io_read32(master->base + master->layout->offset); in clk_master_div_get_rate()
58 mckr &= layout->mask; in clk_master_div_get_rate()
60 div = (mckr >> MASTER_DIV_SHIFT) & MASTER_DIV_MASK; in clk_master_div_get_rate()
97 uint32_t mckr = 0; in clk_master_pres_get_parent() local
99 mckr = io_read32(master->base + master->layout->offset); in clk_master_pres_get_parent()
101 return mckr & AT91_PMC_CSS; in clk_master_pres_get_parent()
A Dat91_plldiv.c19 unsigned int mckr = io_read32(pmc->base + AT91_PMC_MCKR); in clk_plldiv_get_rate() local
21 if (mckr & AT91_PMC_PLLADIV2) in clk_plldiv_get_rate()
A Dat91_pmc.c136 uint32_t mckr; member
198 pmc_cache.mckr = io_read32(pmc_base + AT91_PMC_MCKR); in pmc_suspend()
233 if (pmc_cache.mckr != tmp) in pmc_resume()

Completed in 4 milliseconds