Home
last modified time | relevance | path

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

/linux/arch/sh/kernel/cpu/sh3/
H A Dclock-sh7709.c24 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
25 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()
36 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
37 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()
48 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local
49 int idx = (frqcr & 0x0080) ? in bus_clk_recalc()
50 ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4) : 1; in bus_clk_recalc()
61 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local
62 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
H A Dclock-sh3.c28 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
29 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()
40 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
41 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()
52 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local
53 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); 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()
H A Dclock-sh7706.c24 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
25 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()
36 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
37 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()
48 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local
49 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc()
60 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local
61 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
H A Dclock-sh7712.c23 int frqcr = __raw_readw(FRQCR); in master_clk_init() local
24 int idx = (frqcr & 0x0300) >> 8; in master_clk_init()
35 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local
36 int idx = frqcr & 0x0007; in module_clk_recalc()
47 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local
48 int idx = (frqcr & 0x0030) >> 4; in cpu_clk_recalc()
/linux/arch/sh/boards/mach-hp6xx/
H A Dpm.c41 u16 frqcr, mcr; in pm_enter() local
55 frqcr = __raw_readw(FRQCR); in pm_enter()
56 frqcr &= ~(FRQCR_PLLEN | FRQCR_PSTBY); in pm_enter()
57 __raw_writew(frqcr, FRQCR); in pm_enter()
85 frqcr = __raw_readw(FRQCR); in pm_enter()
86 frqcr |= FRQCR_PSTBY; in pm_enter()
87 __raw_writew(frqcr, FRQCR); in pm_enter()
89 frqcr |= FRQCR_PLLEN; in pm_enter()
90 __raw_writew(frqcr, FRQCR); in pm_enter()
/linux/drivers/clk/renesas/
H A Dr7s9210-cpg-mssr.c117 u16 frqcr; in r7s9210_update_clk_table() local
124 frqcr = readl(base + CPG_FRQCR) & 0xFFF; in r7s9210_update_clk_table()
125 if (frqcr == 0x012) in r7s9210_update_clk_table()
127 else if (frqcr == 0x112) in r7s9210_update_clk_table()
129 else if (frqcr == 0x212) in r7s9210_update_clk_table()
131 else if (frqcr == 0x322) in r7s9210_update_clk_table()
133 else if (frqcr == 0x333) in r7s9210_update_clk_table()