Home
last modified time | relevance | path

Searched refs:VFIO_PCI_INDEX_TO_OFFSET (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dkvmgt.c62 #define VFIO_PCI_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_PCI_OFFSET_SHIFT) macro
1182 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in intel_vgpu_ioctl()
1188 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in intel_vgpu_ioctl()
1199 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in intel_vgpu_ioctl()
1204 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in intel_vgpu_ioctl()
1226 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in intel_vgpu_ioctl()
1235 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in intel_vgpu_ioctl()
1258 VFIO_PCI_INDEX_TO_OFFSET(info.index); in intel_vgpu_ioctl()
/linux-6.6.21/include/linux/
Dvfio_pci_core.h24 #define VFIO_PCI_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_PCI_OFFSET_SHIFT) macro
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_core.c1031 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in vfio_pci_ioctl_get_region_info()
1037 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in vfio_pci_ioctl_get_region_info()
1061 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in vfio_pci_ioctl_get_region_info()
1095 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in vfio_pci_ioctl_get_region_info()
1114 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in vfio_pci_ioctl_get_region_info()
/linux-6.6.21/drivers/vfio/pci/hisilicon/
Dhisi_acc_vfio_pci.c1285 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in hisi_acc_vfio_pci_ioctl()