/openbmc/qemu/hw/arm/ |
H A D | stm32l4x5_soc.c | 166 static void stm32l4x5_soc_realize(DeviceState *dev_soc, Error **errp) in stm32l4x5_soc_realize() argument 169 Stm32l4x5SocState *s = STM32L4X5_SOC(dev_soc); in stm32l4x5_soc_realize() 170 const Stm32l4x5SocClass *sc = STM32L4X5_SOC_GET_CLASS(dev_soc); in stm32l4x5_soc_realize() 176 if (!memory_region_init_rom(&s->flash, OBJECT(dev_soc), "flash", in stm32l4x5_soc_realize() 180 memory_region_init_alias(&s->flash_alias, OBJECT(dev_soc), in stm32l4x5_soc_realize() 187 if (!memory_region_init_ram(&s->sram1, OBJECT(dev_soc), "SRAM1", SRAM1_SIZE, in stm32l4x5_soc_realize() 193 if (!memory_region_init_ram(&s->sram2, OBJECT(dev_soc), "SRAM2", SRAM2_SIZE, in stm32l4x5_soc_realize() 199 object_initialize_child(OBJECT(dev_soc), "armv7m", &s->armv7m, TYPE_ARMV7M); in stm32l4x5_soc_realize() 253 qdev_pass_gpios(DEVICE(&s->syscfg), dev_soc, NULL); in stm32l4x5_soc_realize()
|
H A D | stm32f100_soc.c | 66 static void stm32f100_soc_realize(DeviceState *dev_soc, Error **errp) in stm32f100_soc_realize() argument 68 STM32F100State *s = STM32F100_SOC(dev_soc); in stm32f100_soc_realize() 103 memory_region_init_rom(&s->flash, OBJECT(dev_soc), "STM32F100.flash", in stm32f100_soc_realize() 105 memory_region_init_alias(&s->flash_alias, OBJECT(dev_soc), in stm32f100_soc_realize()
|
H A D | msf2-soc.c | 82 static void m2sxxx_soc_realize(DeviceState *dev_soc, Error **errp) in m2sxxx_soc_realize() argument 84 MSF2State *s = MSF2_SOC(dev_soc); in m2sxxx_soc_realize() 117 memory_region_init_rom(&s->nvm, OBJECT(dev_soc), "MSF2.eNVM", s->envm_size, in m2sxxx_soc_realize() 125 memory_region_init_alias(&s->nvm_alias, OBJECT(dev_soc), "MSF2.eNVM", in m2sxxx_soc_realize()
|
H A D | stm32f205_soc.c | 83 static void stm32f205_soc_realize(DeviceState *dev_soc, Error **errp) in stm32f205_soc_realize() argument 85 STM32F205State *s = STM32F205_SOC(dev_soc); in stm32f205_soc_realize() 116 memory_region_init_rom(&s->flash, OBJECT(dev_soc), "STM32F205.flash", in stm32f205_soc_realize() 118 memory_region_init_alias(&s->flash_alias, OBJECT(dev_soc), in stm32f205_soc_realize()
|
H A D | nrf51_soc.c | 57 static void nrf51_soc_realize(DeviceState *dev_soc, Error **errp) in nrf51_soc_realize() argument 59 NRF51State *s = NRF51_SOC(dev_soc); in nrf51_soc_realize() 149 qdev_pass_gpios(DEVICE(&s->gpio), dev_soc, NULL); in nrf51_soc_realize() 169 memory_region_init_io(&s->clock, OBJECT(dev_soc), &clock_ops, NULL, in nrf51_soc_realize()
|
H A D | stm32f405_soc.c | 88 static void stm32f405_soc_realize(DeviceState *dev_soc, Error **errp) in stm32f405_soc_realize() argument 90 STM32F405State *s = STM32F405_SOC(dev_soc); in stm32f405_soc_realize() 121 memory_region_init_rom(&s->flash, OBJECT(dev_soc), "STM32F405.flash", in stm32f405_soc_realize() 127 memory_region_init_alias(&s->flash_alias, OBJECT(dev_soc), in stm32f405_soc_realize()
|
H A D | aspeed_ast10x0.c | 188 static void aspeed_soc_ast1030_realize(DeviceState *dev_soc, Error **errp) in aspeed_soc_ast1030_realize() argument 190 Aspeed10x0SoCState *a = ASPEED10X0_SOC(dev_soc); in aspeed_soc_ast1030_realize() 191 AspeedSoCState *s = ASPEED_SOC(dev_soc); in aspeed_soc_ast1030_realize()
|
/openbmc/qemu/hw/tricore/ |
H A D | tc27x_soc.c | 100 static void tc27x_soc_init_memory_mapping(DeviceState *dev_soc) in tc27x_soc_init_memory_mapping() argument 102 TC27XSoCState *s = TC27X_SOC(dev_soc); in tc27x_soc_init_memory_mapping() 182 static void tc27x_soc_realize(DeviceState *dev_soc, Error **errp) in tc27x_soc_realize() argument 184 TC27XSoCState *s = TC27X_SOC(dev_soc); in tc27x_soc_realize() 193 tc27x_soc_init_memory_mapping(dev_soc); in tc27x_soc_realize()
|
/openbmc/qemu/hw/riscv/ |
H A D | opentitan.c | 141 static void lowrisc_ibex_soc_realize(DeviceState *dev_soc, Error **errp) in lowrisc_ibex_soc_realize() argument 147 LowRISCIbexSoCState *s = RISCV_IBEX_SOC(dev_soc); in lowrisc_ibex_soc_realize() 160 memory_region_init_rom(&s->rom, OBJECT(dev_soc), "riscv.lowrisc.ibex.rom", in lowrisc_ibex_soc_realize() 166 memory_region_init_rom(&s->flash_mem, OBJECT(dev_soc), "riscv.lowrisc.ibex.flash", in lowrisc_ibex_soc_realize() 168 memory_region_init_alias(&s->flash_alias, OBJECT(dev_soc), in lowrisc_ibex_soc_realize()
|