Searched refs:ms_kb_orgate (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/sparc/ |
H A D | sun4m.c | 833 DeviceState *dev, *ms_kb_orgate, *serial_orgate; in sun4m_hw_init() local 982 ms_kb_orgate = DEVICE(object_new(TYPE_OR_IRQ)); in sun4m_hw_init() 983 object_property_set_int(OBJECT(ms_kb_orgate), "num-lines", 2, &error_fatal); in sun4m_hw_init() 984 qdev_realize_and_unref(ms_kb_orgate, NULL, &error_fatal); in sun4m_hw_init() 985 sysbus_connect_irq(s, 0, qdev_get_gpio_in(ms_kb_orgate, 0)); in sun4m_hw_init() 986 sysbus_connect_irq(s, 1, qdev_get_gpio_in(ms_kb_orgate, 1)); in sun4m_hw_init() 987 qdev_connect_gpio_out(ms_kb_orgate, 0, slavio_irq[14]); in sun4m_hw_init()
|