Lines Matching full:intc
22 #include "hw/intc/arm_gicv3.h"
289 return qdev_get_gpio_in(DEVICE(&a->intc[idx].orgates[or_idx]), in aspeed_soc_ast2700_get_irq()
311 return qdev_get_gpio_in(DEVICE(&a->intc[idx].orgates[or_idx]), in aspeed_soc_ast2700_get_irq_index()
488 object_initialize_child(obj, "intc", &a->intc[0], TYPE_ASPEED_2700_INTC); in aspeed_soc_ast2700_init()
489 object_initialize_child(obj, "intcio", &a->intc[1], in aspeed_soc_ast2700_init()
619 AspeedINTCClass *ic = ASPEED_INTC_GET_CLASS(&a->intc[0]); in aspeed_soc_ast2700_realize()
620 AspeedINTCClass *icio = ASPEED_INTC_GET_CLASS(&a->intc[1]); in aspeed_soc_ast2700_realize()
650 /* INTC */ in aspeed_soc_ast2700_realize()
651 if (!sysbus_realize(SYS_BUS_DEVICE(&a->intc[0]), errp)) { in aspeed_soc_ast2700_realize()
655 aspeed_mmio_map(s, SYS_BUS_DEVICE(&a->intc[0]), 0, in aspeed_soc_ast2700_realize()
659 if (!sysbus_realize(SYS_BUS_DEVICE(&a->intc[1]), errp)) { in aspeed_soc_ast2700_realize()
663 aspeed_mmio_map(s, SYS_BUS_DEVICE(&a->intc[1]), 0, in aspeed_soc_ast2700_realize()
666 /* irq sources -> orgates -> INTC */ in aspeed_soc_ast2700_realize()
668 qdev_connect_gpio_out(DEVICE(&a->intc[0].orgates[i]), 0, in aspeed_soc_ast2700_realize()
669 qdev_get_gpio_in(DEVICE(&a->intc[0]), i)); in aspeed_soc_ast2700_realize()
672 /* INTC -> GIC192 - GIC201 */ in aspeed_soc_ast2700_realize()
673 /* INTC -> GIC128 - GIC136 */ in aspeed_soc_ast2700_realize()
675 sysbus_connect_irq(SYS_BUS_DEVICE(&a->intc[0]), i, in aspeed_soc_ast2700_realize()
682 qdev_connect_gpio_out(DEVICE(&a->intc[1].orgates[i]), 0, in aspeed_soc_ast2700_realize()
683 qdev_get_gpio_in(DEVICE(&a->intc[1]), i)); in aspeed_soc_ast2700_realize()
686 /* INTCIO -> INTC */ in aspeed_soc_ast2700_realize()
688 sysbus_connect_irq(SYS_BUS_DEVICE(&a->intc[1]), i, in aspeed_soc_ast2700_realize()
689 qdev_get_gpio_in(DEVICE(&a->intc[0].orgates[0]), i)); in aspeed_soc_ast2700_realize()
858 * The AST2700 I2C controller has one source INTC per bus. in aspeed_soc_ast2700_realize()
863 * GICINT130 of INTC (CPU Die). Then, the output pin is connected to in aspeed_soc_ast2700_realize()
870 * to the INTC (CPU Die) input pin, and its output pin is connected in aspeed_soc_ast2700_realize()