Home
last modified time | relevance | path

Searched refs:LOONGSON_CHIPCFG (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/arch/mips/loongson2ef/common/
Dpm.c78 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in wait_for_wakeup_events()
101 cached_cpu_freq = readl(LOONGSON_CHIPCFG); in loongson_suspend_enter()
104 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in loongson_suspend_enter()
109 writel(cached_cpu_freq, LOONGSON_CHIPCFG); in loongson_suspend_enter()
/Linux-v5.10/drivers/cpufreq/
Dloongson2_cpufreq.c133 cpu_freq = readl(LOONGSON_CHIPCFG); in loongson2_cpu_wait()
135 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in loongson2_cpu_wait()
137 writel(cpu_freq, LOONGSON_CHIPCFG); in loongson2_cpu_wait()
/Linux-v5.10/arch/mips/loongson2ef/lemote-2f/
Dclock.c45 regval = readl(LOONGSON_CHIPCFG); in loongson2_cpu_set_rate()
47 writel(regval, LOONGSON_CHIPCFG); in loongson2_cpu_set_rate()
Dreset.c27 writel(readl(LOONGSON_CHIPCFG) | 0x7, LOONGSON_CHIPCFG); in reset_cpu()
/Linux-v5.10/arch/mips/include/asm/mach-loongson64/
Dloongson.h219 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro
/Linux-v5.10/arch/mips/loongson64/
Dsmp.c758 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()
772 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()
/Linux-v5.10/arch/mips/include/asm/mach-loongson2ef/
Dloongson.h230 #define LOONGSON_CHIPCFG (void __iomem *)TO_UNCAC(0x1fc00180) macro