Lines Matching refs:sss
107 ShaktiCSoCState *sss = RISCV_SHAKTI_SOC(dev); in type_init() local
110 sysbus_realize(SYS_BUS_DEVICE(&sss->cpus), &error_abort); in type_init()
112 sss->plic = sifive_plic_create(shakti_c_memmap[SHAKTI_C_PLIC].base, in type_init()
132 qdev_prop_set_chr(DEVICE(&(sss->uart)), "chardev", serial_hd(0)); in type_init()
133 if (!sysbus_realize(SYS_BUS_DEVICE(&sss->uart), errp)) { in type_init()
136 sysbus_mmio_map(SYS_BUS_DEVICE(&sss->uart), 0, in type_init()
140 memory_region_init_rom(&sss->rom, OBJECT(dev), "riscv.shakti.c.rom", in type_init()
143 shakti_c_memmap[SHAKTI_C_ROM].base, &sss->rom); in type_init()
161 ShaktiCSoCState *sss = RISCV_SHAKTI_SOC(obj); in shakti_c_soc_instance_init() local
163 object_initialize_child(obj, "cpus", &sss->cpus, TYPE_RISCV_HART_ARRAY); in shakti_c_soc_instance_init()
164 object_initialize_child(obj, "uart", &sss->uart, TYPE_SHAKTI_UART); in shakti_c_soc_instance_init()
171 object_property_set_str(OBJECT(&sss->cpus), "cpu-type", in shakti_c_soc_instance_init()
173 object_property_set_int(OBJECT(&sss->cpus), "num-harts", 1, in shakti_c_soc_instance_init()