• Home
  • Raw
  • Download

Lines Matching refs:virt

90 	void __iomem *virt;  member
301 return map->virt + (phys - map->phys); in acpi_map_vaddr_lookup()
309 void __iomem *virt = NULL; in acpi_os_get_iomem() local
314 virt = map->virt + (phys - map->phys); in acpi_os_get_iomem()
318 return virt; in acpi_os_get_iomem()
324 acpi_map_lookup_virt(void __iomem *virt, acpi_size size) in acpi_map_lookup_virt() argument
329 if (map->virt <= virt && in acpi_map_lookup_virt()
330 virt + size <= map->virt + map->size) in acpi_map_lookup_virt()
371 void __iomem *virt; in acpi_os_map_iomem() local
399 virt = acpi_map(pg_off, pg_sz); in acpi_os_map_iomem()
400 if (!virt) { in acpi_os_map_iomem()
407 map->virt = virt; in acpi_os_map_iomem()
416 return map->virt + (phys - map->phys); in acpi_os_map_iomem()
440 acpi_unmap(map->phys, map->virt); in acpi_os_map_cleanup()
444 void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size) in acpi_os_unmap_iomem() argument
450 __acpi_unmap_table(virt, size); in acpi_os_unmap_iomem()
455 map = acpi_map_lookup_virt(virt, size); in acpi_os_unmap_iomem()
458 WARN(true, PREFIX "%s: bad address %p\n", __func__, virt); in acpi_os_unmap_iomem()
469 void __ref acpi_os_unmap_memory(void *virt, acpi_size size) in acpi_os_unmap_memory() argument
471 return acpi_os_unmap_iomem((void __iomem *)virt, size); in acpi_os_unmap_memory()
475 void __init early_acpi_os_unmap_memory(void __iomem *virt, acpi_size size) in early_acpi_os_unmap_memory() argument
478 __acpi_unmap_table(virt, size); in early_acpi_os_unmap_memory()
484 void __iomem *virt; in acpi_os_map_generic_address() local
494 virt = acpi_os_map_iomem(addr, gas->bit_width / 8); in acpi_os_map_generic_address()
495 if (!virt) in acpi_os_map_generic_address()
532 acpi_os_get_physical_address(void *virt, acpi_physical_address * phys) in acpi_os_get_physical_address() argument
534 if (!phys || !virt) in acpi_os_get_physical_address()
537 *phys = virt_to_phys(virt); in acpi_os_get_physical_address()