Home
last modified time | relevance | path

Searched refs:pckr (Results 1 – 1 of 1) sorted by relevance

/arch/arm/mach-at91/
Dclock.c363 u32 pckr; in clk_set_rate() local
365 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() local
421 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()