• Home
  • Raw
  • Download

Lines Matching refs:DeviceState

60     assert(info->size >= sizeof(DeviceState));  in qdev_register()
71 DeviceState *qdev_create(BusState *bus, const char *name) in qdev_create()
74 DeviceState *dev; in qdev_create()
151 DeviceState *qdev_device_add(QemuOpts *opts) in qdev_device_add()
158 DeviceState *qdev; in qdev_device_add()
222 void qdev_init(DeviceState *dev) in qdev_init()
228 void qdev_free(DeviceState *dev) in qdev_free()
234 static DeviceProperty *create_prop(DeviceState *dev, const char *name, in create_prop()
249 void qdev_set_prop_int(DeviceState *dev, const char *name, uint64_t value) in qdev_set_prop_int()
257 void qdev_set_prop_dev(DeviceState *dev, const char *name, DeviceState *value) in qdev_set_prop_dev()
265 void qdev_set_prop_ptr(DeviceState *dev, const char *name, void *value) in qdev_set_prop_ptr()
273 void qdev_set_netdev(DeviceState *dev, NICInfo *nd) in qdev_set_netdev()
281 CharDriverState *qdev_init_chardev(DeviceState *dev) in qdev_init_chardev()
293 BusState *qdev_get_parent_bus(DeviceState *dev) in qdev_get_parent_bus()
298 static DeviceProperty *find_prop(DeviceState *dev, const char *name, in find_prop()
312 uint64_t qdev_get_prop_int(DeviceState *dev, const char *name, uint64_t def) in qdev_get_prop_int()
324 void *qdev_get_prop_ptr(DeviceState *dev, const char *name) in qdev_get_prop_ptr()
333 DeviceState *qdev_get_prop_dev(DeviceState *dev, const char *name) in qdev_get_prop_dev()
344 void qdev_init_gpio_in(DeviceState *dev, qemu_irq_handler handler, int n) in qdev_init_gpio_in()
351 void qdev_init_gpio_out(DeviceState *dev, qemu_irq *pins, int n) in qdev_init_gpio_out()
358 qemu_irq qdev_get_gpio_in(DeviceState *dev, int n) in qdev_get_gpio_in()
364 void qdev_connect_gpio_out(DeviceState * dev, int n, qemu_irq pin) in qdev_connect_gpio_out()
370 VLANClientState *qdev_get_vlan_client(DeviceState *dev, in qdev_get_vlan_client()
384 void qdev_get_macaddr(DeviceState *dev, uint8_t *macaddr) in qdev_get_macaddr()
394 BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type) in qdev_init_bdrv()
406 BusState *qdev_get_child_bus(DeviceState *dev, const char *name) in qdev_get_child_bus()
422 void scsi_bus_new(DeviceState *host, SCSIAttachFn attach) in scsi_bus_new()
438 DeviceState *parent, const char *name) in qbus_create()
464 static void qdev_print(Monitor *mon, DeviceState *dev, int indent) in qdev_print()
487 ((DeviceState *)prop->value.ptr)->type->info->name); in qdev_print()
508 struct DeviceState *dev; in qbus_print()
525 char *qdev_get_dev_path(DeviceState *dev) in qdev_get_dev_path()