Home
last modified time | relevance | path

Searched refs:real_device (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/xen/
H A Dxen_pt.c460 XenHostPCIDevice *d = &s->real_device; in xen_pt_register_regions()
709 XenHostPCIDevice *host_dev = &s->real_device; in xen_pt_destroy()
784 s->is_virtfn = s->real_device.is_virtfn; in xen_pt_realize()
787 s->real_device.domain, s->real_device.bus, in xen_pt_realize()
788 s->real_device.dev, s->real_device.func); in xen_pt_realize()
799 (s->real_device.bus == XEN_PCI_IGD_BUS) && in xen_pt_realize()
843 machine_irq = s->real_device.irq; in xen_pt_realize()
965 xen_host_pci_device_get(&s->real_device, in xen_igd_clear_slot()
981 s->real_device.bus == XEN_PCI_IGD_BUS && in xen_igd_clear_slot()
982 s->real_device.dev == XEN_PCI_IGD_DEV && in xen_igd_clear_slot()
[all …]
H A Dxen_pt_config_init.c245 *data = s->real_device.vendor_id; in xen_pt_vendor_reg_init()
252 *data = s->real_device.device_id; in xen_pt_device_reg_init()
307 if (s->real_device.irq) { in xen_pt_irqpin_reg_init()
373 int type = s->real_device.io_regions[index - 1].type; in xen_pt_bar_reg_parse()
907 rc = xen_host_pci_get_byte(&s->real_device, in xen_pt_linkctrl2_reg_init()
1087 xen_host_pci_set_word(&s->real_device, real_offset, in xen_pt_msgctrl_reg_init()
1838 if (xen_pt_hide_dev_cap(&s->real_device, in xen_pt_ptr_reg_init()
1843 rc = xen_host_pci_get_byte(&s->real_device, in xen_pt_ptr_reg_init()
1860 rc = xen_host_pci_get_byte(&s->real_device, in xen_pt_ptr_reg_init()
1900 if (xen_host_pci_get_byte(&s->real_device, in find_cap_offset()
[all …]
H A Dxen_pt_msi.c86 rc = xen_host_pci_get_word(&s->real_device, address, &val); in msi_msix_enable()
97 rc = xen_host_pci_set_word(&s->real_device, address, val); in msi_msix_enable()
139 ppirq, PCI_DEVFN(s->real_device.dev, in msi_msix_setup()
140 s->real_device.func), in msi_msix_setup()
141 s->real_device.bus, in msi_msix_setup()
530 XenHostPCIDevice *hd = &s->real_device; in xen_pt_msix_init()
576 msix->table_base = s->real_device.io_regions[bar_index].base_addr; in xen_pt_msix_init()
H A Dxen_pt_graphics.c204 if (pd->device != s->real_device.device_id) { in xen_pt_setup_vga()
205 pd->device = s->real_device.device_id; in xen_pt_setup_vga()
255 xen_host_pci_get_block(&s->real_device, XEN_PCI_INTEL_OPREGION, in igd_write_opregion()
H A Dxen_pt.h240 XenHostPCIDevice real_device; member
306 xen_host_pci_get_byte(&s->real_device, PCI_INTERRUPT_PIN, &v); in xen_pt_pci_read_intx()