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

/linux-4.4.14/arch/sh/kernel/cpu/sh4/
H A Dclock-sh4-202.c22 static int frqcr3_divisors[] = { 1, 2, 3, 4, 6, 8, 16 }; variable
28 return clk->parent->rate / frqcr3_divisors[idx]; emi_clk_recalc()
36 for (i = 0; i < ARRAY_SIZE(frqcr3_divisors); i++) frqcr3_lookup()
37 if (frqcr3_divisors[i] == divisor) frqcr3_lookup()
56 return clk->parent->rate / frqcr3_divisors[idx]; femi_clk_recalc()
81 for (i = 0; i < ARRAY_SIZE(frqcr3_divisors); i++) { shoc_clk_init()
82 int divisor = frqcr3_divisors[i]; shoc_clk_init()
88 WARN_ON(i == ARRAY_SIZE(frqcr3_divisors)); /* Undefined clock */ shoc_clk_init()
94 return clk->parent->rate / frqcr3_divisors[idx]; shoc_clk_recalc()
128 clk->rate = clk->parent->rate / frqcr3_divisors[tmp]; shoc_clk_set_rate()

Completed in 73 milliseconds