acpi_io.h 640 B

12345678910111213141516171819202122232425
  1. #ifndef _ACPI_IO_H_
  2. #define _ACPI_IO_H_
  3. #include <linux/io.h>
  4. #include <asm/acpi.h>
  5. #ifndef acpi_os_ioremap
  6. static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
  7. acpi_size size)
  8. {
  9. return ioremap_cache(phys, size);
  10. }
  11. #endif
  12. void __iomem *__ref
  13. acpi_os_map_iomem(acpi_physical_address phys, acpi_size size);
  14. void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);
  15. void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
  16. int acpi_os_map_generic_address(struct acpi_generic_address *addr);
  17. void acpi_os_unmap_generic_address(struct acpi_generic_address *addr);
  18. #endif