Searched refs:mckr (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/clk/at91/ |
D | clk-h32mx.c | 37 unsigned int mckr; in clk_sama5d4_h32mx_recalc_rate() local 39 regmap_read(h32mxclk->regmap, AT91_PMC_MCKR, &mckr); in clk_sama5d4_h32mx_recalc_rate() 40 if (mckr & AT91_PMC_H32MXDIV) in clk_sama5d4_h32mx_recalc_rate() 69 u32 mckr = 0; in clk_sama5d4_h32mx_set_rate() local 75 mckr = AT91_PMC_H32MXDIV; in clk_sama5d4_h32mx_set_rate() 78 AT91_PMC_H32MXDIV, mckr); in clk_sama5d4_h32mx_set_rate()
|
D | clk-master.c | 83 unsigned int mckr; in clk_master_recalc_rate() local 85 regmap_read(master->regmap, AT91_PMC_MCKR, &mckr); in clk_master_recalc_rate() 86 mckr &= layout->mask; in clk_master_recalc_rate() 88 pres = (mckr >> layout->pres_shift) & MASTER_PRES_MASK; in clk_master_recalc_rate() 89 div = (mckr >> MASTER_DIV_SHIFT) & MASTER_DIV_MASK; in clk_master_recalc_rate() 109 unsigned int mckr; in clk_master_get_parent() local 111 regmap_read(master->regmap, AT91_PMC_MCKR, &mckr); in clk_master_get_parent() 113 return mckr & AT91_PMC_CSS; in clk_master_get_parent()
|
D | clk-plldiv.c | 31 unsigned int mckr; in clk_plldiv_recalc_rate() local 33 regmap_read(plldiv->regmap, AT91_PMC_MCKR, &mckr); in clk_plldiv_recalc_rate() 35 if (mckr & AT91_PMC_PLLADIV2) in clk_plldiv_recalc_rate()
|
D | pmc.c | 64 u32 mckr; member 121 regmap_read(pmcreg, AT91_PMC_MCKR, &pmc_cache.mckr); in pmc_suspend() 157 if (pmc_cache.mckr != tmp) in pmc_resume()
|