Searched refs:gpex_dev (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/loongarch/ |
H A D | virt.c | 707 DeviceState *gpex_dev; in virt_devices_init() local 714 gpex_dev = qdev_new(TYPE_GPEX_HOST); in virt_devices_init() 715 d = SYS_BUS_DEVICE(gpex_dev); in virt_devices_init() 717 pci_bus = PCI_HOST_BRIDGE(gpex_dev)->bus; in virt_devices_init() 723 memory_region_init_alias(ecam_alias, OBJECT(gpex_dev), "pcie-ecam", in virt_devices_init() 731 memory_region_init_alias(mmio_alias, OBJECT(gpex_dev), "pcie-mmio", in virt_devices_init() 739 memory_region_init_alias(pio_alias, OBJECT(gpex_dev), "pcie-io", pio_reg, in virt_devices_init() 747 gpex_set_irq_num(GPEX_HOST(gpex_dev), i, 16 + i); in virt_devices_init()
|