Lines Matching refs:SYS_BUS_DEVICE
43 sysbus_realize(SYS_BUS_DEVICE(uds), &error_fatal); in create_unimp()
45 sysbus_mmio_get_region(SYS_BUS_DEVICE(uds), 0), -1000); in create_unimp()
81 sysbus_init_mmio(SYS_BUS_DEVICE(s), &s->peri_mr); in raspi_peripherals_base_init()
194 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->sdhci), 0, in bcm2835_peripherals_realize()
200 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), n, in bcm2835_peripherals_realize()
210 sysbus_connect_irq(SYS_BUS_DEVICE(&s_base->dma), in bcm2835_peripherals_realize()
220 if (!sysbus_realize(SYS_BUS_DEVICE(&s->rng), errp)) { in bcm2835_peripherals_realize()
225 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->rng), 0)); in bcm2835_peripherals_realize()
228 if (!sysbus_realize(SYS_BUS_DEVICE(&s->thermal), errp)) { in bcm2835_peripherals_realize()
232 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->thermal), 0)); in bcm2835_peripherals_realize()
235 mphi_mr = sysbus_mmio_get_region(SYS_BUS_DEVICE(&s_base->mphi), 0); in bcm2835_peripherals_realize()
239 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpio), errp)) { in bcm2835_peripherals_realize()
244 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->gpio), 0)); in bcm2835_peripherals_realize()
280 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ic), errp)) { in bcm_soc_peripherals_common_realize()
285 if (!sysbus_realize(SYS_BUS_DEVICE(&s->cprman), errp)) { in bcm_soc_peripherals_common_realize()
289 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->cprman), 0)); in bcm_soc_peripherals_common_realize()
294 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->ic), 0)); in bcm_soc_peripherals_common_realize()
295 sysbus_pass_irq(SYS_BUS_DEVICE(s), SYS_BUS_DEVICE(&s->ic)); in bcm_soc_peripherals_common_realize()
298 if (!sysbus_realize(SYS_BUS_DEVICE(&s->systmr), errp)) { in bcm_soc_peripherals_common_realize()
302 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->systmr), 0)); 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()
312 sysbus_connect_irq(SYS_BUS_DEVICE(&s->systmr), 3, in bcm_soc_peripherals_common_realize()
318 if (!sysbus_realize(SYS_BUS_DEVICE(&s->uart0), errp)) { in bcm_soc_peripherals_common_realize()
323 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->uart0), 0)); in bcm_soc_peripherals_common_realize()
324 sysbus_connect_irq(SYS_BUS_DEVICE(&s->uart0), 0, in bcm_soc_peripherals_common_realize()
331 if (!sysbus_realize(SYS_BUS_DEVICE(&s->aux), errp)) { in bcm_soc_peripherals_common_realize()
336 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->aux), 0)); in bcm_soc_peripherals_common_realize()
337 sysbus_connect_irq(SYS_BUS_DEVICE(&s->aux), 0, in bcm_soc_peripherals_common_realize()
342 if (!sysbus_realize(SYS_BUS_DEVICE(&s->mboxes), errp)) { in bcm_soc_peripherals_common_realize()
347 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->mboxes), 0)); in bcm_soc_peripherals_common_realize()
348 sysbus_connect_irq(SYS_BUS_DEVICE(&s->mboxes), 0, in bcm_soc_peripherals_common_realize()
374 if (!sysbus_realize(SYS_BUS_DEVICE(&s->fb), errp)) { in bcm_soc_peripherals_common_realize()
379 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->fb), 0)); in bcm_soc_peripherals_common_realize()
380 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fb), 0, in bcm_soc_peripherals_common_realize()
384 if (!sysbus_realize(SYS_BUS_DEVICE(&s->otp), errp)) { in bcm_soc_peripherals_common_realize()
389 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->otp), 0)); in bcm_soc_peripherals_common_realize()
392 if (!sysbus_realize(SYS_BUS_DEVICE(&s->property), errp)) { in bcm_soc_peripherals_common_realize()
398 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->property), 0)); in bcm_soc_peripherals_common_realize()
399 sysbus_connect_irq(SYS_BUS_DEVICE(&s->property), 0, in bcm_soc_peripherals_common_realize()
418 if (!sysbus_realize(SYS_BUS_DEVICE(&s->sdhci), errp)) { in bcm_soc_peripherals_common_realize()
423 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->sdhci), 0)); in bcm_soc_peripherals_common_realize()
426 if (!sysbus_realize(SYS_BUS_DEVICE(&s->sdhost), errp)) { in bcm_soc_peripherals_common_realize()
431 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->sdhost), 0)); in bcm_soc_peripherals_common_realize()
432 sysbus_connect_irq(SYS_BUS_DEVICE(&s->sdhost), 0, in bcm_soc_peripherals_common_realize()
437 if (!sysbus_realize(SYS_BUS_DEVICE(&s->dma), errp)) { in bcm_soc_peripherals_common_realize()
442 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->dma), 0)); in bcm_soc_peripherals_common_realize()
444 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->dma), 1)); in bcm_soc_peripherals_common_realize()
447 if (!sysbus_realize(SYS_BUS_DEVICE(&s->mphi), errp)) { in bcm_soc_peripherals_common_realize()
451 sysbus_connect_irq(SYS_BUS_DEVICE(&s->mphi), 0, in bcm_soc_peripherals_common_realize()
456 if (!sysbus_realize(SYS_BUS_DEVICE(&s->dwc2), errp)) { in bcm_soc_peripherals_common_realize()
461 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->dwc2), 0)); in bcm_soc_peripherals_common_realize()
462 sysbus_connect_irq(SYS_BUS_DEVICE(&s->dwc2), 0, in bcm_soc_peripherals_common_realize()
467 if (!sysbus_realize(SYS_BUS_DEVICE(&s->powermgt), errp)) { in bcm_soc_peripherals_common_realize()
472 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->powermgt), 0)); in bcm_soc_peripherals_common_realize()
475 if (!sysbus_realize(SYS_BUS_DEVICE(&s->spi[0]), errp)) { in bcm_soc_peripherals_common_realize()
480 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->spi[0]), 0)); in bcm_soc_peripherals_common_realize()
481 sysbus_connect_irq(SYS_BUS_DEVICE(&s->spi[0]), 0, in bcm_soc_peripherals_common_realize()
488 if (!sysbus_realize(SYS_BUS_DEVICE(&s->i2c[n]), errp)) { in bcm_soc_peripherals_common_realize()
494 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->i2c[0]), 0)); in bcm_soc_peripherals_common_realize()
496 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->i2c[1]), 0)); in bcm_soc_peripherals_common_realize()
498 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->i2c[2]), 0)); in bcm_soc_peripherals_common_realize()
504 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c[n]), 0, in bcm_soc_peripherals_common_realize()