Home
last modified time | relevance | path

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

/linux-3.4.99/arch/sh/kernel/cpu/sh3/
Dclock-sh7709.c27 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
28 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()
39 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
40 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()
51 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local
52 int idx = (frqcr & 0x0080) ? in bus_clk_recalc()
53 ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4) : 1; in bus_clk_recalc()
64 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local
65 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
Dclock-sh3.c31 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
32 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()
43 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
44 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()
55 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local
56 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc()
67 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local
68 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
Dclock-sh7706.c27 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
28 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()
39 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
40 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()
51 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local
52 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc()
63 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local
64 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
Dclock-sh7712.c26 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
27 int idx = (frqcr & 0x0300) >> 8; in master_clk_init()
38 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
39 int idx = frqcr & 0x0007; in module_clk_recalc()
50 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local
51 int idx = (frqcr & 0x0030) >> 4; in cpu_clk_recalc()
/linux-3.4.99/arch/sh/boards/mach-hp6xx/
Dpm.c43 u16 frqcr, mcr; in pm_enter() local
57 frqcr = __raw_readw(FRQCR); in pm_enter()
58 frqcr &= ~(FRQCR_PLLEN | FRQCR_PSTBY); in pm_enter()
59 __raw_writew(frqcr, FRQCR); in pm_enter()
87 frqcr = __raw_readw(FRQCR); in pm_enter()
88 frqcr |= FRQCR_PSTBY; in pm_enter()
89 __raw_writew(frqcr, FRQCR); in pm_enter()
91 frqcr |= FRQCR_PLLEN; in pm_enter()
92 __raw_writew(frqcr, FRQCR); in pm_enter()