Home
last modified time | relevance | path

Searched refs:serial_orgate (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/sparc/
H A Dsun4m.c833 DeviceState *dev, *ms_kb_orgate, *serial_orgate; in sun4m_hw_init() local
1003 serial_orgate = DEVICE(object_new(TYPE_OR_IRQ)); in sun4m_hw_init()
1004 object_property_set_int(OBJECT(serial_orgate), "num-lines", 2, in sun4m_hw_init()
1006 qdev_realize_and_unref(serial_orgate, NULL, &error_fatal); in sun4m_hw_init()
1007 sysbus_connect_irq(s, 0, qdev_get_gpio_in(serial_orgate, 0)); in sun4m_hw_init()
1008 sysbus_connect_irq(s, 1, qdev_get_gpio_in(serial_orgate, 1)); in sun4m_hw_init()
1009 qdev_connect_gpio_out(serial_orgate, 0, slavio_irq[15]); in sun4m_hw_init()