Searched refs:VFIO_PCI_NUM_REGIONS (Results 1 – 8 of 8) sorted by relevance
27 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - VFIO_PCI_NUM_REGIONS; in vfio_pci_igd_rw()114 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - VFIO_PCI_NUM_REGIONS; in vfio_pci_igd_cfg_rw()
834 info.num_regions = VFIO_PCI_NUM_REGIONS + vdev->num_regions; in vfio_pci_ioctl()961 VFIO_PCI_NUM_REGIONS + vdev->num_regions) in vfio_pci_ioctl()964 VFIO_PCI_NUM_REGIONS + in vfio_pci_ioctl()967 i = info.index - VFIO_PCI_NUM_REGIONS; in vfio_pci_ioctl()1415 if (index >= VFIO_PCI_NUM_REGIONS + vdev->num_regions) in vfio_pci_rw()1433 index -= VFIO_PCI_NUM_REGIONS; in vfio_pci_rw()1667 if (index >= VFIO_PCI_NUM_REGIONS) { in vfio_pci_mmap()1668 int regnum = index - VFIO_PCI_NUM_REGIONS; in vfio_pci_mmap()
45 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - VFIO_PCI_NUM_REGIONS; in vfio_pci_nvgpu_rw()310 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - VFIO_PCI_NUM_REGIONS; in vfio_pci_npu2_rw()
454 VFIO_PCI_NUM_REGIONS; in intel_vgpu_reg_rw_opregion()555 VFIO_PCI_NUM_REGIONS; in intel_vgpu_reg_rw_edid()1011 if (index >= VFIO_PCI_NUM_REGIONS + vdev->num_regions) { in intel_vgpu_rw()1040 if (index >= VFIO_PCI_NUM_REGIONS + vdev->num_regions) in intel_vgpu_rw()1043 index -= VFIO_PCI_NUM_REGIONS; in intel_vgpu_rw()1367 info.num_regions = VFIO_PCI_NUM_REGIONS + in intel_vgpu_ioctl()1458 if (info.index >= VFIO_PCI_NUM_REGIONS + in intel_vgpu_ioctl()1463 VFIO_PCI_NUM_REGIONS + in intel_vgpu_ioctl()1466 i = info.index - VFIO_PCI_NUM_REGIONS; in intel_vgpu_ioctl()
137 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS];138 u32 bar_mask[VFIO_PCI_NUM_REGIONS];1059 if (bar_index >= VFIO_PCI_NUM_REGIONS) in mtty_get_region_info()1121 dev_info->num_regions = VFIO_PCI_NUM_REGIONS; in mtty_get_device_info()
435 if (region_info->index >= VFIO_PCI_NUM_REGIONS && in mdpy_get_region_info()474 dev_info->num_regions = VFIO_PCI_NUM_REGIONS; in mdpy_get_device_info()
74 #define MBOCHS_EDID_REGION_INDEX VFIO_PCI_NUM_REGIONS
796 VFIO_PCI_NUM_REGIONS = 9 /* Fixed user ABI, region indexes >=9 use */ enumerator