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.h13 #define VFIO_PLATFORM_OFFSET_SHIFT 40 macro
14 #define VFIO_PLATFORM_OFFSET_MASK (((u64)(1) << VFIO_PLATFORM_OFFSET_SHIFT) - 1)
17 (off >> VFIO_PLATFORM_OFFSET_SHIFT)
20 ((u64)(index) << VFIO_PLATFORM_OFFSET_SHIFT)
Dvfio_platform_common.c562 ((1U << (VFIO_PLATFORM_OFFSET_SHIFT - PAGE_SHIFT)) - 1); in vfio_platform_mmap_mmio()
580 index = vma->vm_pgoff >> (VFIO_PLATFORM_OFFSET_SHIFT - PAGE_SHIFT); in vfio_platform_mmap()