Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/cpufreq/
Dloongson2_cpufreq.c132 cpu_freq = readl(LOONGSON_CHIPCFG); in loongson2_cpu_wait()
134 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in loongson2_cpu_wait()
136 writel(cpu_freq, LOONGSON_CHIPCFG); in loongson2_cpu_wait()
/linux-6.1.9/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-6.1.9/arch/mips/include/asm/mach-loongson64/
Dloongson.h244 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro
/linux-6.1.9/arch/mips/include/asm/mach-loongson2ef/
Dloongson.h221 #define LOONGSON_CHIPCFG (void __iomem *)TO_UNCAC(0x1fc00180) macro
/linux-6.1.9/arch/mips/loongson64/
Dsmp.c833 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()
847 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()