Searched refs:VFIO_PCI_OFFSET_TO_INDEX (Results 1 – 6 of 6) sorted by relevance
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()
232 int bar = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in vfio_pci_bar_rw()420 int ret, bar = VFIO_PCI_OFFSET_TO_INDEX(offset); in vfio_pci_ioeventfd()
1520 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in vfio_pci_rw()
23 #define VFIO_PCI_OFFSET_TO_INDEX(off) (off >> VFIO_PCI_OFFSET_SHIFT) macro
61 #define VFIO_PCI_OFFSET_TO_INDEX(off) (off >> VFIO_PCI_OFFSET_SHIFT) macro402 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - in intel_vgpu_reg_rw_opregion()503 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - in intel_vgpu_reg_rw_edid()794 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in intel_vgpu_rw()841 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in gtt_entry()
1196 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in hisi_acc_pci_rw_access_check()