Lines Matching refs:kaddr
77 void *kaddr; member
137 if (entry->kaddr) { in suspend_nvs_free()
139 iounmap(entry->kaddr); in suspend_nvs_free()
142 acpi_os_unmap_iomem(entry->kaddr, in suspend_nvs_free()
145 entry->kaddr = NULL; in suspend_nvs_free()
181 entry->kaddr = acpi_os_get_iomem(phys, size); in suspend_nvs_save()
182 if (!entry->kaddr) { in suspend_nvs_save()
183 entry->kaddr = acpi_os_ioremap(phys, size); in suspend_nvs_save()
184 entry->unmap = !!entry->kaddr; in suspend_nvs_save()
186 if (!entry->kaddr) { in suspend_nvs_save()
190 memcpy(entry->data, entry->kaddr, entry->size); in suspend_nvs_save()
210 memcpy(entry->kaddr, entry->data, entry->size); in suspend_nvs_restore()