Home
last modified time | relevance | path

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

/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dclock-sh4-202.c19 static int frqcr3_divisors[] = { 1, 2, 3, 4, 6, 8, 16 }; variable
25 return clk->parent->rate / frqcr3_divisors[idx]; in emi_clk_recalc()
33 for (i = 0; i < ARRAY_SIZE(frqcr3_divisors); i++) in frqcr3_lookup()
34 if (frqcr3_divisors[i] == divisor) in frqcr3_lookup()
53 return clk->parent->rate / frqcr3_divisors[idx]; in femi_clk_recalc()
78 for (i = 0; i < ARRAY_SIZE(frqcr3_divisors); i++) { in shoc_clk_init()
79 int divisor = frqcr3_divisors[i]; in shoc_clk_init()
85 WARN_ON(i == ARRAY_SIZE(frqcr3_divisors)); /* Undefined clock */ in shoc_clk_init()
91 return clk->parent->rate / frqcr3_divisors[idx]; in shoc_clk_recalc()
125 clk->rate = clk->parent->rate / frqcr3_divisors[tmp]; in shoc_clk_set_rate()