Searched refs:qdev (Results 1 – 13 of 13) sorted by relevance
/external/qemu/hw/core/ |
D | sysbus.c | 104 SysBusDeviceInfo *info = container_of(base, SysBusDeviceInfo, qdev); in sysbus_device_init() 111 info->qdev.init = sysbus_device_init; in sysbus_register_withprop() 112 info->qdev.bus_type = BUS_TYPE_SYSTEM; in sysbus_register_withprop() 114 assert(info->qdev.size >= sizeof(SysBusDevice)); in sysbus_register_withprop() 115 qdev_register(&info->qdev); in sysbus_register_withprop() 123 info->qdev.name = g_strdup(name); in sysbus_register_dev() 124 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()
|
/external/qemu/hw/pci/ |
D | pci.c | 322 qdev_free(&pci_dev->qdev); in pci_unregister_device() 910 DeviceInfo qdev; member 914 static void pci_qdev_init(DeviceState *qdev, DeviceInfo *base) in pci_qdev_init() argument 916 PCIDevice *pci_dev = (PCIDevice *)qdev; in pci_qdev_init() 917 PCIDeviceInfo *info = container_of(base, PCIDeviceInfo, qdev); in pci_qdev_init() 921 bus = FROM_QBUS(PCIBus, qdev_get_parent_bus(qdev)); in pci_qdev_init() 922 devfn = qdev_get_prop_int(qdev, "devfn", -1); in pci_qdev_init() 934 info->qdev.name = g_strdup(name); in pci_qdev_register() 935 info->qdev.size = size; in pci_qdev_register() 937 info->qdev.init = pci_qdev_init; in pci_qdev_register() [all …]
|
/external/qemu/include/hw/ |
D | sysbus.h | 16 DeviceState qdev; member 36 DeviceInfo qdev; member
|
/external/qemu/include/block/ |
D | block.h | 74 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev); 75 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev);
|
/external/qemu/hw/arm/ |
D | armv7m.c | 130 s->base = qdev_get_prop_int(&dev->qdev, "base", 0); in bitband_init()
|
D | arm_gic.c | 724 qdev_init_gpio_in(&s->busdev.qdev, gic_set_irq, GIC_NIRQ - 32); in gic_init()
|
/external/qemu/include/hw/pci/ |
D | pci.h | 141 DeviceState qdev; member
|
/external/qemu/hw/net/ |
D | smc91c111.c | 785 qdev_get_macaddr(&dev->qdev, s->macaddr); in smc91c111_init1() 789 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()
|
/external/qemu/ |
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 | 707 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev) in bdrv_attach() argument 712 bs->peer = qdev; in bdrv_attach() 716 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev) in bdrv_detach() argument 718 assert(bs->peer == qdev); in bdrv_detach()
|
D | qapi-schema.json | 2141 # legacy qdev typename. These types are always treated as strings. 2143 # 3) A child type in the form 'child<subtype>' where subtype is a qdev 2146 # 4) A link type in the form 'link<subtype>' where subtype is a qdev
|