Home
last modified time | relevance | path

Searched refs:SYS_BUS_DEVICE (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/openbmc/qemu/hw/arm/
H A Dbcm2835_peripherals.c43 sysbus_realize(SYS_BUS_DEVICE(uds), &error_fatal); in create_unimp()
81 sysbus_init_mmio(SYS_BUS_DEVICE(s), &s->peri_mr); in raspi_peripherals_base_init()
295 sysbus_pass_irq(SYS_BUS_DEVICE(s), SYS_BUS_DEVICE(&s->ic)); in bcm_soc_peripherals_common_realize()
303 sysbus_connect_irq(SYS_BUS_DEVICE(&s->systmr), 0, in bcm_soc_peripherals_common_realize()
306 sysbus_connect_irq(SYS_BUS_DEVICE(&s->systmr), 1, in bcm_soc_peripherals_common_realize()
309 sysbus_connect_irq(SYS_BUS_DEVICE(&s->systmr), 2, in bcm_soc_peripherals_common_realize()
324 sysbus_connect_irq(SYS_BUS_DEVICE(&s->uart0), 0, in bcm_soc_peripherals_common_realize()
337 sysbus_connect_irq(SYS_BUS_DEVICE(&s->aux), 0, in bcm_soc_peripherals_common_realize()
380 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fb), 0, in bcm_soc_peripherals_common_realize()
451 sysbus_connect_irq(SYS_BUS_DEVICE(&s->mphi), 0, in bcm_soc_peripherals_common_realize()
[all …]
H A Daspeed_ast2400.c298 sysbus_connect_irq(SYS_BUS_DEVICE(&a->vic), 0, in aspeed_ast2400_soc_realize()
300 sysbus_connect_irq(SYS_BUS_DEVICE(&a->vic), 1, in aspeed_ast2400_soc_realize()
308 sysbus_connect_irq(SYS_BUS_DEVICE(&s->rtc), 0, in aspeed_ast2400_soc_realize()
329 sysbus_connect_irq(SYS_BUS_DEVICE(&s->adc), 0, in aspeed_ast2400_soc_realize()
344 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c), 0, in aspeed_ast2400_soc_realize()
351 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->peci), 0, in aspeed_ast2400_soc_realize()
353 sysbus_connect_irq(SYS_BUS_DEVICE(&s->peci), 0, in aspeed_ast2400_soc_realize()
363 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->fmc), 1, in aspeed_ast2400_soc_realize()
365 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fmc), 0, in aspeed_ast2400_soc_realize()
400 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sdmc), 0, in aspeed_ast2400_soc_realize()
[all …]
H A Daspeed_ast2600.c390 sysbus_connect_irq(SYS_BUS_DEVICE(&s->rtc), 0, in aspeed_soc_ast2600_realize()
411 sysbus_connect_irq(SYS_BUS_DEVICE(&s->adc), 0, in aspeed_soc_ast2600_realize()
437 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->peci), 0, in aspeed_soc_ast2600_realize()
439 sysbus_connect_irq(SYS_BUS_DEVICE(&s->peci), 0, in aspeed_soc_ast2600_realize()
449 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->fmc), 1, in aspeed_soc_ast2600_realize()
451 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fmc), 0, in aspeed_soc_ast2600_realize()
488 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sdmc), 0, in aspeed_soc_ast2600_realize()
535 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->xdma), 0, in aspeed_soc_ast2600_realize()
537 sysbus_connect_irq(SYS_BUS_DEVICE(&s->xdma), 0, in aspeed_soc_ast2600_realize()
545 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio), 0, in aspeed_soc_ast2600_realize()
[all …]
H A Dallwinner-a10.c105 if (!sysbus_realize(SYS_BUS_DEVICE(&s->intc), errp)) { in aw_a10_realize()
108 sysbusdev = SYS_BUS_DEVICE(&s->intc); in aw_a10_realize()
116 if (!sysbus_realize(SYS_BUS_DEVICE(&s->timer), errp)) { in aw_a10_realize()
119 sysbusdev = SYS_BUS_DEVICE(&s->timer); in aw_a10_realize()
134 sysbus_realize(SYS_BUS_DEVICE(&s->ccm), &error_fatal); in aw_a10_realize()
142 if (!sysbus_realize(SYS_BUS_DEVICE(&s->emac), errp)) { in aw_a10_realize()
145 sysbusdev = SYS_BUS_DEVICE(&s->emac); in aw_a10_realize()
149 if (!sysbus_realize(SYS_BUS_DEVICE(&s->sata), errp)) { in aw_a10_realize()
166 sysbus_mmio_map(SYS_BUS_DEVICE(&s->ehci[i]), 0, in aw_a10_realize()
168 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ehci[i]), 0, in aw_a10_realize()
[all …]
H A Dfsl-imx25.c90 if (!sysbus_realize(SYS_BUS_DEVICE(&s->avic), errp)) { in fsl_imx25_realize()
94 sysbus_connect_irq(SYS_BUS_DEVICE(&s->avic), 0, in fsl_imx25_realize()
96 sysbus_connect_irq(SYS_BUS_DEVICE(&s->avic), 1, in fsl_imx25_realize()
99 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ccm), errp)) { in fsl_imx25_realize()
123 sysbus_connect_irq(SYS_BUS_DEVICE(&s->uart[i]), 0, in fsl_imx25_realize()
146 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt[i]), 0, in fsl_imx25_realize()
176 if (!sysbus_realize(SYS_BUS_DEVICE(&s->fec), errp)) { in fsl_imx25_realize()
180 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fec), 0, in fsl_imx25_realize()
187 sysbus_connect_irq(SYS_BUS_DEVICE(&s->rngc), 0, in fsl_imx25_realize()
205 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c[i]), 0, in fsl_imx25_realize()
[all …]
H A Dfsl-imx6.c165 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ccm), errp)) { in fsl_imx6_realize()
170 if (!sysbus_realize(SYS_BUS_DEVICE(&s->src), errp)) { in fsl_imx6_realize()
195 sysbus_connect_irq(SYS_BUS_DEVICE(&s->uart[i]), 0, in fsl_imx6_realize()
202 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpt), errp)) { in fsl_imx6_realize()
207 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt), 0, in fsl_imx6_realize()
249 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c[i]), 0, in fsl_imx6_realize()
346 sysbus_mmio_map(SYS_BUS_DEVICE(&s->usbphy[i]), 0, in fsl_imx6_realize()
358 sysbus_mmio_map(SYS_BUS_DEVICE(&s->usb[i]), 0, in fsl_imx6_realize()
360 sysbus_connect_irq(SYS_BUS_DEVICE(&s->usb[i]), 0, in fsl_imx6_realize()
396 sysbus_connect_irq(SYS_BUS_DEVICE(&s->eth), 0, in fsl_imx6_realize()
[all …]
H A Dallwinner-h3.c274 sysbus_realize(SYS_BUS_DEVICE(&s->gic), &error_fatal); in allwinner_h3_realize()
309 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gic), i, in allwinner_h3_realize()
327 sysbus_connect_irq(SYS_BUS_DEVICE(&s->timer), 0, in allwinner_h3_realize()
329 sysbus_connect_irq(SYS_BUS_DEVICE(&s->timer), 1, in allwinner_h3_realize()
367 sysbus_connect_irq(SYS_BUS_DEVICE(&s->mmc0), 0, in allwinner_h3_realize()
379 sysbus_connect_irq(SYS_BUS_DEVICE(&s->emac), 0, in allwinner_h3_realize()
439 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c0), 0, in allwinner_h3_realize()
444 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c1), 0, in allwinner_h3_realize()
449 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c2), 0, in allwinner_h3_realize()
454 sysbus_connect_irq(SYS_BUS_DEVICE(&s->r_twi), 0, in allwinner_h3_realize()
[all …]
H A Daspeed_ast10x0.c277 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->peci), 0, in aspeed_soc_ast1030_realize()
279 sysbus_connect_irq(SYS_BUS_DEVICE(&s->peci), 0, in aspeed_soc_ast1030_realize()
289 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 0, in aspeed_soc_ast1030_realize()
322 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->timerctrl), 0, in aspeed_soc_ast1030_realize()
334 sysbus_connect_irq(SYS_BUS_DEVICE(&s->adc), 0, in aspeed_soc_ast1030_realize()
344 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->fmc), 1, in aspeed_soc_ast1030_realize()
346 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fmc), 0, in aspeed_soc_ast1030_realize()
374 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->hace), 0, in aspeed_soc_ast1030_realize()
376 sysbus_connect_irq(SYS_BUS_DEVICE(&s->hace), 0, in aspeed_soc_ast1030_realize()
396 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->gpio), 0, in aspeed_soc_ast1030_realize()
[all …]
H A Dallwinner-r40.c383 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gic), i, in allwinner_r40_realize()
401 sysbus_connect_irq(SYS_BUS_DEVICE(&s->timer), 0, in allwinner_r40_realize()
404 sysbus_connect_irq(SYS_BUS_DEVICE(&s->timer), 1, in allwinner_r40_realize()
435 sysbus_mmio_map(SYS_BUS_DEVICE(&s->sata), 0, in allwinner_r40_realize()
437 sysbus_connect_irq(SYS_BUS_DEVICE(&s->sata), 0, in allwinner_r40_realize()
502 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c0), 0, in allwinner_r40_realize()
507 sysbus_mmio_map(SYS_BUS_DEVICE(&s->dramc), 0, in allwinner_r40_realize()
509 sysbus_mmio_map(SYS_BUS_DEVICE(&s->dramc), 1, in allwinner_r40_realize()
511 sysbus_mmio_map(SYS_BUS_DEVICE(&s->dramc), 2, in allwinner_r40_realize()
520 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gmac), 0, in allwinner_r40_realize()
[all …]
H A Dfsl-imx7.c215 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->a7mpcore); in fsl_imx7_realize()
255 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt[i]), 0, in fsl_imx7_realize()
295 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpio[i]), 0, in fsl_imx7_realize()
298 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio[i]), 0, in fsl_imx7_realize()
302 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio[i]), 1, in fsl_imx7_realize()
318 sysbus_realize(SYS_BUS_DEVICE(&s->ccm), &error_abort); in fsl_imx7_realize()
353 sysbus_mmio_map(SYS_BUS_DEVICE(&s->spi[i]), 0, in fsl_imx7_realize()
355 sysbus_connect_irq(SYS_BUS_DEVICE(&s->spi[i]), 0, in fsl_imx7_realize()
381 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c[i]), 0, in fsl_imx7_realize()
481 sysbus_mmio_map(SYS_BUS_DEVICE(&s->usdhc[i]), 0, in fsl_imx7_realize()
[all …]
H A Dfsl-imx31.c72 if (!sysbus_realize(SYS_BUS_DEVICE(&s->avic), errp)) { in fsl_imx31_realize()
76 sysbus_connect_irq(SYS_BUS_DEVICE(&s->avic), 0, in fsl_imx31_realize()
78 sysbus_connect_irq(SYS_BUS_DEVICE(&s->avic), 1, in fsl_imx31_realize()
81 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ccm), errp)) { in fsl_imx31_realize()
103 sysbus_connect_irq(SYS_BUS_DEVICE(&s->uart[i]), 0, in fsl_imx31_realize()
110 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpt), errp)) { in fsl_imx31_realize()
115 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt), 0, in fsl_imx31_realize()
135 sysbus_connect_irq(SYS_BUS_DEVICE(&s->epit[i]), 0, in fsl_imx31_realize()
158 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c[i]), 0, in fsl_imx31_realize()
181 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio[i]), 0, in fsl_imx31_realize()
[all …]
H A Dfsl-imx6ul.c182 sbd = SYS_BUS_DEVICE(&s->a7mpcore); in fsl_imx6ul_realize()
243 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpt[i]), 0, in fsl_imx6ul_realize()
246 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt[i]), 0, in fsl_imx6ul_realize()
268 sysbus_mmio_map(SYS_BUS_DEVICE(&s->epit[i]), 0, in fsl_imx6ul_realize()
306 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpio[i]), 0, in fsl_imx6ul_realize()
365 sysbus_mmio_map(SYS_BUS_DEVICE(&s->spi[i]), 0, in fsl_imx6ul_realize()
429 sysbus_mmio_map(SYS_BUS_DEVICE(&s->uart[i]), 0, in fsl_imx6ul_realize()
479 sysbus_mmio_map(SYS_BUS_DEVICE(&s->eth[i]), 0, in fsl_imx6ul_realize()
521 sysbus_mmio_map(SYS_BUS_DEVICE(&s->usb[i]), 0, in fsl_imx6ul_realize()
546 sysbus_mmio_map(SYS_BUS_DEVICE(&s->usdhc[i]), 0, in fsl_imx6ul_realize()
[all …]
H A Dxlnx-zynqmp.c267 sbd = SYS_BUS_DEVICE(&s->bbram); in xlnx_zynqmp_create_bbram()
293 sbd = SYS_BUS_DEVICE(ctrl); in xlnx_zynqmp_create_efuse()
306 sbd = SYS_BUS_DEVICE(&s->apu_ctrl); in xlnx_zynqmp_create_apu_ctrl()
325 sbd = SYS_BUS_DEVICE(&s->crf); in xlnx_zynqmp_create_crf()
340 sbd = SYS_BUS_DEVICE(&s->ttc[i]); in xlnx_zynqmp_create_ttc()
364 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in xlnx_zynqmp_create_unimp_mmio()
548 SysBusDevice *gic = SYS_BUS_DEVICE(&s->gic); in xlnx_zynqmp_realize()
573 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gic), i, in xlnx_zynqmp_realize()
723 if (!sysbus_realize(SYS_BUS_DEVICE(&s->dp), errp)) { in xlnx_zynqmp_realize()
802 sysbus_connect_irq(SYS_BUS_DEVICE(&s->qspi_dma), 0, in xlnx_zynqmp_realize()
[all …]
H A Dbcm2838.c127 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gic), errp)) { in bcm2838_realize()
131 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gic), 0, in bcm2838_realize()
133 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gic), 1, in bcm2838_realize()
135 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gic), 2, in bcm2838_realize()
137 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gic), 3, in bcm2838_realize()
141 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gic), 4 + n, in bcm2838_realize()
152 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gic), n, in bcm2838_realize()
184 sysbus_connect_irq(SYS_BUS_DEVICE(&ps_base->aux), 0, in bcm2838_realize()
203 sysbus_connect_irq(SYS_BUS_DEVICE(&ps_base->mphi), 0, in bcm2838_realize()
205 sysbus_connect_irq(SYS_BUS_DEVICE(&ps_base->dwc2), 0, in bcm2838_realize()
[all …]
H A Dnrf51_soc.c88 if (!sysbus_realize(SYS_BUS_DEVICE(&s->cpu), errp)) { in nrf51_soc_realize()
101 if (!sysbus_realize(SYS_BUS_DEVICE(&s->uart), errp)) { in nrf51_soc_realize()
106 sysbus_connect_irq(SYS_BUS_DEVICE(&s->uart), 0, in nrf51_soc_realize()
111 if (!sysbus_realize(SYS_BUS_DEVICE(&s->rng), errp)) { in nrf51_soc_realize()
115 mr = sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->rng), 0); in nrf51_soc_realize()
117 sysbus_connect_irq(SYS_BUS_DEVICE(&s->rng), 0, in nrf51_soc_realize()
127 if (!sysbus_realize(SYS_BUS_DEVICE(&s->nvm), errp)) { in nrf51_soc_realize()
131 mr = sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->nvm), 0); in nrf51_soc_realize()
133 mr = sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->nvm), 1); in nrf51_soc_realize()
141 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpio), errp)) { in nrf51_soc_realize()
[all …]
H A Dnpcm7xx.c551 sysbus_connect_irq(SYS_BUS_DEVICE(&s->adc), 0, in npcm7xx_realize()
558 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->tim[i]); in npcm7xx_realize()
611 sysbus_connect_irq(SYS_BUS_DEVICE(obj), 0, in npcm7xx_realize()
622 sysbus_connect_irq(SYS_BUS_DEVICE(obj), 0, in npcm7xx_realize()
631 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ehci), 0, in npcm7xx_realize()
639 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ohci), 0, in npcm7xx_realize()
645 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->pwm[i]); in npcm7xx_realize()
657 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->mft[i]); in npcm7xx_realize()
679 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->emc[i]); in npcm7xx_realize()
733 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->fiu[i]); in npcm7xx_realize()
[all …]
H A Daspeed_ast27x0.c401 gicbusdev = SYS_BUS_DEVICE(&a->gic); in aspeed_soc_ast2700_gic_realize()
495 aspeed_mmio_map(s, SYS_BUS_DEVICE(&a->intc), 0, in aspeed_soc_ast2700_realize()
502 sysbus_connect_irq(SYS_BUS_DEVICE(&a->intc), i, in aspeed_soc_ast2700_realize()
526 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->scuio), 0, in aspeed_soc_ast2700_realize()
544 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->fmc), 1, in aspeed_soc_ast2700_realize()
546 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fmc), 0, in aspeed_soc_ast2700_realize()
580 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sdmc), 0, in aspeed_soc_ast2700_realize()
634 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sliio), 0, in aspeed_soc_ast2700_realize()
642 sysbus_connect_irq(SYS_BUS_DEVICE(&s->adc), 0, in aspeed_soc_ast2700_realize()
668 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->gpio), 0, in aspeed_soc_ast2700_realize()
[all …]
H A Dbcm2838_peripherals.c33 sysbus_init_mmio(SYS_BUS_DEVICE(s), &s->peri_low_mr); in bcm2838_peripherals_init()
89 if (!sysbus_realize(SYS_BUS_DEVICE(&s->emmc2), errp)) { in bcm2838_peripherals_realize()
103 sysbus_connect_irq(SYS_BUS_DEVICE(&s->emmc2), 0, in bcm2838_peripherals_realize()
106 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->sdhci), 0, in bcm2838_peripherals_realize()
117 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), n, in bcm2838_peripherals_realize()
130 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), 7, in bcm2838_peripherals_realize()
132 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), 8, in bcm2838_peripherals_realize()
147 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), 9, in bcm2838_peripherals_realize()
149 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), 10, in bcm2838_peripherals_realize()
170 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), 15, in bcm2838_peripherals_realize()
[all …]
H A Dhighbank.c135 SysBusDevice *dev = SYS_BUS_DEVICE(obj); in highbank_regs_init()
252 busdev = SYS_BUS_DEVICE(dev); in calxeda_init()
264 busdev = SYS_BUS_DEVICE(dev); in calxeda_init()
281 busdev = SYS_BUS_DEVICE(dev); in calxeda_init()
288 busdev = SYS_BUS_DEVICE(dev); in calxeda_init()
304 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, 0xfff50000); in calxeda_init()
305 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, pic[77]); in calxeda_init()
306 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 1, pic[78]); in calxeda_init()
307 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 2, pic[79]); in calxeda_init()
313 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, 0xfff51000); in calxeda_init()
[all …]
H A Dmps3r.c277 sysbus_realize(SYS_BUS_DEVICE(&mms->gic), &error_fatal); in create_gic()
287 SysBusDevice *gicsbd = SYS_BUS_DEVICE(&mms->gic); in create_gic()
343 sbd = SYS_BUS_DEVICE(&mms->uart[uartno]); in create_uart()
467 sysbus_connect_irq(SYS_BUS_DEVICE(&mms->watchdog), 0, in mps3r_common_init()
475 sysbus_connect_irq(SYS_BUS_DEVICE(&mms->dualtimer), 0, in mps3r_common_init()
477 sysbus_connect_irq(SYS_BUS_DEVICE(&mms->dualtimer), 1, in mps3r_common_init()
479 sysbus_connect_irq(SYS_BUS_DEVICE(&mms->dualtimer), 2, in mps3r_common_init()
511 sysbus_connect_irq(SYS_BUS_DEVICE(&mms->spi[i]), 0, in mps3r_common_init()
525 sysbus_realize(SYS_BUS_DEVICE(&mms->scc), &error_fatal); in mps3r_common_init()
542 sysbus_realize(SYS_BUS_DEVICE(&mms->rtc), &error_fatal); in mps3r_common_init()
[all …]
H A Dstm32f405_soc.c159 if (!sysbus_realize(SYS_BUS_DEVICE(&s->armv7m), errp)) { in stm32f405_soc_realize()
165 if (!sysbus_realize(SYS_BUS_DEVICE(&s->syscfg), errp)) { in stm32f405_soc_realize()
168 busdev = SYS_BUS_DEVICE(dev); in stm32f405_soc_realize()
179 busdev = SYS_BUS_DEVICE(dev); in stm32f405_soc_realize()
191 busdev = SYS_BUS_DEVICE(dev); in stm32f405_soc_realize()
212 if (!sysbus_realize(SYS_BUS_DEVICE(&s->adc[i]), errp)) { in stm32f405_soc_realize()
215 busdev = SYS_BUS_DEVICE(dev); in stm32f405_soc_realize()
224 if (!sysbus_realize(SYS_BUS_DEVICE(&s->spi[i]), errp)) { in stm32f405_soc_realize()
227 busdev = SYS_BUS_DEVICE(dev); in stm32f405_soc_realize()
234 if (!sysbus_realize(SYS_BUS_DEVICE(&s->exti), errp)) { in stm32f405_soc_realize()
[all …]
/openbmc/qemu/hw/microblaze/
H A Dpetalogix_s3adsp1800_mmu.c95 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); in petalogix_s3adsp1800_init()
96 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, INTC_BASEADDR); in petalogix_s3adsp1800_init()
97 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, in petalogix_s3adsp1800_init()
105 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); in petalogix_s3adsp1800_init()
106 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, UARTLITE_BASEADDR); in petalogix_s3adsp1800_init()
113 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); in petalogix_s3adsp1800_init()
114 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, TIMER_BASEADDR); in petalogix_s3adsp1800_init()
115 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, irq[TIMER_IRQ]); in petalogix_s3adsp1800_init()
121 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); in petalogix_s3adsp1800_init()
122 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, ETHLITE_BASEADDR); in petalogix_s3adsp1800_init()
[all …]
H A Dpetalogix_ml605_mmu.c115 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); in petalogix_ml605_init()
116 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, INTC_BASEADDR); in petalogix_ml605_init()
117 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, in petalogix_ml605_init()
131 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); in petalogix_ml605_init()
132 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, TIMER_BASEADDR); in petalogix_ml605_init()
133 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, irq[TIMER_IRQ]); in petalogix_ml605_init()
154 sysbus_realize_and_unref(SYS_BUS_DEVICE(eth0), &error_fatal); in petalogix_ml605_init()
155 sysbus_mmio_map(SYS_BUS_DEVICE(eth0), 0, AXIENET_BASEADDR); in petalogix_ml605_init()
167 sysbus_realize_and_unref(SYS_BUS_DEVICE(dma), &error_fatal); in petalogix_ml605_init()
168 sysbus_mmio_map(SYS_BUS_DEVICE(dma), 0, AXIDMA_BASEADDR); in petalogix_ml605_init()
[all …]
/openbmc/qemu/hw/cpu/
H A Da9mpcore.c34 sysbus_init_mmio(SYS_BUS_DEVICE(obj), &s->container); in a9mp_priv_initfn()
49 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); 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()
88 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gic), errp)) { in a9mp_priv_realize()
91 gicbusdev = SYS_BUS_DEVICE(&s->gic); in a9mp_priv_realize()
101 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gtimer), errp)) { in a9mp_priv_realize()
104 gtimerbusdev = SYS_BUS_DEVICE(&s->gtimer); in a9mp_priv_realize()
111 mptimerbusdev = SYS_BUS_DEVICE(&s->mptimer); in a9mp_priv_realize()
115 if (!sysbus_realize(SYS_BUS_DEVICE(&s->wdt), errp)) { in a9mp_priv_realize()
[all …]
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()
81 if (!sysbus_realize(SYS_BUS_DEVICE(&s->scu), errp)) { in mpcore_priv_realize()
91 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gic), errp)) { in mpcore_priv_realize()
96 sysbus_pass_irq(sbd, SYS_BUS_DEVICE(&s->gic)); in mpcore_priv_realize()
102 if (!sysbus_realize(SYS_BUS_DEVICE(&s->mptimer), errp)) { in mpcore_priv_realize()
107 if (!sysbus_realize(SYS_BUS_DEVICE(&s->wdtimer), errp)) { in mpcore_priv_realize()
[all …]

12345678910>>...22