Lines Matching full:region
3 * nvs.c - Routines for saving and restoring ACPI NVS memory region
38 struct nvs_region *region; in acpi_nvs_register() local
40 region = kmalloc(sizeof(*region), GFP_KERNEL); in acpi_nvs_register()
41 if (!region) in acpi_nvs_register()
43 region->phys_start = start; in acpi_nvs_register()
44 region->size = size; in acpi_nvs_register()
45 list_add_tail(®ion->node, &nvs_region_list); in acpi_nvs_register()
54 struct nvs_region *region; in acpi_nvs_for_each_region() local
56 list_for_each_entry(region, &nvs_region_list, node) { in acpi_nvs_for_each_region()
57 rc = func(region->phys_start, region->size, data); in acpi_nvs_for_each_region()
85 * suspend_nvs_register - register platform NVS memory region to save
86 * @start - physical address of the region
87 * @size - size of the region
89 * The NVS region need not be page-aligned (both ends) and we arrange
90 * things so that the data from page-aligned addresses in this region will
97 pr_info("PM: Registering ACPI NVS region [mem %#010lx-%#010lx] (%ld bytes)\n", in suspend_nvs_register()
199 * cannot iounmap the virtual addresses used to access the NVS region.