Searched refs:suspend_addr (Results 1 – 6 of 6) sorted by relevance
61 uint64_t suspend_addr = 0; in loongson3_acpi_suspend_init() local72 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()
166 u64 suspend_addr; in loongson2_pm_probe() local177 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()
22 loongson_lefi_sleep(loongson_sysconf.suspend_addr); in lefi_pm_enter()34 return !!loongson_sysconf.suspend_addr; in lefi_pm_valid_state()
169 loongson_sysconf.suspend_addr = boot_p->reset_system.DoSuspend; in prom_lefi_init_env()
40 unsigned long suspend_addr; member
33 u64 suspend_addr; member