/linux-6.1.9/arch/sh/include/cpu-sh4/cpu/ |
D | freq.h | 14 #define FRQCR 0xa4150000 macro 23 #define FRQCR 0xffc80000 macro 28 #define FRQCR 0xffc80000 macro 36 #define FRQCR FRQCRA macro 65 #define FRQCR 0xffc00000 macro
|
/linux-6.1.9/arch/sh/kernel/cpu/sh4a/ |
D | clock-sh7780.c | 24 clk->rate *= pfc_divisors[__raw_readl(FRQCR) & 0x0003]; in master_clk_init() 33 int idx = (__raw_readl(FRQCR) & 0x0003); in module_clk_recalc() 43 int idx = ((__raw_readl(FRQCR) >> 16) & 0x0007); in bus_clk_recalc() 53 int idx = ((__raw_readl(FRQCR) >> 24) & 0x0001); in cpu_clk_recalc() 76 int idx = ((__raw_readl(FRQCR) >> 20) & 0x0007); in shyway_clk_recalc()
|
D | clock-sh7770.c | 21 clk->rate *= pfc_divisors[(__raw_readl(FRQCR) >> 28) & 0x000f]; in master_clk_init() 30 int idx = ((__raw_readl(FRQCR) >> 28) & 0x000f); in module_clk_recalc() 40 int idx = (__raw_readl(FRQCR) & 0x000f); in bus_clk_recalc() 50 int idx = ((__raw_readl(FRQCR) >> 24) & 0x000f); in cpu_clk_recalc()
|
D | clock-sh7722.c | 18 #define FRQCR 0xa4150000 macro 71 mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); in pll_recalc() 114 [DIV4_I] = DIV4(FRQCR, 20, 0x1fef, CLK_ENABLE_ON_INIT), 115 [DIV4_U] = DIV4(FRQCR, 16, 0x1fff, CLK_ENABLE_ON_INIT), 116 [DIV4_SH] = DIV4(FRQCR, 12, 0x1fff, CLK_ENABLE_ON_INIT), 117 [DIV4_B] = DIV4(FRQCR, 8, 0x1fff, CLK_ENABLE_ON_INIT), 118 [DIV4_B3] = DIV4(FRQCR, 4, 0x1fff, CLK_ENABLE_ON_INIT), 119 [DIV4_P] = DIV4(FRQCR, 0, 0x1fff, 0),
|
D | clock-sh7763.c | 24 clk->rate *= p0fc_divisors[(__raw_readl(FRQCR) >> 4) & 0x07]; in master_clk_init() 33 int idx = ((__raw_readl(FRQCR) >> 4) & 0x07); in module_clk_recalc() 43 int idx = ((__raw_readl(FRQCR) >> 16) & 0x07); in bus_clk_recalc() 70 int idx = ((__raw_readl(FRQCR) >> 20) & 0x07); in shyway_clk_recalc()
|
D | clock-sh7366.c | 16 #define FRQCR 0xa4150000 macro 68 mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); in pll_recalc() 112 [DIV4_I] = DIV4(FRQCR, 20, 0x1fef, CLK_ENABLE_ON_INIT), 113 [DIV4_U] = DIV4(FRQCR, 16, 0x1fff, CLK_ENABLE_ON_INIT), 114 [DIV4_SH] = DIV4(FRQCR, 12, 0x1fff, CLK_ENABLE_ON_INIT), 115 [DIV4_B] = DIV4(FRQCR, 8, 0x1fff, CLK_ENABLE_ON_INIT), 116 [DIV4_B3] = DIV4(FRQCR, 4, 0x1fff, CLK_ENABLE_ON_INIT), 117 [DIV4_P] = DIV4(FRQCR, 0, 0x1fff, 0),
|
D | clock-sh7723.c | 19 #define FRQCR 0xa4150000 macro 72 mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); in pll_recalc() 115 [DIV4_I] = DIV4(FRQCR, 20, 0x0dbf, CLK_ENABLE_ON_INIT), 116 [DIV4_U] = DIV4(FRQCR, 16, 0x0dbf, CLK_ENABLE_ON_INIT), 117 [DIV4_SH] = DIV4(FRQCR, 12, 0x0dbf, CLK_ENABLE_ON_INIT), 118 [DIV4_B] = DIV4(FRQCR, 8, 0x0dbf, CLK_ENABLE_ON_INIT), 119 [DIV4_B3] = DIV4(FRQCR, 4, 0x0db4, CLK_ENABLE_ON_INIT), 120 [DIV4_P] = DIV4(FRQCR, 0, 0x0dbf, 0),
|
D | clock-sh7343.c | 16 #define FRQCR 0xa4150000 macro 67 mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); in pll_recalc() 109 [DIV4_I] = DIV4(FRQCR, 20, 0x1fff, CLK_ENABLE_ON_INIT), 110 [DIV4_U] = DIV4(FRQCR, 16, 0x1fff, CLK_ENABLE_ON_INIT), 111 [DIV4_SH] = DIV4(FRQCR, 12, 0x1fff, CLK_ENABLE_ON_INIT), 112 [DIV4_B] = DIV4(FRQCR, 8, 0x1fff, CLK_ENABLE_ON_INIT), 113 [DIV4_B3] = DIV4(FRQCR, 4, 0x1fff, CLK_ENABLE_ON_INIT), 114 [DIV4_P] = DIV4(FRQCR, 0, 0x1fff, 0),
|
D | clock-sh7757.c | 63 SH_CLK_DIV4(&pll_clk, FRQCR, _bit, _mask, _flags)
|
/linux-6.1.9/arch/sh/kernel/cpu/sh3/ |
D | clock-sh7710.c | 26 clk->rate *= md_table[__raw_readw(FRQCR) & 0x0007]; in master_clk_init() 35 int idx = (__raw_readw(FRQCR) & 0x0007); in module_clk_recalc() 45 int idx = (__raw_readw(FRQCR) & 0x0700) >> 8; in bus_clk_recalc() 55 int idx = (__raw_readw(FRQCR) & 0x0070) >> 4; in cpu_clk_recalc()
|
D | clock-sh7705.c | 32 clk->rate *= pfc_divisors[__raw_readw(FRQCR) & 0x0003]; in master_clk_init() 41 int idx = __raw_readw(FRQCR) & 0x0003; in module_clk_recalc() 51 int idx = (__raw_readw(FRQCR) & 0x0300) >> 8; in bus_clk_recalc() 61 int idx = (__raw_readw(FRQCR) & 0x0030) >> 4; in cpu_clk_recalc()
|
D | clock-sh3.c | 28 int frqcr = __raw_readw(FRQCR); in master_clk_init() 40 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() 52 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() 64 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc()
|
D | clock-sh7706.c | 24 int frqcr = __raw_readw(FRQCR); in master_clk_init() 36 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() 48 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() 60 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc()
|
D | clock-sh7709.c | 24 int frqcr = __raw_readw(FRQCR); in master_clk_init() 36 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() 48 int frqcr = __raw_readw(FRQCR); in bus_clk_recalc() 61 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc()
|
D | clock-sh7712.c | 23 int frqcr = __raw_readw(FRQCR); in master_clk_init() 35 int frqcr = __raw_readw(FRQCR); in module_clk_recalc() 47 int frqcr = __raw_readw(FRQCR); in cpu_clk_recalc()
|
/linux-6.1.9/arch/sh/kernel/cpu/sh4/ |
D | clock-sh4.c | 28 clk->rate *= pfc_divisors[__raw_readw(FRQCR) & 0x0007]; in master_clk_init() 37 int idx = (__raw_readw(FRQCR) & 0x0007); in module_clk_recalc() 47 int idx = (__raw_readw(FRQCR) >> 3) & 0x0007; in bus_clk_recalc() 57 int idx = (__raw_readw(FRQCR) >> 6) & 0x0007; in cpu_clk_recalc()
|
/linux-6.1.9/arch/sh/boards/mach-hp6xx/ |
D | pm.c | 55 frqcr = __raw_readw(FRQCR); in pm_enter() 57 __raw_writew(frqcr, FRQCR); in pm_enter() 85 frqcr = __raw_readw(FRQCR); in pm_enter() 87 __raw_writew(frqcr, FRQCR); in pm_enter() 90 __raw_writew(frqcr, FRQCR); in pm_enter()
|
/linux-6.1.9/arch/sh/kernel/cpu/sh2a/ |
D | clock-sh7264.c | 16 #define FRQCR 0xfffe0010 macro 44 return rate * pll1rate[(__raw_readw(FRQCR) >> 8) & 1]; in pll_recalc() 82 [DIV4_I] = DIV4(FRQCR, 4, 0x7, CLK_ENABLE_REG_16BIT 84 [DIV4_P] = DIV4(FRQCR, 0, 0x78, CLK_ENABLE_REG_16BIT),
|
D | clock-sh7269.c | 16 #define FRQCR 0xfffe0010 macro 110 [DIV4_I] = DIV4(FRQCR, 8, 0xB, CLK_ENABLE_REG_16BIT 112 [DIV4_B] = DIV4(FRQCR, 4, 0xA, CLK_ENABLE_REG_16BIT
|
/linux-6.1.9/arch/sh/include/cpu-sh3/cpu/ |
D | freq.h | 11 #define FRQCR 0xA415FF80 macro 13 #define FRQCR 0xffffff80 macro
|