Home
last modified time | relevance | path

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

/linux/arch/mips/loongson2ef/common/
H A 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/drivers/cpufreq/
H A Dloongson2_cpufreq.c126 cpu_freq = readl(LOONGSON_CHIPCFG); in loongson2_cpu_wait()
128 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in loongson2_cpu_wait()
130 writel(cpu_freq, LOONGSON_CHIPCFG); in loongson2_cpu_wait()
/linux/arch/mips/loongson2ef/lemote-2f/
H A Dclock.c45 regval = readl(LOONGSON_CHIPCFG); in loongson2_cpu_set_rate()
47 writel(regval, LOONGSON_CHIPCFG); in loongson2_cpu_set_rate()
H A Dreset.c27 writel(readl(LOONGSON_CHIPCFG) | 0x7, LOONGSON_CHIPCFG); in reset_cpu()
/linux/arch/mips/include/asm/mach-loongson64/
H A Dloongson.h244 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro
/linux/arch/mips/include/asm/mach-loongson2ef/
H A Dloongson.h221 #define LOONGSON_CHIPCFG (void __iomem *)TO_UNCAC(0x1fc00180) macro
/linux/arch/mips/loongson64/
H A Dsmp.c807 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()
824 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()