Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/nvgrace-gpu/
H A Dmain.c450 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in nvgrace_gpu_map_and_read()
502 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in nvgrace_gpu_read_mem()
550 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in nvgrace_gpu_read()
573 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in nvgrace_gpu_map_and_write()
618 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in nvgrace_gpu_write_mem()
663 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in nvgrace_gpu_write()
/linux/drivers/vfio/pci/
H A 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()
H A Dvfio_pci_rdwr.c238 int bar = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in vfio_pci_bar_rw()
427 int ret, bar = VFIO_PCI_OFFSET_TO_INDEX(offset); in vfio_pci_ioeventfd()
H A Dvfio_pci_core.c1539 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in vfio_pci_rw()
/linux/include/linux/
H A Dvfio_pci_core.h23 #define VFIO_PCI_OFFSET_TO_INDEX(off) (off >> VFIO_PCI_OFFSET_SHIFT) macro
/linux/drivers/vfio/pci/virtio/
H A Dmain.c226 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in virtiovf_pci_core_read()
281 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in virtiovf_pci_core_write()
/linux/drivers/gpu/drm/i915/gvt/
H A 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()
511 unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - in intel_vgpu_reg_rw_edid()
802 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in intel_vgpu_rw()
849 unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); in gtt_entry()