Lines Matching refs:SYS_BUS_DEVICE

150     if (!sysbus_realize(SYS_BUS_DEVICE(&s->a9mpcore), errp)) {  in fsl_imx6_realize()
153 sysbus_mmio_map(SYS_BUS_DEVICE(&s->a9mpcore), 0, FSL_IMX6_A9MPCORE_ADDR); in fsl_imx6_realize()
156 sysbus_connect_irq(SYS_BUS_DEVICE(&s->a9mpcore), i, in fsl_imx6_realize()
158 sysbus_connect_irq(SYS_BUS_DEVICE(&s->a9mpcore), i + smp_cpus, in fsl_imx6_realize()
165 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ccm), errp)) { in fsl_imx6_realize()
168 sysbus_mmio_map(SYS_BUS_DEVICE(&s->ccm), 0, FSL_IMX6_CCM_ADDR); in fsl_imx6_realize()
170 if (!sysbus_realize(SYS_BUS_DEVICE(&s->src), errp)) { in fsl_imx6_realize()
173 sysbus_mmio_map(SYS_BUS_DEVICE(&s->src), 0, FSL_IMX6_SRC_ADDR); in fsl_imx6_realize()
190 if (!sysbus_realize(SYS_BUS_DEVICE(&s->uart[i]), errp)) { in fsl_imx6_realize()
194 sysbus_mmio_map(SYS_BUS_DEVICE(&s->uart[i]), 0, serial_table[i].addr); 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()
206 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpt), 0, FSL_IMX6_GPT_ADDR); in fsl_imx6_realize()
207 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt), 0, in fsl_imx6_realize()
223 if (!sysbus_realize(SYS_BUS_DEVICE(&s->epit[i]), errp)) { in fsl_imx6_realize()
227 sysbus_mmio_map(SYS_BUS_DEVICE(&s->epit[i]), 0, epit_table[i].addr); in fsl_imx6_realize()
228 sysbus_connect_irq(SYS_BUS_DEVICE(&s->epit[i]), 0, in fsl_imx6_realize()
244 if (!sysbus_realize(SYS_BUS_DEVICE(&s->i2c[i]), errp)) { in fsl_imx6_realize()
248 sysbus_mmio_map(SYS_BUS_DEVICE(&s->i2c[i]), 0, i2c_table[i].addr); in fsl_imx6_realize()
249 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c[i]), 0, in fsl_imx6_realize()
302 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpio[i]), errp)) { in fsl_imx6_realize()
306 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpio[i]), 0, gpio_table[i].addr); in fsl_imx6_realize()
307 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio[i]), 0, in fsl_imx6_realize()
310 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio[i]), 1, in fsl_imx6_realize()
334 if (!sysbus_realize(SYS_BUS_DEVICE(&s->esdhc[i]), errp)) { in fsl_imx6_realize()
337 sysbus_mmio_map(SYS_BUS_DEVICE(&s->esdhc[i]), 0, esdhc_table[i].addr); in fsl_imx6_realize()
338 sysbus_connect_irq(SYS_BUS_DEVICE(&s->esdhc[i]), 0, in fsl_imx6_realize()
345 sysbus_realize(SYS_BUS_DEVICE(&s->usbphy[i]), &error_abort); in fsl_imx6_realize()
346 sysbus_mmio_map(SYS_BUS_DEVICE(&s->usbphy[i]), 0, in fsl_imx6_realize()
357 sysbus_realize(SYS_BUS_DEVICE(&s->usb[i]), &error_abort); 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()
379 if (!sysbus_realize(SYS_BUS_DEVICE(&s->spi[i]), errp)) { in fsl_imx6_realize()
383 sysbus_mmio_map(SYS_BUS_DEVICE(&s->spi[i]), 0, spi_table[i].addr); in fsl_imx6_realize()
384 sysbus_connect_irq(SYS_BUS_DEVICE(&s->spi[i]), 0, in fsl_imx6_realize()
392 if (!sysbus_realize(SYS_BUS_DEVICE(&s->eth), errp)) { in fsl_imx6_realize()
395 sysbus_mmio_map(SYS_BUS_DEVICE(&s->eth), 0, FSL_IMX6_ENET_ADDR); in fsl_imx6_realize()
396 sysbus_connect_irq(SYS_BUS_DEVICE(&s->eth), 0, in fsl_imx6_realize()
399 sysbus_connect_irq(SYS_BUS_DEVICE(&s->eth), 1, in fsl_imx6_realize()
406 sysbus_realize(SYS_BUS_DEVICE(&s->snvs), &error_abort); in fsl_imx6_realize()
407 sysbus_mmio_map(SYS_BUS_DEVICE(&s->snvs), 0, FSL_IMX6_SNVSHP_ADDR); in fsl_imx6_realize()
424 sysbus_realize(SYS_BUS_DEVICE(&s->wdt[i]), &error_abort); in fsl_imx6_realize()
426 sysbus_mmio_map(SYS_BUS_DEVICE(&s->wdt[i]), 0, FSL_IMX6_WDOGn_ADDR[i]); in fsl_imx6_realize()
427 sysbus_connect_irq(SYS_BUS_DEVICE(&s->wdt[i]), 0, in fsl_imx6_realize()
435 sysbus_realize(SYS_BUS_DEVICE(&s->pcie), &error_abort); in fsl_imx6_realize()
436 sysbus_mmio_map(SYS_BUS_DEVICE(&s->pcie), 0, FSL_IMX6_PCIe_REG_ADDR); in fsl_imx6_realize()
439 sysbus_connect_irq(SYS_BUS_DEVICE(&s->pcie), 0, irq); in fsl_imx6_realize()
441 sysbus_connect_irq(SYS_BUS_DEVICE(&s->pcie), 1, irq); in fsl_imx6_realize()
443 sysbus_connect_irq(SYS_BUS_DEVICE(&s->pcie), 2, irq); in fsl_imx6_realize()
445 sysbus_connect_irq(SYS_BUS_DEVICE(&s->pcie), 3, irq); in fsl_imx6_realize()