Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vfio/cdx/
H A Dprivate.h9 #define VFIO_CDX_OFFSET_SHIFT 40 macro
13 return ((u64)(index) << VFIO_CDX_OFFSET_SHIFT); in vfio_cdx_index_to_offset()
H A Dmain.c127 ((1U << (VFIO_CDX_OFFSET_SHIFT - PAGE_SHIFT)) - 1); in vfio_cdx_mmap_mmio()
148 index = vma->vm_pgoff >> (VFIO_CDX_OFFSET_SHIFT - PAGE_SHIFT); in vfio_cdx_mmap()