Searched refs:vfio_pci_read_config (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/hw/vfio/ |
H A D | igd.c | 266 uint32_t gmch = vfio_pci_read_config(&vdev->pdev, IGD_GMCH, sizeof(gmch)); in vfio_igd_gtt_max() 269 gmch = vfio_pci_read_config(&vdev->pdev, IGD_GMCH, sizeof(gmch)); in vfio_igd_gtt_max() 616 gmch = vfio_pci_read_config(&vdev->pdev, IGD_GMCH, 4); in vfio_probe_igd_bar4_quirk() 659 igd->bdsm = vfio_pci_read_config(&vdev->pdev, IGD_BDSM, 4); in vfio_probe_igd_bar4_quirk() 661 igd->bdsm = vfio_pci_read_config(&vdev->pdev, IGD_BDSM_GEN11, 4); in vfio_probe_igd_bar4_quirk() 663 (uint64_t)vfio_pci_read_config(&vdev->pdev, IGD_BDSM_GEN11 + 4, 4) << 32; in vfio_probe_igd_bar4_quirk()
|
H A D | pci.h | 200 uint32_t vfio_pci_read_config(PCIDevice *pdev, uint32_t addr, int len);
|
H A D | pci-quirks.c | 156 data = vfio_pci_read_config(&vdev->pdev, window->address_val, size); in vfio_generic_window_quirk_data_read() 212 data = vfio_pci_read_config(&vdev->pdev, addr, size); in vfio_generic_quirk_mirror_read() 259 uint64_t data = vfio_pci_read_config(&vdev->pdev, in vfio_ati_3c3_quirk_read() 621 data = vfio_pci_read_config(&vdev->pdev, offset, size); in vfio_nvidia_3d0_quirk_read()
|
H A D | pci.c | 266 uint8_t pin = vfio_pci_read_config(&vdev->pdev, PCI_INTERRUPT_PIN, 1); in vfio_intx_enable() 1215 uint32_t vfio_pci_read_config(PCIDevice *pdev, uint32_t addr, int len) in vfio_pci_read_config() function 2415 pmcsr = vfio_pci_read_config(pdev, vdev->pm_cap + PCI_PM_CTRL, 2); in vfio_pci_pre_reset() 2421 pmcsr = vfio_pci_read_config(pdev, vdev->pm_cap + PCI_PM_CTRL, 2); in vfio_pci_pre_reset() 2434 cmd = vfio_pci_read_config(pdev, PCI_COMMAND, 2); in vfio_pci_pre_reset() 3172 if (vfio_pci_read_config(&vdev->pdev, PCI_INTERRUPT_PIN, 1)) { in vfio_realize() 3436 pdc->config_read = vfio_pci_read_config; in vfio_pci_dev_class_init()
|
H A D | trace-events | 27 vfio_pci_read_config(const char *name, int addr, int len, int val) " (%s, @0x%x, len=0x%x) 0x%x"
|