Home
last modified time | relevance | path

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

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