Searched refs:pckr (Results 1 – 1 of 1) sorted by relevance
363 u32 pckr; in clk_set_rate() local365 pckr = at91_pmc_read(AT91_PMC_PCKR(clk->id)); in clk_set_rate()366 pckr &= css_mask; /* keep clock selection */ in clk_set_rate()367 pckr |= prescale << prescale_offset; in clk_set_rate()368 at91_pmc_write(AT91_PMC_PCKR(clk->id), pckr); in clk_set_rate()413 u32 pckr; in init_programmable_clock() local421 pckr = at91_pmc_read(AT91_PMC_PCKR(clk->id)); in init_programmable_clock()422 parent = at91_css_to_clk(pckr & css_mask); in init_programmable_clock()424 clk->rate_hz = parent->rate_hz / pmc_prescaler_divider(pckr); in init_programmable_clock()