Home
last modified time | relevance | path

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

/linux/arch/loongarch/power/
H A Dplatform.c61 uint64_t suspend_addr = 0; in loongson3_acpi_suspend_init() local
72 status = acpi_evaluate_integer(NULL, "\\SADR", NULL, &suspend_addr); in loongson3_acpi_suspend_init()
73 if (ACPI_FAILURE(status) || !suspend_addr) { in loongson3_acpi_suspend_init()
75 loongson_sysconf.suspend_addr = (u64)default_suspend_addr; in loongson3_acpi_suspend_init()
78 loongson_sysconf.suspend_addr = (u64)phys_to_virt(PHYSADDR(suspend_addr)); in loongson3_acpi_suspend_init()
/linux/drivers/soc/loongson/
H A Dloongson2_pm.c166 u64 suspend_addr; in loongson2_pm_probe() local
177 if (!device_property_read_u64(dev, "loongson,suspend-address", &suspend_addr)) in loongson2_pm_probe()
178 loongson_sysconf.suspend_addr = (u64)phys_to_virt(suspend_addr); in loongson2_pm_probe()
193 if (loongson_sysconf.suspend_addr) in loongson2_pm_probe()
/linux/arch/mips/loongson64/
H A Dpm.c22 loongson_lefi_sleep(loongson_sysconf.suspend_addr); in lefi_pm_enter()
34 return !!loongson_sysconf.suspend_addr; in lefi_pm_valid_state()
H A Denv.c169 loongson_sysconf.suspend_addr = boot_p->reset_system.DoSuspend; in prom_lefi_init_env()
/linux/arch/loongarch/include/asm/
H A Dbootinfo.h40 unsigned long suspend_addr; member
/linux/arch/mips/include/asm/mach-loongson64/
H A Dloongson.h33 u64 suspend_addr; member