/external/qemu/hw/ |
sysbus.c | 103 SysBusDeviceInfo *info = container_of(base, SysBusDeviceInfo, qdev); 110 info->qdev.init = sysbus_device_init; 111 info->qdev.bus_type = BUS_TYPE_SYSTEM; 113 assert(info->qdev.size >= sizeof(SysBusDevice)); 114 qdev_register(&info->qdev); 122 info->qdev.name = qemu_strdup(name); 123 info->qdev.size = size;
|
sysbus.h | 6 #include "qdev.h" 15 DeviceState qdev; member in struct:SysBusDevice 35 DeviceInfo qdev; member in struct:__anon25469
|
qdev.c | 30 #include "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...] |
pci.c | 321 qdev_free(&pci_dev->qdev); 903 DeviceInfo qdev; member in struct:__anon25452 907 static void pci_qdev_init(DeviceState *qdev, DeviceInfo *base) 909 PCIDevice *pci_dev = (PCIDevice *)qdev; 910 PCIDeviceInfo *info = container_of(base, PCIDeviceInfo, qdev); 914 bus = FROM_QBUS(PCIBus, qdev_get_parent_bus(qdev)); 915 devfn = qdev_get_prop_int(qdev, "devfn", -1); 927 info->qdev.name = qemu_strdup(name); 928 info->qdev.size = size; 930 info->qdev.init = pci_qdev_init [all...] |
armv7m.c | 130 s->base = qdev_get_prop_int(&dev->qdev, "base", 0);
|
pci.h | 6 #include "qdev.h" 141 DeviceState qdev; member in struct:PCIDevice
|
smc91c111.c | 788 qdev_get_macaddr(&dev->qdev, s->macaddr); 792 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,
|
arm_gic.c | 724 qdev_init_gpio_in(&s->busdev.qdev, gic_set_irq, GIC_NIRQ - 32);
|
/external/qemu/ |
block.h | 74 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev); 75 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev);
|
block.c | 705 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev) 710 bs->peer = qdev; 714 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev) 716 assert(bs->peer == qdev); [all...] |