Searched refs:VFIO_PCI_INDEX_TO_OFFSET (Results 1 – 4 of 4) sorted by relevance
62 #define VFIO_PCI_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_PCI_OFFSET_SHIFT) macro1182 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()
24 #define VFIO_PCI_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_PCI_OFFSET_SHIFT) macro
1031 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()
1285 info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); in hisi_acc_vfio_pci_ioctl()