Searched refs:mor (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/clk/at91/ |
D | clk-main.c | 185 unsigned int mor; in clk_main_rc_osc_prepare() local 187 regmap_read(regmap, AT91_CKGR_MOR, &mor); in clk_main_rc_osc_prepare() 189 if (!(mor & AT91_PMC_MOSCRCEN)) in clk_main_rc_osc_prepare() 204 unsigned int mor; in clk_main_rc_osc_unprepare() local 206 regmap_read(regmap, AT91_CKGR_MOR, &mor); in clk_main_rc_osc_unprepare() 208 if (!(mor & AT91_PMC_MOSCRCEN)) in clk_main_rc_osc_unprepare() 219 unsigned int mor, status; in clk_main_rc_osc_is_prepared() local 221 regmap_read(regmap, AT91_CKGR_MOR, &mor); in clk_main_rc_osc_is_prepared() 224 return (mor & AT91_PMC_MOSCRCEN) && (status & AT91_PMC_MOSCRCS); in clk_main_rc_osc_is_prepared()
|
D | pmc.c | 134 u32 mor; member 191 regmap_read(pmcreg, AT91_CKGR_MOR, &pmc_cache.mor); in pmc_suspend() 239 regmap_write(pmcreg, AT91_CKGR_MOR, pmc_cache.mor); in pmc_resume()
|