Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sh/kernel/cpu/sh2a/
Dclock-sh7201.c30 pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0007]; in master_clk_init()
39 int idx = (__raw_readw(FREQCR) & 0x0007); in module_clk_recalc()
49 int idx = (__raw_readw(FREQCR) & 0x0007); in bus_clk_recalc()
59 int idx = ((__raw_readw(FREQCR) >> 4) & 0x0007); in cpu_clk_recalc()
Dclock-sh7206.c29 clk->rate *= pll2_mult * pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0007]; in master_clk_init()
38 int idx = (__raw_readw(FREQCR) & 0x0007); in module_clk_recalc()
48 return clk->parent->rate / pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0007]; in bus_clk_recalc()
57 int idx = (__raw_readw(FREQCR) & 0x0007); in cpu_clk_recalc()
Dclock-sh7203.c32 clk->rate *= pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0003] * pll2_mult; in master_clk_init()
41 int idx = (__raw_readw(FREQCR) & 0x0007); in module_clk_recalc()
51 int idx = (__raw_readw(FREQCR) & 0x0007); in bus_clk_recalc()
/Linux-v4.19/arch/sh/kernel/cpu/sh2/
Dclock-sh7619.c28 clk->rate *= pll2_mult * pll1rate[(__raw_readw(FREQCR) >> 8) & 7]; in master_clk_init()
37 int idx = (__raw_readw(FREQCR) & 0x0007); in module_clk_recalc()
47 return clk->parent->rate / pll1rate[(__raw_readw(FREQCR) >> 8) & 7]; in bus_clk_recalc()
/Linux-v4.19/arch/sh/include/cpu-sh2a/cpu/
Dfreq.h13 #define FREQCR 0xfffe0010 macro
/Linux-v4.19/arch/sh/include/cpu-sh2/cpu/
Dfreq.h14 #define FREQCR 0xf815ff80 macro