Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/vfio/fsl-mc/
Dvfio_fsl_mc_private.h10 #define VFIO_FSL_MC_OFFSET_SHIFT 40 macro
11 #define VFIO_FSL_MC_OFFSET_MASK (((u64)(1) << VFIO_FSL_MC_OFFSET_SHIFT) - 1)
13 #define VFIO_FSL_MC_OFFSET_TO_INDEX(off) ((off) >> VFIO_FSL_MC_OFFSET_SHIFT)
16 ((u64)(index) << VFIO_FSL_MC_OFFSET_SHIFT)
Dvfio_fsl_mc.c367 ((1U << (VFIO_FSL_MC_OFFSET_SHIFT - PAGE_SHIFT)) - 1); in vfio_fsl_mc_mmap_mmio()
392 index = vma->vm_pgoff >> (VFIO_FSL_MC_OFFSET_SHIFT - PAGE_SHIFT); in vfio_fsl_mc_mmap()