Home
last modified time | relevance | path

Searched refs:VFIO_PCI_OFFSET_TO_INDEX (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_igd.c68 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()
Dvfio_pci_rdwr.c232 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()
Dvfio_pci_core.c1520 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in vfio_pci_rw()
/linux-6.6.21/include/linux/
Dvfio_pci_core.h23 #define VFIO_PCI_OFFSET_TO_INDEX(off) (off >> VFIO_PCI_OFFSET_SHIFT) macro
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dkvmgt.c61 #define VFIO_PCI_OFFSET_TO_INDEX(off) (off >> VFIO_PCI_OFFSET_SHIFT) macro
402 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()
/linux-6.6.21/drivers/vfio/pci/hisilicon/
Dhisi_acc_vfio_pci.c1196 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in hisi_acc_pci_rw_access_check()