Lines Matching refs:vdc

1322 static void init_channel(VMBus *vmbus, VMBusDevice *dev, VMBusDeviceClass *vdc,  in init_channel()  argument
1328 chan->notify_cb = vdc->chan_notify_cb; in init_channel()
1359 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(dev); in create_channels() local
1362 dev->num_channels = vdc->num_channels ? vdc->num_channels(dev) : 1; in create_channels()
1370 init_channel(vmbus, dev, vdc, &dev->channels[i], i, &err); in create_channels()
1415 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(chan->dev); in open_channel() local
1442 if (vdc->open_channel && vdc->open_channel(chan)) { in open_channel()
1462 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(chan->dev); in close_channel() local
1468 if (vdc->close_channel) { in close_channel()
1469 vdc->close_channel(chan); in close_channel()
1722 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(chan->dev); in send_offer() local
1724 QemuUUID classid = qemu_uuid_bswap(vdc->classid); in send_offer()
1730 .channel_flags = vdc->channel_flags, in send_offer()
1731 .mmio_size_mb = vdc->mmio_size_mb, in send_offer()
2267 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(vdev); in vmbus_dev_realize() local
2275 if (!qemu_uuid_is_null(&vdc->instanceid)) { in vmbus_dev_realize()
2277 if (!qemu_uuid_is_equal(&vdev->instanceid, &vdc->instanceid)) { in vmbus_dev_realize()
2305 if (vdc->vmdev_realize) { in vmbus_dev_realize()
2306 vdc->vmdev_realize(vdev, &err); in vmbus_dev_realize()
2323 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(vdev); in vmbus_dev_reset() local
2333 if (vdc->vmdev_reset) { in vmbus_dev_reset()
2334 vdc->vmdev_reset(vdev); in vmbus_dev_reset()
2341 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(vdev); in vmbus_dev_unrealize() local
2343 if (vdc->vmdev_unrealize) { in vmbus_dev_unrealize()
2344 vdc->vmdev_unrealize(vdev); in vmbus_dev_unrealize()
2368 VMBusDeviceClass *vdc = VMBUS_DEVICE_GET_CLASS(vdev); in vmbus_dev_instance_init() local
2370 if (!qemu_uuid_is_null(&vdc->instanceid)) { in vmbus_dev_instance_init()
2372 vdev->instanceid = vdc->instanceid; in vmbus_dev_instance_init()