Lines Matching refs:hpet
1139 DeviceState *hpet = NULL; in pc_basic_device_init() local
1159 hpet = qdev_try_new(TYPE_HPET); in pc_basic_device_init()
1160 if (!hpet) { in pc_basic_device_init()
1169 uint8_t compat = object_property_get_uint(OBJECT(hpet), in pc_basic_device_init()
1172 qdev_prop_set_uint32(hpet, HPET_INTCAP, hpet_irqs); in pc_basic_device_init()
1174 sysbus_realize_and_unref(SYS_BUS_DEVICE(hpet), &error_fatal); in pc_basic_device_init()
1175 sysbus_mmio_map(SYS_BUS_DEVICE(hpet), 0, HPET_BASE); in pc_basic_device_init()
1178 sysbus_connect_irq(SYS_BUS_DEVICE(hpet), i, gsi[i]); in pc_basic_device_init()
1181 pit_alt_irq = qdev_get_gpio_in(hpet, HPET_LEGACY_PIT_INT); in pc_basic_device_init()
1182 rtc_irq = qdev_get_gpio_in(hpet, HPET_LEGACY_RTC_INT); in pc_basic_device_init()
1215 if (hpet) { in pc_basic_device_init()
1217 qdev_connect_gpio_out(hpet, 0, qdev_get_gpio_in(DEVICE(pit), 0)); in pc_basic_device_init()