Lines Matching refs:SysBusDevice
19 OBJECT_DECLARE_TYPE(SysBusDevice, SysBusDeviceClass,
50 char *(*explicit_ofw_unit_address)(const SysBusDevice *dev);
51 void (*connect_irq_notifier)(SysBusDevice *dev, qemu_irq irq);
54 struct SysBusDevice { struct
68 typedef void FindSysbusDeviceFunc(SysBusDevice *sbdev, void *opaque); argument
70 void sysbus_init_mmio(SysBusDevice *dev, MemoryRegion *memory);
71 MemoryRegion *sysbus_mmio_get_region(SysBusDevice *dev, int n);
72 void sysbus_init_irq(SysBusDevice *dev, qemu_irq *p);
73 void sysbus_pass_irq(SysBusDevice *dev, SysBusDevice *target);
74 void sysbus_init_ioports(SysBusDevice *dev, uint32_t ioport, uint32_t size);
77 bool sysbus_has_irq(SysBusDevice *dev, int n);
78 bool sysbus_has_mmio(SysBusDevice *dev, unsigned int n);
79 void sysbus_connect_irq(SysBusDevice *dev, int n, qemu_irq irq);
80 bool sysbus_is_irq_connected(SysBusDevice *dev, int n);
81 qemu_irq sysbus_get_connected_irq(SysBusDevice *dev, int n);
82 void sysbus_mmio_map(SysBusDevice *dev, int n, hwaddr addr);
83 void sysbus_mmio_map_overlap(SysBusDevice *dev, int n, hwaddr addr,
86 bool sysbus_realize(SysBusDevice *dev, Error **errp);
87 bool sysbus_realize_and_unref(SysBusDevice *dev, Error **errp);