/external/qemu/hw/core/ |
sysbus.c | 104 SysBusDeviceInfo *info = container_of(base, SysBusDeviceInfo, qdev); 111 info->qdev.init = sysbus_device_init; 112 info->qdev.bus_type = BUS_TYPE_SYSTEM; 114 assert(info->qdev.size >= sizeof(SysBusDevice)); 115 qdev_register(&info->qdev); 123 info->qdev.name = g_strdup(name); 124 info->qdev.size = size;
|
qdev.c | 30 #include "hw/qdev.h" 108 #ifdef CONFIG_ANDROID /* Not ready yet, will remove when we properly integrate upstream qdev */ 158 DeviceState *qdev; 201 qdev = qdev_create_from_info(bus, info); 204 qdev->id = id; 206 if (qemu_opt_foreach(opts, set_property, qdev, 1) != 0) { 207 qdev_free(qdev); 210 if (qdev_init(qdev) < 0) { 214 qdev->opts = opts; 215 return qdev; [all...] |
/external/qemu/include/hw/ |
sysbus.h | 7 #include "hw/qdev.h" 16 DeviceState qdev; member in struct:SysBusDevice 36 DeviceInfo qdev; member in struct:__anon34493
|
/external/qemu/hw/pci/ |
pci.c | 322 qdev_free(&pci_dev->qdev); 910 DeviceInfo qdev; member in struct:__anon34281 914 static void pci_qdev_init(DeviceState *qdev, DeviceInfo *base) 916 PCIDevice *pci_dev = (PCIDevice *)qdev; 917 PCIDeviceInfo *info = container_of(base, PCIDeviceInfo, qdev); 921 bus = FROM_QBUS(PCIBus, qdev_get_parent_bus(qdev)); 922 devfn = qdev_get_prop_int(qdev, "devfn", -1); 934 info->qdev.name = g_strdup(name); 935 info->qdev.size = size; 937 info->qdev.init = pci_qdev_init [all...] |
/external/qemu/include/block/ |
block.h | 74 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev); 75 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev);
|
/external/qemu/hw/arm/ |
armv7m.c | 130 s->base = qdev_get_prop_int(&dev->qdev, "base", 0);
|
arm_gic.c | 724 qdev_init_gpio_in(&s->busdev.qdev, gic_set_irq, GIC_NIRQ - 32);
|
/external/qemu/include/hw/pci/ |
pci.h | 6 #include "hw/qdev.h" 141 DeviceState qdev; member in struct:PCIDevice
|
/external/qemu/hw/net/ |
smc91c111.c | 785 qdev_get_macaddr(&dev->qdev, s->macaddr); 789 s->vc = qdev_get_vlan_client(&dev->qdev,
|
ne2000.c | 824 qdev_get_macaddr(&d->dev.qdev, s->macaddr); 826 s->vc = qdev_get_vlan_client(&d->dev.qdev,
|
/external/qemu/ |
block.c | 707 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev) 712 bs->peer = qdev; 716 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev) 718 assert(bs->peer == qdev); [all...] |