Lines Matching full:dc
48 DeviceClass *dc = DEVICE_GET_CLASS(dev); in qdev_get_vmsd() local
49 return dc->vmsd; in qdev_get_vmsd()
111 DeviceClass *dc = DEVICE_GET_CLASS(dev); in qdev_set_parent_bus() local
113 assert(dc->bus_type && object_dynamic_cast(OBJECT(bus), dc->bus_type)); in qdev_set_parent_bus()
296 DeviceClass *dc; in qdev_assert_realized_properly_cb() local
299 dc = DEVICE_GET_CLASS(dev); in qdev_assert_realized_properly_cb()
301 assert(dev->parent_bus || !dc->bus_type); in qdev_assert_realized_properly_cb()
442 DeviceClass *dc = DEVICE_GET_CLASS(obj); in check_only_migratable() local
444 if (!vmstate_check_only_migratable(dc->vmsd)) { in check_only_migratable()
457 DeviceClass *dc = DEVICE_GET_CLASS(dev); in device_set_realized() local
465 if (dev->hotplugged && !dc->hotpluggable) { in device_set_realized()
493 if (dc->realize) { in device_set_realized()
494 dc->realize(dev, &local_err); in device_set_realized()
582 if (dc->unrealize) { in device_set_realized()
583 dc->unrealize(dev); in device_set_realized()
604 if (dc->unrealize) { in device_set_realized()
605 dc->unrealize(dev); in device_set_realized()
622 DeviceClass *dc = DEVICE_GET_CLASS(obj); in device_get_hotpluggable() local
625 return dc->hotpluggable && (dev->parent_bus == NULL || in device_get_hotpluggable()
736 DeviceClass *dc = DEVICE_CLASS(class); in device_class_init() local
748 dc->hotpluggable = true; in device_class_init()
749 dc->user_creatable = true; in device_class_init()
760 dc->legacy_reset = NULL; in device_class_init()
774 DeviceClass *dc = DEVICE_GET_CLASS(obj); in do_legacy_reset() local
776 dc->legacy_reset(DEVICE(obj)); in do_legacy_reset()
779 void device_class_set_legacy_reset(DeviceClass *dc, DeviceReset dev_reset) in device_class_set_legacy_reset() argument
790 ResettableClass *rc = RESETTABLE_CLASS(dc); in device_class_set_legacy_reset()
795 dc->legacy_reset = dev_reset; in device_class_set_legacy_reset()
798 void device_class_set_parent_realize(DeviceClass *dc, in device_class_set_parent_realize() argument
802 *parent_realize = dc->realize; in device_class_set_parent_realize()
803 dc->realize = dev_realize; in device_class_set_parent_realize()
806 void device_class_set_parent_unrealize(DeviceClass *dc, in device_class_set_parent_unrealize() argument
810 *parent_unrealize = dc->unrealize; in device_class_set_parent_unrealize()
811 dc->unrealize = dev_unrealize; in device_class_set_parent_unrealize()