Home
last modified time | relevance | path

Searched refs:VFIO_PLATFORM_OFFSET_SHIFT (Results 1 – 2 of 2) sorted by relevance

/drivers/vfio/platform/
Dvfio_platform_private.h14 #define VFIO_PLATFORM_OFFSET_SHIFT 40 macro
15 #define VFIO_PLATFORM_OFFSET_MASK (((u64)(1) << VFIO_PLATFORM_OFFSET_SHIFT) - 1)
18 (off >> VFIO_PLATFORM_OFFSET_SHIFT)
21 ((u64)(index) << VFIO_PLATFORM_OFFSET_SHIFT)
Dvfio_platform_common.c549 ((1U << (VFIO_PLATFORM_OFFSET_SHIFT - PAGE_SHIFT)) - 1); in vfio_platform_mmap_mmio()
568 index = vma->vm_pgoff >> (VFIO_PLATFORM_OFFSET_SHIFT - PAGE_SHIFT); in vfio_platform_mmap()