Searched refs:qdev (Results 1 – 12 of 12) sorted by relevance
/external/qemu/hw/ |
D | sysbus.c | 103 SysBusDeviceInfo *info = container_of(base, SysBusDeviceInfo, qdev); in sysbus_device_init() 110 info->qdev.init = sysbus_device_init; in sysbus_register_withprop() 111 info->qdev.bus_type = BUS_TYPE_SYSTEM; in sysbus_register_withprop() 113 assert(info->qdev.size >= sizeof(SysBusDevice)); in sysbus_register_withprop() 114 qdev_register(&info->qdev); in sysbus_register_withprop() 122 info->qdev.name = qemu_strdup(name); in sysbus_register_dev() 123 info->qdev.size = size; in sysbus_register_dev()
|
D | qdev.c | 158 DeviceState *qdev; in qdev_device_add() 201 qdev = qdev_create_from_info(bus, info); in qdev_device_add() 204 qdev->id = id; in qdev_device_add() 206 if (qemu_opt_foreach(opts, set_property, qdev, 1) != 0) { in qdev_device_add() 207 qdev_free(qdev); in qdev_device_add() 210 if (qdev_init(qdev) < 0) { in qdev_device_add() 214 qdev->opts = opts; in qdev_device_add() 215 return qdev; in qdev_device_add()
|
D | pci.c | 321 qdev_free(&pci_dev->qdev); in pci_unregister_device() 903 DeviceInfo qdev; member 907 static void pci_qdev_init(DeviceState *qdev, DeviceInfo *base) in pci_qdev_init() argument 909 PCIDevice *pci_dev = (PCIDevice *)qdev; in pci_qdev_init() 910 PCIDeviceInfo *info = container_of(base, PCIDeviceInfo, qdev); in pci_qdev_init() 914 bus = FROM_QBUS(PCIBus, qdev_get_parent_bus(qdev)); in pci_qdev_init() 915 devfn = qdev_get_prop_int(qdev, "devfn", -1); in pci_qdev_init() 927 info->qdev.name = qemu_strdup(name); in pci_qdev_register() 928 info->qdev.size = size; in pci_qdev_register() 930 info->qdev.init = pci_qdev_init; in pci_qdev_register() [all …]
|
D | sysbus.h | 15 DeviceState qdev; member 35 DeviceInfo qdev; member
|
D | armv7m.c | 130 s->base = qdev_get_prop_int(&dev->qdev, "base", 0); in bitband_init()
|
D | pci.h | 141 DeviceState qdev; member
|
D | smc91c111.c | 788 qdev_get_macaddr(&dev->qdev, s->macaddr); in smc91c111_init1() 792 s->vc = qdev_get_vlan_client(&dev->qdev, in smc91c111_init1()
|
D | ne2000.c | 824 qdev_get_macaddr(&d->dev.qdev, s->macaddr); in pci_ne2000_init() 826 s->vc = qdev_get_vlan_client(&d->dev.qdev, in pci_ne2000_init()
|
D | arm_gic.c | 724 qdev_init_gpio_in(&s->busdev.qdev, gic_set_irq, GIC_NIRQ - 32); in gic_init()
|
/external/qemu/ |
D | block.h | 74 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev); 75 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev);
|
D | Changelog | 13 - qdev: improve property error reporting. (Gerd Hoffmann) 16 - usb-net: use qdev for -usbdevice (Gerd Hoffmann) 47 - qdev: also match bus name for global properties (Gerd Hoffmann) 48 - qdev: add command line option to set global defaults for properties. (Gerd Hoffmann) 50 - qdev: Replace device names containing whitespace (Markus Armbruster)
|
D | block.c | 705 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev) in bdrv_attach() argument 710 bs->peer = qdev; in bdrv_attach() 714 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev) in bdrv_detach() argument 716 assert(bs->peer == qdev); in bdrv_detach()
|