Searched refs:VFIO_PCI_NUM_REGIONS (Results 1 – 7 of 7) sorted by relevance
403 VFIO_PCI_NUM_REGIONS; in intel_vgpu_reg_rw_opregion()504 VFIO_PCI_NUM_REGIONS; in intel_vgpu_reg_rw_edid()799 if (index >= VFIO_PCI_NUM_REGIONS + vgpu->num_regions) { in intel_vgpu_rw()828 if (index >= VFIO_PCI_NUM_REGIONS + vgpu->num_regions) in intel_vgpu_rw()831 index -= VFIO_PCI_NUM_REGIONS; in intel_vgpu_rw()1156 info.num_regions = VFIO_PCI_NUM_REGIONS + in intel_vgpu_ioctl()1247 if (info.index >= VFIO_PCI_NUM_REGIONS + in intel_vgpu_ioctl()1252 VFIO_PCI_NUM_REGIONS + in intel_vgpu_ioctl()1255 i = info.index - VFIO_PCI_NUM_REGIONS; in intel_vgpu_ioctl()
68 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - VFIO_PCI_NUM_REGIONS; in vfio_pci_igd_rw()285 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - VFIO_PCI_NUM_REGIONS; in vfio_pci_igd_cfg_rw()
978 info.num_regions = VFIO_PCI_NUM_REGIONS + vdev->num_regions; in vfio_pci_ioctl_get_info()1107 if (info.index >= VFIO_PCI_NUM_REGIONS + vdev->num_regions) in vfio_pci_ioctl_get_region_info()1110 info.index, VFIO_PCI_NUM_REGIONS + vdev->num_regions); in vfio_pci_ioctl_get_region_info()1112 i = info.index - VFIO_PCI_NUM_REGIONS; in vfio_pci_ioctl_get_region_info()1523 if (index >= VFIO_PCI_NUM_REGIONS + vdev->num_regions) in vfio_pci_rw()1554 index -= VFIO_PCI_NUM_REGIONS; in vfio_pci_rw()1812 if (index >= VFIO_PCI_NUM_REGIONS + vdev->num_regions) in vfio_pci_core_mmap()1818 if (index >= VFIO_PCI_NUM_REGIONS) { in vfio_pci_core_mmap()1819 int regnum = index - VFIO_PCI_NUM_REGIONS; in vfio_pci_core_mmap()
136 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS];137 u32 bar_mask[VFIO_PCI_NUM_REGIONS];1141 if (bar_index >= VFIO_PCI_NUM_REGIONS) in mtty_get_region_info()1195 dev_info->num_regions = VFIO_PCI_NUM_REGIONS; in mtty_get_device_info()
439 if (region_info->index >= VFIO_PCI_NUM_REGIONS && in mdpy_get_region_info()476 dev_info->num_regions = VFIO_PCI_NUM_REGIONS; in mdpy_get_device_info()
73 #define MBOCHS_EDID_REGION_INDEX VFIO_PCI_NUM_REGIONS
637 VFIO_PCI_NUM_REGIONS = 9 /* Fixed user ABI, region indexes >=9 use */ enumerator