Lines Matching defs:region
3 * nvs.c - Routines for saving and restoring ACPI NVS memory region
40 struct nvs_region *region;
42 region = kmalloc(sizeof(*region), GFP_KERNEL);
43 if (!region)
45 region->phys_start = start;
46 region->size = size;
47 list_add_tail(®ion->node, &nvs_region_list);
56 struct nvs_region *region;
58 list_for_each_entry(region, &nvs_region_list, node) {
59 rc = func(region->phys_start, region->size, data);
87 * suspend_nvs_register - register platform NVS memory region to save
88 * @start: Physical address of the region.
89 * @size: Size of the region.
91 * The NVS region need not be page-aligned (both ends) and we arrange
92 * things so that the data from page-aligned addresses in this region will
99 pr_info("Registering ACPI NVS region [mem %#010lx-%#010lx] (%ld bytes)\n",
201 * cannot iounmap the virtual addresses used to access the NVS region.