Home
last modified time | relevance | path

Searched refs:XenHostPCIDevice (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/xen/
H A Dxen-host-pci-device.h20 typedef struct XenHostPCIDevice { struct
43 } XenHostPCIDevice; argument
45 void xen_host_pci_device_get(XenHostPCIDevice *d, uint16_t domain,
48 void xen_host_pci_device_put(XenHostPCIDevice *pci_dev);
49 bool xen_host_pci_device_closed(XenHostPCIDevice *d);
51 int xen_host_pci_get_byte(XenHostPCIDevice *d, int pos, uint8_t *p);
52 int xen_host_pci_get_word(XenHostPCIDevice *d, int pos, uint16_t *p);
53 int xen_host_pci_get_long(XenHostPCIDevice *d, int pos, uint32_t *p);
54 int xen_host_pci_get_block(XenHostPCIDevice *d, int pos, uint8_t *buf,
56 int xen_host_pci_set_byte(XenHostPCIDevice *d, int pos, uint8_t data);
[all …]
H A Dxen-host-pci-device.c97 static void xen_host_pci_sysfs_path(const XenHostPCIDevice *d, in xen_host_pci_sysfs_path()
237 static inline void xen_host_pci_get_hex_value(XenHostPCIDevice *d, in xen_host_pci_get_hex_value()
245 static inline void xen_host_pci_get_dec_value(XenHostPCIDevice *d, in xen_host_pci_get_dec_value()
253 static bool xen_host_pci_dev_is_virtfn(XenHostPCIDevice *d) in xen_host_pci_dev_is_virtfn()
275 static int xen_host_pci_config_read(XenHostPCIDevice *d, in xen_host_pci_config_read()
289 static int xen_host_pci_config_write(XenHostPCIDevice *d, in xen_host_pci_config_write()
304 int xen_host_pci_get_byte(XenHostPCIDevice *d, int pos, uint8_t *p) in xen_host_pci_get_byte()
314 int xen_host_pci_get_word(XenHostPCIDevice *d, int pos, uint16_t *p) in xen_host_pci_get_word()
394 void xen_host_pci_device_get(XenHostPCIDevice *d, uint16_t domain, in xen_host_pci_device_get()
465 bool xen_host_pci_device_closed(XenHostPCIDevice *d) in xen_host_pci_device_closed()
[all …]
H A Dxen_pt_graphics.c53 int xen_pt_register_vga_regions(XenHostPCIDevice *dev) in xen_pt_register_vga_regions()
88 int xen_pt_unregister_vga_regions(XenHostPCIDevice *dev) in xen_pt_unregister_vga_regions()
133 XenHostPCIDevice *dev) in get_vgabios()
166 void xen_pt_setup_vga(XenPCIPassthroughState *s, XenHostPCIDevice *dev, in xen_pt_setup_vga()
379 XenHostPCIDevice *dev) in type_init()
H A Dxen_pt.h240 XenHostPCIDevice real_device;
347 int xen_pt_register_vga_regions(XenHostPCIDevice *dev);
348 int xen_pt_unregister_vga_regions(XenHostPCIDevice *dev);
349 void xen_pt_setup_vga(XenPCIPassthroughState *s, XenHostPCIDevice *dev,
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()
H A Dxen_pt_msi.c530 XenHostPCIDevice *hd = &s->real_device; in xen_pt_msix_init()
H A Dxen_pt_config_init.c36 static int xen_pt_hide_dev_cap(const XenHostPCIDevice *d, uint8_t grp_id) in xen_pt_hide_dev_cap()
/openbmc/qemu/include/hw/xen/
H A Dxen_igd.h25 XenHostPCIDevice *dev);
27 static inline bool is_igd_vga_passthrough(XenHostPCIDevice *dev) in is_igd_vga_passthrough()