Searched refs:XenPCIPassthroughState (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/hw/xen/ |
H A D | xen_pt.h | 48 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 D | xen_pt_config_init.c | 29 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 D | xen_pt_msi.c | 74 static int msi_msix_enable(XenPCIPassthroughState *s, in msi_msix_enable() 105 static int msi_msix_setup(XenPCIPassthroughState *s, in msi_msix_setup() 153 static int msi_msix_update(XenPCIPassthroughState *s, in msi_msix_update() 194 static int msi_msix_disable(XenPCIPassthroughState *s, in msi_msix_disable() 236 static int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool enable) in xen_pt_msi_set_enable() 249 int xen_pt_msi_setup(XenPCIPassthroughState *s) in xen_pt_msi_setup() 277 int xen_pt_msi_update(XenPCIPassthroughState *s) in xen_pt_msi_update() 286 void xen_pt_msi_disable(XenPCIPassthroughState *s) in xen_pt_msi_disable() 310 static int msix_set_enable(XenPCIPassthroughState *s, bool enabled) in msix_set_enable() 322 static int xen_pt_msix_update_one(XenPCIPassthroughState *s, int entry_nr, in xen_pt_msix_update_one() [all …]
|
H A D | xen_pt.c | 144 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_read_config() 249 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_write_config() 457 static int xen_pt_register_regions(XenPCIPassthroughState *s, uint16_t *cmd) in xen_pt_register_regions() 527 static int xen_pt_bar_from_region(XenPCIPassthroughState *s, MemoryRegion *mr) in xen_pt_bar_from_region() 549 XenPCIPassthroughState *s; 558 XenPCIPassthroughState *s = arg->s; in xen_pt_check_bar_overlap() 589 static void xen_pt_region_update(XenPCIPassthroughState *s, in xen_pt_region_update() 657 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_add() 666 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_del() 675 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_io_region_add() [all …]
|
H A D | xen_pt_graphics.c | 132 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 D | xen_igd.h | 16 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,
|