Searched refs:frqcr (Results 1 – 6 of 6) sorted by relevance
24 int frqcr = __raw_readw(FRQCR); in master_clk_init() local25 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()36 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local37 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()48 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local49 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() local62 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
28 int frqcr = __raw_readw(FRQCR); in master_clk_init() local29 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()40 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local41 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()52 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local53 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); 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()
24 int frqcr = __raw_readw(FRQCR); in master_clk_init() local25 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init()36 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local37 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc()48 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() local49 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc()60 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local61 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc()
23 int frqcr = __raw_readw(FRQCR); in master_clk_init() local24 int idx = (frqcr & 0x0300) >> 8; in master_clk_init()35 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() local36 int idx = frqcr & 0x0007; in module_clk_recalc()47 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc() local48 int idx = (frqcr & 0x0030) >> 4; in cpu_clk_recalc()
41 u16 frqcr, mcr; in pm_enter() local55 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()
117 u16 frqcr; in r7s9210_update_clk_table() local124 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()
Completed in 9 milliseconds