Searched refs:frqcr (Results 1 – 5 of 5) sorted by relevance
27 int frqcr = __raw_readw(FRQCR); in master_clk_init() local28 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()39 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local40 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()51 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local52 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() local65 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
31 int frqcr = __raw_readw(FRQCR); in master_clk_init() local32 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()43 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local44 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()55 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local56 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc()67 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local68 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
27 int frqcr = __raw_readw(FRQCR); in master_clk_init() local28 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()39 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local40 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()51 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local52 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc()63 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local64 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
26 int frqcr = __raw_readw(FRQCR); in master_clk_init() local27 int idx = (frqcr & 0x0300) >> 8; in master_clk_init()38 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local39 int idx = frqcr & 0x0007; in module_clk_recalc()50 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local51 int idx = (frqcr & 0x0030) >> 4; in cpu_clk_recalc()
42 u16 frqcr, mcr; in pm_enter() local56 frqcr = __raw_readw(FRQCR); in pm_enter()57 frqcr &= ~(FRQCR_PLLEN | FRQCR_PSTBY); in pm_enter()58 __raw_writew(frqcr, FRQCR); in pm_enter()86 frqcr = __raw_readw(FRQCR); in pm_enter()87 frqcr |= FRQCR_PSTBY; in pm_enter()88 __raw_writew(frqcr, FRQCR); in pm_enter()90 frqcr |= FRQCR_PLLEN; in pm_enter()91 __raw_writew(frqcr, FRQCR); in pm_enter()