Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/loongson64/common/
Dpm.c82 LOONGSON_CHIPCFG(0) &= ~0x7; in wait_for_wakeup_events()
105 cached_cpu_freq = LOONGSON_CHIPCFG(0); in loongson_suspend_enter()
108 LOONGSON_CHIPCFG(0) &= ~0x7; in loongson_suspend_enter()
113 LOONGSON_CHIPCFG(0) = cached_cpu_freq; in loongson_suspend_enter()
/Linux-v4.19/drivers/cpufreq/
Dloongson2_cpufreq.c146 cpu_freq = LOONGSON_CHIPCFG(0); in loongson2_cpu_wait()
147 LOONGSON_CHIPCFG(0) &= ~0x7; /* Put CPU into wait mode */ in loongson2_cpu_wait()
148 LOONGSON_CHIPCFG(0) = cpu_freq; /* Restore CPU state */ in loongson2_cpu_wait()
/Linux-v4.19/arch/mips/loongson64/lemote-2f/
Dclock.c121 regval = LOONGSON_CHIPCFG(0); in clk_set_rate()
123 LOONGSON_CHIPCFG(0) = regval; in clk_set_rate()
Dreset.c31 LOONGSON_CHIPCFG(0) |= 0x7; in reset_cpu()
/Linux-v4.19/arch/mips/loongson64/loongson-3/
Dsmp.c707 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()
721 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()
/Linux-v4.19/arch/mips/include/asm/mach-loongson64/
Dloongson.h255 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro