LCOV - code coverage report
Current view: top level - include/acpi - acpi_io.h (source / functions) Hit Total Coverage
Test: combined.info Lines: 2 2 100.0 %
Date: 2022-04-01 14:17:54 Functions: 0 0 -
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: GPL-2.0 */
       2                 :            : #ifndef _ACPI_IO_H_
       3                 :            : #define _ACPI_IO_H_
       4                 :            : 
       5                 :            : #include <linux/io.h>
       6                 :            : 
       7                 :            : #include <asm/acpi.h>
       8                 :            : 
       9                 :            : #ifndef acpi_os_ioremap
      10                 :         33 : static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
      11                 :            :                                             acpi_size size)
      12                 :            : {
      13                 :         33 :        return ioremap_cache(phys, size);
      14                 :            : }
      15                 :            : #endif
      16                 :            : 
      17                 :            : extern bool acpi_permanent_mmap;
      18                 :            : 
      19                 :            : void __iomem __ref
      20                 :            : *acpi_os_map_iomem(acpi_physical_address phys, acpi_size size);
      21                 :            : void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);
      22                 :            : void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
      23                 :            : 
      24                 :            : int acpi_os_map_generic_address(struct acpi_generic_address *addr);
      25                 :            : void acpi_os_unmap_generic_address(struct acpi_generic_address *addr);
      26                 :            : 
      27                 :            : #endif

Generated by: LCOV version 1.14