Home
last modified time | relevance | path

Searched refs:VFIO_PCI_NUM_REGIONS (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/vfio/pci/
Dvfio_pci_igd.c27 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()
Dvfio_pci.c834 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()
Dvfio_pci_nvlink2.c45 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()
/Linux-v5.10/drivers/gpu/drm/i915/gvt/
Dkvmgt.c454 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()
/Linux-v5.10/samples/vfio-mdev/
Dmtty.c137 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()
Dmdpy.c435 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()
Dmbochs.c74 #define MBOCHS_EDID_REGION_INDEX VFIO_PCI_NUM_REGIONS
/Linux-v5.10/include/uapi/linux/
Dvfio.h796 VFIO_PCI_NUM_REGIONS = 9 /* Fixed user ABI, region indexes >=9 use */ enumerator