Home
last modified time | relevance | path

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

/openbmc/qemu/hw/xen/
H A Dxen_pt.h48 OBJECT_DECLARE_SIMPLE_TYPE(XenPCIPassthroughState, XEN_PT_DEVICE)
64 (XenPCIPassthroughState *, XenPTRegInfo *, uint32_t real_offset,
67 (XenPCIPassthroughState *, XenPTReg *cfg_entry,
70 (XenPCIPassthroughState *, XenPTReg *cfg_entry,
73 (XenPCIPassthroughState *, XenPTReg *cfg_entry,
76 (XenPCIPassthroughState *, XenPTReg *cfg_entry,
79 (XenPCIPassthroughState *, XenPTReg *cfg_entry,
82 (XenPCIPassthroughState *, XenPTReg *cfg_entry,
177 (XenPCIPassthroughState *, XenPTRegGroupInfo *,
233 struct XenPCIPassthroughState { struct
[all …]
H A Dxen_pt_config_init.c29 static int xen_pt_ptr_reg_init(XenPCIPassthroughState *s, XenPTRegInfo *reg,
63 XenPTRegGroup *xen_pt_find_reg_grp(XenPCIPassthroughState *s, uint32_t address) in xen_pt_find_reg_grp()
101 static uint32_t get_throughable_mask(const XenPCIPassthroughState *s, in get_throughable_mask()
119 static int xen_pt_common_reg_init(XenPCIPassthroughState *s, in xen_pt_common_reg_init()
129 static int xen_pt_byte_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_byte_reg_read()
142 static int xen_pt_word_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_word_reg_read()
155 static int xen_pt_long_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_long_reg_read()
171 static int xen_pt_byte_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_byte_reg_write()
190 static int xen_pt_word_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_word_reg_write()
209 static int xen_pt_long_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_long_reg_write()
[all …]
H A Dxen_pt.c145 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_read_config()
250 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_write_config()
458 static int xen_pt_register_regions(XenPCIPassthroughState *s, uint16_t *cmd) in xen_pt_register_regions()
528 static int xen_pt_bar_from_region(XenPCIPassthroughState *s, MemoryRegion *mr) in xen_pt_bar_from_region()
550 XenPCIPassthroughState *s;
559 XenPCIPassthroughState *s = arg->s; in xen_pt_check_bar_overlap()
590 static void xen_pt_region_update(XenPCIPassthroughState *s, in xen_pt_region_update()
658 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_add()
667 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_del()
676 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_io_region_add()
[all …]
H A Dxen_pt_graphics.c132 static void *get_vgabios(XenPCIPassthroughState *s, int *size, in get_vgabios()
166 void xen_pt_setup_vga(XenPCIPassthroughState *s, XenHostPCIDevice *dev, in xen_pt_setup_vga()
228 uint32_t igd_read_opregion(XenPCIPassthroughState *s) in igd_read_opregion()
244 void igd_write_opregion(XenPCIPassthroughState *s, uint32_t val) in igd_write_opregion()
378 void xen_igd_passthrough_isa_bridge_create(XenPCIPassthroughState *s, in type_init()
/openbmc/qemu/include/hw/xen/
H A Dxen_igd.h16 typedef struct XenPCIPassthroughState XenPCIPassthroughState; typedef
21 uint32_t igd_read_opregion(XenPCIPassthroughState *s);
23 void igd_write_opregion(XenPCIPassthroughState *s, uint32_t val);
24 void xen_igd_passthrough_isa_bridge_create(XenPCIPassthroughState *s,