Home
last modified time | relevance | path

Searched refs:SysBusDevice (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/openbmc/qemu/include/hw/
H A Dsysbus.h19 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);
[all …]
H A Dplatform-bus.h34 SysBusDevice parent_obj;
45 int platform_bus_get_irqn(PlatformBusDevice *platform_bus, SysBusDevice *sbdev,
47 hwaddr platform_bus_get_mmio_addr(PlatformBusDevice *pbus, SysBusDevice *sbdev,
50 void platform_bus_link_device(PlatformBusDevice *pbus, SysBusDevice *sbdev);
/openbmc/qemu/hw/core/
H A Dsysbus.c40 SysBusDevice *sbdev; in find_sysbus_device()
43 sbdev = (SysBusDevice *)dev; in find_sysbus_device()
91 bool sysbus_has_irq(SysBusDevice *dev, int n) in sysbus_has_irq()
102 bool sysbus_is_irq_connected(SysBusDevice *dev, int n) in sysbus_is_irq_connected()
107 qemu_irq sysbus_get_connected_irq(SysBusDevice *dev, int n) in sysbus_get_connected_irq()
113 void sysbus_connect_irq(SysBusDevice *dev, int n, qemu_irq irq) in sysbus_connect_irq()
125 bool sysbus_has_mmio(SysBusDevice *dev, unsigned int n) in sysbus_has_mmio()
130 static void sysbus_mmio_map_common(SysBusDevice *dev, int n, hwaddr addr, in sysbus_mmio_map_common()
157 void sysbus_mmio_map(SysBusDevice *dev, int n, hwaddr addr) in sysbus_mmio_map()
162 void sysbus_mmio_map_overlap(SysBusDevice *dev, int n, hwaddr addr, in sysbus_mmio_map_overlap()
[all …]
H A Dplatform-bus.c34 int platform_bus_get_irqn(PlatformBusDevice *pbus, SysBusDevice *sbdev, in platform_bus_get_irqn()
54 hwaddr platform_bus_get_mmio_addr(PlatformBusDevice *pbus, SysBusDevice *sbdev, in platform_bus_get_mmio_addr()
77 static void platform_bus_count_irqs(SysBusDevice *sbdev, void *opaque) in platform_bus_count_irqs()
108 static void platform_bus_map_irq(PlatformBusDevice *pbus, SysBusDevice *sbdev, in platform_bus_map_irq()
129 static void platform_bus_map_mmio(PlatformBusDevice *pbus, SysBusDevice *sbdev, in platform_bus_map_mmio()
171 void platform_bus_link_device(PlatformBusDevice *pbus, SysBusDevice *sbdev) in platform_bus_link_device()
187 SysBusDevice *d; in platform_bus_realize()
H A Dsysbus-fdt.c56 int (*add_fn)(SysBusDevice *sbdev, void *opaque);
57 bool (*match_fn)(SysBusDevice *sbdev, const struct BindingEntry *combo);
213 static int add_calxeda_midway_xgmac_fdt_node(SysBusDevice *sbdev, void *opaque) in add_calxeda_midway_xgmac_fdt_node()
290 static int add_amd_xgbe_fdt_node(SysBusDevice *sbdev, void *opaque) in add_amd_xgbe_fdt_node()
419 static bool vfio_platform_match(SysBusDevice *sbdev, in vfio_platform_match()
449 static int add_tpm_tis_fdt_node(SysBusDevice *sbdev, void *opaque) in add_tpm_tis_fdt_node()
474 static int no_fdt_node(SysBusDevice *sbdev, void *opaque) in no_fdt_node()
480 static bool type_match(SysBusDevice *sbdev, const BindingEntry *entry) in type_match()
513 static void add_fdt_node(SysBusDevice *sbdev, void *opaque) in add_fdt_node()
/openbmc/qemu/hw/cpu/
H A Darm11mpcore.c30 SysBusDevice *scubusdev = SYS_BUS_DEVICE(&s->scu); in mpcore_priv_map_setup()
32 SysBusDevice *gicbusdev = SYS_BUS_DEVICE(&s->gic); in mpcore_priv_map_setup()
33 SysBusDevice *timerbusdev = SYS_BUS_DEVICE(&s->mptimer); in mpcore_priv_map_setup()
34 SysBusDevice *wdtbusdev = SYS_BUS_DEVICE(&s->wdtimer); in mpcore_priv_map_setup()
73 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in mpcore_priv_realize()
116 SysBusDevice *sbd = SYS_BUS_DEVICE(obj); in mpcore_priv_initfn()
H A Drealview_mpcore.c27 SysBusDevice parent_obj;
63 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in realview_mpcore_realize()
67 SysBusDevice *gicbusdev; in realview_mpcore_realize()
97 SysBusDevice *sbd = SYS_BUS_DEVICE(obj); in mpcore_rirq_init()
99 SysBusDevice *privbusdev; in mpcore_rirq_init()
H A Da15mpcore.c40 SysBusDevice *sbd = SYS_BUS_DEVICE(obj); in a15mp_priv_initfn()
52 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in a15mp_priv_realize()
55 SysBusDevice *busdev; in a15mp_priv_realize()
/openbmc/qemu/hw/intc/
H A Drealview_gic.c26 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in realview_gic_realize()
28 SysBusDevice *busdev; in realview_gic_realize()
55 SysBusDevice *sbd = SYS_BUS_DEVICE(obj); in realview_gic_init()
H A Dompic.c49 SysBusDevice parent_obj;
107 SysBusDevice *sbd = SYS_BUS_DEVICE(obj); in or1k_ompic_init()
118 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in or1k_ompic_realize()
/openbmc/qemu/hw/rtc/
H A Dsun4v-rtc.c26 SysBusDevice parent_obj;
58 SysBusDevice *s; in sun4v_rtc_init()
70 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in sun4v_rtc_realize()
/openbmc/qemu/hw/arm/
H A Dmusicpal.c115 SysBusDevice parent_obj;
261 SysBusDevice *sbd = SYS_BUS_DEVICE(obj); in musicpal_lcd_init()
315 SysBusDevice parent_obj;
389 SysBusDevice *dev = SYS_BUS_DEVICE(obj); in mv88w8618_pic_init()
451 SysBusDevice parent_obj;
465 static void mv88w8618_timer_init(SysBusDevice *dev, mv88w8618_timer_state *s, in mv88w8618_timer_init()
556 SysBusDevice *dev = SYS_BUS_DEVICE(obj); in mv88w8618_pit_init()
573 SysBusDevice *dev = SYS_BUS_DEVICE(obj); in mv88w8618_pit_finalize()
629 SysBusDevice parent_obj;
671 SysBusDevice *dev = SYS_BUS_DEVICE(obj); in mv88w8618_flashcfg_init()
[all …]
/openbmc/qemu/include/hw/misc/
H A Dmchp_pfsoc_dmc.h33 SysBusDevice parent;
48 SysBusDevice parent;
/openbmc/qemu/hw/sparc/
H A Dsun4m.c288 SysBusDevice *s; in iommu_init()
353 SysBusDevice *s; in slavio_intctl_init()
381 SysBusDevice *s; in slavio_timer_init_all()
420 SysBusDevice *s; in slavio_misc_init()
457 SysBusDevice *s; in ecc_init()
473 SysBusDevice *s; in apc_init()
487 SysBusDevice *s; in tcx_init()
539 SysBusDevice *s; in cg3_init()
568 SysBusDevice *s; in idreg_init()
583 SysBusDevice parent_obj;
[all …]
/openbmc/qemu/include/hw/nvram/
H A Dxlnx-versal-efuse.h39 SysBusDevice parent_obj;
53 SysBusDevice parent_obj;
/openbmc/qemu/include/hw/adc/
H A Daspeed_adc.h32 SysBusDevice parent;
43 SysBusDevice parent;
/openbmc/qemu/hw/ppc/
H A Dppc405.h48 SysBusDevice parent_obj;
77 SysBusDevice parent_obj;
112 SysBusDevice parent_obj;
/openbmc/qemu/include/hw/arm/
H A Darmv7m.h25 SysBusDevice parent_obj;
67 SysBusDevice parent_obj;
/openbmc/qemu/include/hw/pci-host/
H A Daspeed_pcie.h58 SysBusDevice parent_obj;
74 SysBusDevice parent_obj;
/openbmc/qemu/hw/sparc64/
H A Dsun4u.c234 SysBusDevice parent_obj;
267 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in power_realize()
306 SysBusDevice *sbd; in ebus_realize()
413 SysBusDevice parent_obj;
428 SysBusDevice *s; in prom_init()
462 SysBusDevice *dev = SYS_BUS_DEVICE(ds); in prom_realize()
500 SysBusDevice parent_obj;
510 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in ram_realize()
521 SysBusDevice *s; in ram_init()
567 SysBusDevice *s; in sun4uv_init()
/openbmc/qemu/include/hw/sparc/
H A Dsparc32_dma.h16 SysBusDevice parent_obj;
47 SysBusDevice parent_obj;
/openbmc/qemu/hw/misc/
H A Dgrlib_ahb_apb_pnp.c57 SysBusDevice parent_obj;
164 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in grlib_ahb_pnp_realize()
188 SysBusDevice parent_obj;
276 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in grlib_apb_pnp_realize()
H A Darm_integrator_debug.c27 SysBusDevice parent_obj;
80 SysBusDevice *sd = SYS_BUS_DEVICE(obj); in intdbg_control_init()
/openbmc/qemu/hw/ide/
H A Dmmio.c44 SysBusDevice parent_obj;
122 SysBusDevice *d = SYS_BUS_DEVICE(dev); in mmio_ide_realizefn()
137 SysBusDevice *d = SYS_BUS_DEVICE(obj); in mmio_ide_initfn()
/openbmc/qemu/include/hw/intc/
H A Driscv_aclint.h33 SysBusDevice parent_obj;
61 SysBusDevice parent_obj;

12345678910>>...29