Searched refs:mckr (Results 1 – 3 of 3) sorted by relevance
37 unsigned int mckr; in clk_sama5d4_h32mx_recalc_rate() local39 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() local75 mckr = AT91_PMC_H32MXDIV; in clk_sama5d4_h32mx_set_rate()78 AT91_PMC_H32MXDIV, mckr); in clk_sama5d4_h32mx_set_rate()
83 unsigned int mckr; in clk_master_recalc_rate() local85 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() local111 regmap_read(master->regmap, AT91_PMC_MCKR, &mckr); in clk_master_get_parent()113 return mckr & AT91_PMC_CSS; in clk_master_get_parent()
31 unsigned int mckr; in clk_plldiv_recalc_rate() local33 regmap_read(plldiv->regmap, AT91_PMC_MCKR, &mckr); in clk_plldiv_recalc_rate()35 if (mckr & AT91_PMC_PLLADIV2) in clk_plldiv_recalc_rate()