Searched refs:gckdiv (Results 1 – 2 of 2) sorted by relevance
28 u32 gckdiv; member51 FIELD_PREP(AT91_PMC_PCR_GCKDIV_MASK, gck->gckdiv) | in clk_generated_set()63 __func__, gck->gckdiv, gck->parent_id); in clk_generated_enable()105 return DIV_ROUND_CLOSEST(parent_rate, gck->gckdiv + 1); in clk_generated_recalc_rate()260 gck->gckdiv = div - 1; in clk_generated_set_rate()315 gck->gckdiv = FIELD_GET(AT91_PMC_PCR_GCKDIV_MASK, tmp); in clk_generated_startup()
54 u32 tmp, gckdiv; in generic_clk_get_rate() local62 gckdiv = (tmp >> AT91_PMC_PCR_GCKDIV_OFFSET) & AT91_PMC_PCR_GCKDIV_MASK; in generic_clk_get_rate()69 clk_rate = clk_get_rate(&parent) / (gckdiv + 1); in generic_clk_get_rate()