Home
last modified time | relevance | path

Searched refs:scu (Results 1 – 12 of 12) sorted by relevance

/qemu/hw/cpu/
H A Darm11mpcore.c30 SysBusDevice *scubusdev = SYS_BUS_DEVICE(&s->scu); in mpcore_priv_map_setup()
75 DeviceState *scudev = DEVICE(&s->scu); in mpcore_priv_realize()
81 if (!sysbus_realize(SYS_BUS_DEVICE(&s->scu), errp)) { in mpcore_priv_realize()
123 object_initialize_child(obj, "scu", &s->scu, TYPE_ARM11_SCU); in mpcore_priv_initfn()
H A Da9mpcore.c36 object_initialize_child(obj, "scu", &s->scu, TYPE_A9_SCU); in a9mp_priv_initfn()
68 scudev = DEVICE(&s->scu); in a9mp_priv_realize()
70 if (!sysbus_realize(SYS_BUS_DEVICE(&s->scu), errp)) { in a9mp_priv_realize()
73 scubusdev = SYS_BUS_DEVICE(&s->scu); in a9mp_priv_realize()
/qemu/hw/arm/
H A Daspeed_ast2400.c164 object_initialize_child(obj, "scu", &s->scu, typename); in aspeed_ast2400_soc_init()
165 qdev_prop_set_uint32(DEVICE(&s->scu), "silicon-rev", in aspeed_ast2400_soc_init()
167 object_property_add_alias(obj, "hw-strap1", OBJECT(&s->scu), in aspeed_ast2400_soc_init()
169 object_property_add_alias(obj, "hw-strap2", OBJECT(&s->scu), in aspeed_ast2400_soc_init()
171 object_property_add_alias(obj, "hw-prot-key", OBJECT(&s->scu), in aspeed_ast2400_soc_init()
288 if (!sysbus_realize(SYS_BUS_DEVICE(&s->scu), errp)) { in aspeed_ast2400_soc_realize()
291 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->scu), 0, sc->memmap[ASPEED_DEV_SCU]); in aspeed_ast2400_soc_realize()
312 object_property_set_link(OBJECT(&s->timerctrl), "scu", OBJECT(&s->scu), in aspeed_ast2400_soc_realize()
408 object_property_set_link(OBJECT(&s->wdt[i]), "scu", OBJECT(&s->scu), in aspeed_ast2400_soc_realize()
H A Daspeed_ast10x0.c128 object_initialize_child(obj, "scu", &s->scu, typename); in aspeed_soc_ast1030_init()
129 qdev_prop_set_uint32(DEVICE(&s->scu), "silicon-rev", sc->silicon_rev); in aspeed_soc_ast1030_init()
131 object_property_add_alias(obj, "hw-strap1", OBJECT(&s->scu), "hw-strap1"); in aspeed_soc_ast1030_init()
132 object_property_add_alias(obj, "hw-strap2", OBJECT(&s->scu), "hw-strap2"); in aspeed_soc_ast1030_init()
241 if (!sysbus_realize(SYS_BUS_DEVICE(&s->scu), errp)) { in aspeed_soc_ast1030_realize()
244 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->scu), 0, sc->memmap[ASPEED_DEV_SCU]); in aspeed_soc_ast1030_realize()
317 object_property_set_link(OBJECT(&s->timerctrl), "scu", OBJECT(&s->scu), in aspeed_soc_ast1030_realize()
384 object_property_set_link(OBJECT(&s->wdt[i]), "scu", OBJECT(&s->scu), in aspeed_soc_ast1030_realize()
H A Daspeed_ast2600.c170 object_initialize_child(obj, "scu", &s->scu, typename); in aspeed_soc_ast2600_init()
171 qdev_prop_set_uint32(DEVICE(&s->scu), "silicon-rev", in aspeed_soc_ast2600_init()
173 object_property_add_alias(obj, "hw-strap1", OBJECT(&s->scu), in aspeed_soc_ast2600_init()
175 object_property_add_alias(obj, "hw-strap2", OBJECT(&s->scu), in aspeed_soc_ast2600_init()
177 object_property_add_alias(obj, "hw-prot-key", OBJECT(&s->scu), in aspeed_soc_ast2600_init()
380 if (!sysbus_realize(SYS_BUS_DEVICE(&s->scu), errp)) { in aspeed_soc_ast2600_realize()
383 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->scu), 0, sc->memmap[ASPEED_DEV_SCU]); in aspeed_soc_ast2600_realize()
394 object_property_set_link(OBJECT(&s->timerctrl), "scu", OBJECT(&s->scu), in aspeed_soc_ast2600_realize()
496 object_property_set_link(OBJECT(&s->wdt[i]), "scu", OBJECT(&s->scu), in aspeed_soc_ast2600_realize()
/qemu/include/hw/cpu/
H A Darm11mpcore.h29 ARM11SCUState scu; member
H A Da9mpcore.h32 A9SCUState scu; member
/qemu/include/hw/watchdog/
H A Dwdt_aspeed.h35 AspeedSCUState *scu; member
/qemu/hw/watchdog/
H A Dwdt_aspeed.c257 if (s->scu->regs[reset_ctrl_reg] & SCU_RESET_SDRAM) { in aspeed_wdt_timer_expired()
277 assert(s->scu); in aspeed_wdt_realize()
292 DEFINE_PROP_LINK("scu", AspeedWDTState, scu, TYPE_ASPEED_SCU,
/qemu/include/hw/timer/
H A Daspeed_timer.h67 AspeedSCUState *scu; member
/qemu/hw/timer/
H A Daspeed_timer.c98 aspeed_scu_get_apb_freq(s->scu); in calculate_rate()
608 assert(s->scu); in aspeed_timer_realize()
675 DEFINE_PROP_LINK("scu", AspeedTimerCtrlState, scu, TYPE_ASPEED_SCU,
/qemu/include/hw/arm/
H A Daspeed_soc.h63 AspeedSCUState scu; member