Lines Matching defs:region
3 * nvs.c - Routines for saving and restoring ACPI NVS memory region
38 struct nvs_region *region;
40 region = kmalloc(sizeof(*region), GFP_KERNEL);
41 if (!region)
43 region->phys_start = start;
44 region->size = size;
45 list_add_tail(®ion->node, &nvs_region_list);
54 struct nvs_region *region;
56 list_for_each_entry(region, &nvs_region_list, node) {
57 rc = func(region->phys_start, region->size, data);
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",
199 * cannot iounmap the virtual addresses used to access the NVS region.