Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/loongson64/common/
Dpm.c78 LOONGSON_CHIPCFG(0) &= ~0x7; in wait_for_wakeup_events()
101 cached_cpu_freq = LOONGSON_CHIPCFG(0); in loongson_suspend_enter()
104 LOONGSON_CHIPCFG(0) &= ~0x7; in loongson_suspend_enter()
109 LOONGSON_CHIPCFG(0) = cached_cpu_freq; in loongson_suspend_enter()
/Linux-v5.4/drivers/cpufreq/
Dloongson2_cpufreq.c147 cpu_freq = LOONGSON_CHIPCFG(0); in loongson2_cpu_wait()
148 LOONGSON_CHIPCFG(0) &= ~0x7; /* Put CPU into wait mode */ in loongson2_cpu_wait()
149 LOONGSON_CHIPCFG(0) = cpu_freq; /* Restore CPU state */ in loongson2_cpu_wait()
/Linux-v5.4/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.c27 LOONGSON_CHIPCFG(0) |= 0x7; in reset_cpu()
/Linux-v5.4/arch/mips/loongson64/loongson-3/
Dsmp.c699 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()
713 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()
/Linux-v5.4/arch/mips/include/asm/mach-loongson64/
Dloongson.h251 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro