/openbmc/qemu/hw/virtio/ |
H A D | vhost-user-vsock.c | 159 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vuv_class_init() local 163 vdc->realize = vuv_device_realize; in vuv_class_init() 164 vdc->unrealize = vuv_device_unrealize; in vuv_class_init() 165 vdc->get_features = vuv_get_features; in vuv_class_init() 166 vdc->get_config = vuv_get_config; in vuv_class_init() 167 vdc->set_status = vuv_set_status; in vuv_class_init()
|
H A D | vhost-vsock.c | 217 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vhost_vsock_class_init() local 221 vdc->realize = vhost_vsock_device_realize; in vhost_vsock_class_init() 222 vdc->unrealize = vhost_vsock_device_unrealize; in vhost_vsock_class_init() 223 vdc->get_features = vhost_vsock_get_features; in vhost_vsock_class_init() 224 vdc->get_config = vhost_vsock_get_config; in vhost_vsock_class_init() 225 vdc->set_status = vhost_vsock_set_status; in vhost_vsock_class_init()
|
H A D | virtio-bus.c | 49 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_bus_device_plugged() local 65 assert(vdc->get_features != NULL); in virtio_bus_device_plugged() 66 vdev->host_features = vdc->get_features(vdev, vdev->host_features, in virtio_bus_device_plugged() 224 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_bus_start_ioeventfd() local 236 r = vdc->start_ioeventfd(vdev); in virtio_bus_start_ioeventfd() 249 VirtioDeviceClass *vdc; in virtio_bus_stop_ioeventfd() local 258 vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_bus_stop_ioeventfd() 259 vdc->stop_ioeventfd(vdev); in virtio_bus_stop_ioeventfd()
|
H A D | vhost-user-scmi.c | 288 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vu_scmi_class_init() local 293 vdc->realize = vu_scmi_device_realize; in vu_scmi_class_init() 294 vdc->unrealize = vu_scmi_device_unrealize; in vu_scmi_class_init() 295 vdc->get_features = vu_scmi_get_features; in vu_scmi_class_init() 296 vdc->set_status = vu_scmi_set_status; in vu_scmi_class_init() 297 vdc->guest_notifier_mask = vu_scmi_guest_notifier_mask; in vu_scmi_class_init() 298 vdc->guest_notifier_pending = vu_scmi_guest_notifier_pending; in vu_scmi_class_init()
|
H A D | vhost-user-fs.c | 426 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vuf_class_init() local 431 vdc->realize = vuf_device_realize; in vuf_class_init() 432 vdc->unrealize = vuf_device_unrealize; in vuf_class_init() 433 vdc->get_features = vuf_get_features; in vuf_class_init() 434 vdc->get_config = vuf_get_config; in vuf_class_init() 435 vdc->set_status = vuf_set_status; in vuf_class_init() 436 vdc->guest_notifier_mask = vuf_guest_notifier_mask; in vuf_class_init() 437 vdc->guest_notifier_pending = vuf_guest_notifier_pending; in vuf_class_init() 438 vdc->get_vhost = vuf_get_vhost; in vuf_class_init()
|
H A D | vhost-user-base.c | 353 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vub_class_init() local 355 vdc->realize = vub_device_realize; in vub_class_init() 356 vdc->unrealize = vub_device_unrealize; in vub_class_init() 357 vdc->get_features = vub_get_features; in vub_class_init() 358 vdc->get_config = vub_get_config; in vub_class_init() 359 vdc->set_config = vub_set_config; in vub_class_init() 360 vdc->set_status = vub_set_status; in vub_class_init()
|
H A D | virtio-pmem.c | 168 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_pmem_class_init() local 173 vdc->realize = virtio_pmem_realize; in virtio_pmem_class_init() 174 vdc->unrealize = virtio_pmem_unrealize; in virtio_pmem_class_init() 175 vdc->get_config = virtio_pmem_get_config; in virtio_pmem_class_init() 176 vdc->get_features = virtio_pmem_get_features; in virtio_pmem_class_init()
|
H A D | vdpa-dev.c | 360 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vhost_vdpa_device_class_init() local 366 vdc->realize = vhost_vdpa_device_realize; in vhost_vdpa_device_class_init() 367 vdc->unrealize = vhost_vdpa_device_unrealize; in vhost_vdpa_device_class_init() 368 vdc->get_config = vhost_vdpa_device_get_config; in vhost_vdpa_device_class_init() 369 vdc->set_config = vhost_vdpa_device_set_config; in vhost_vdpa_device_class_init() 370 vdc->get_features = vhost_vdpa_device_get_features; in vhost_vdpa_device_class_init() 371 vdc->set_status = vhost_vdpa_device_set_status; in vhost_vdpa_device_class_init()
|
H A D | virtio-rng.c | 267 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_rng_class_init() local 272 vdc->realize = virtio_rng_device_realize; in virtio_rng_class_init() 273 vdc->unrealize = virtio_rng_device_unrealize; in virtio_rng_class_init() 274 vdc->get_features = get_features; in virtio_rng_class_init() 275 vdc->set_status = virtio_rng_set_status; in virtio_rng_class_init()
|
H A D | vhost-vsock-common.c | 297 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vhost_vsock_common_class_init() local 301 vdc->guest_notifier_mask = vhost_vsock_common_guest_notifier_mask; in vhost_vsock_common_class_init() 302 vdc->guest_notifier_pending = vhost_vsock_common_guest_notifier_pending; in vhost_vsock_common_class_init() 303 vdc->get_vhost = vhost_vsock_common_get_vhost; in vhost_vsock_common_class_init()
|
H A D | virtio-mmio.c | 169 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_mmio_read() local 170 return (vdev->host_features & ~vdc->legacy_features) in virtio_mmio_read() 660 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_mmio_set_guest_notifier() local 675 if (vdc->guest_notifier_mask && vdev->use_guest_notifier_mask) { in virtio_mmio_set_guest_notifier() 676 vdc->guest_notifier_mask(vdev, n, !assign); in virtio_mmio_set_guest_notifier() 686 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_mmio_set_config_guest_notifier() local 700 if (vdc->guest_notifier_mask && vdev->use_guest_notifier_mask) { in virtio_mmio_set_config_guest_notifier() 701 vdc->guest_notifier_mask(vdev, VIRTIO_CONFIG_IRQ_IDX, !assign); in virtio_mmio_set_config_guest_notifier()
|
H A D | virtio-balloon.c | 1027 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_balloon_class_init() local 1032 vdc->realize = virtio_balloon_device_realize; in virtio_balloon_class_init() 1033 vdc->unrealize = virtio_balloon_device_unrealize; in virtio_balloon_class_init() 1034 vdc->reset = virtio_balloon_device_reset; in virtio_balloon_class_init() 1035 vdc->get_config = virtio_balloon_get_config; in virtio_balloon_class_init() 1036 vdc->set_config = virtio_balloon_set_config; in virtio_balloon_class_init() 1037 vdc->get_features = virtio_balloon_get_features; in virtio_balloon_class_init() 1038 vdc->set_status = virtio_balloon_set_status; in virtio_balloon_class_init() 1039 vdc->vmsd = &vmstate_virtio_balloon_device; in virtio_balloon_class_init()
|
H A D | virtio-crypto.c | 1259 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_crypto_class_init() local 1264 vdc->realize = virtio_crypto_device_realize; in virtio_crypto_class_init() 1265 vdc->unrealize = virtio_crypto_device_unrealize; in virtio_crypto_class_init() 1266 vdc->get_config = virtio_crypto_get_config; in virtio_crypto_class_init() 1267 vdc->get_features = virtio_crypto_get_features; in virtio_crypto_class_init() 1268 vdc->reset = virtio_crypto_reset; in virtio_crypto_class_init() 1269 vdc->set_status = virtio_crypto_set_status; in virtio_crypto_class_init() 1270 vdc->guest_notifier_mask = virtio_crypto_guest_notifier_mask; in virtio_crypto_class_init() 1271 vdc->guest_notifier_pending = virtio_crypto_guest_notifier_pending; in virtio_crypto_class_init() 1272 vdc->get_vhost = virtio_crypto_get_vhost; in virtio_crypto_class_init()
|
/openbmc/qemu/hw/input/ |
H A D | virtio-input.c | 311 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_input_class_init() local 316 vdc->realize = virtio_input_device_realize; in virtio_input_class_init() 317 vdc->unrealize = virtio_input_device_unrealize; in virtio_input_class_init() 318 vdc->get_config = virtio_input_get_config; in virtio_input_class_init() 319 vdc->set_config = virtio_input_set_config; in virtio_input_class_init() 320 vdc->get_features = virtio_input_get_features; in virtio_input_class_init() 321 vdc->set_status = virtio_input_set_status; in virtio_input_class_init() 322 vdc->reset = virtio_input_reset; in virtio_input_class_init()
|
/openbmc/qemu/hw/scsi/ |
H A D | vhost-scsi.c | 371 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vhost_scsi_class_init() local 377 vdc->realize = vhost_scsi_realize; in vhost_scsi_class_init() 378 vdc->unrealize = vhost_scsi_unrealize; in vhost_scsi_class_init() 379 vdc->get_features = vhost_scsi_common_get_features; in vhost_scsi_class_init() 380 vdc->set_config = vhost_scsi_common_set_config; in vhost_scsi_class_init() 381 vdc->set_status = vhost_scsi_set_status; in vhost_scsi_class_init() 382 vdc->get_vhost = vhost_scsi_get_vhost; in vhost_scsi_class_init()
|
H A D | vhost-user-scsi.c | 393 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vhost_user_scsi_class_init() local 399 vdc->realize = vhost_user_scsi_realize; in vhost_user_scsi_class_init() 400 vdc->unrealize = vhost_user_scsi_unrealize; in vhost_user_scsi_class_init() 401 vdc->get_features = vhost_scsi_common_get_features; in vhost_user_scsi_class_init() 402 vdc->set_config = vhost_scsi_common_set_config; in vhost_user_scsi_class_init() 403 vdc->set_status = vhost_user_scsi_set_status; in vhost_user_scsi_class_init() 405 vdc->reset = vhost_user_scsi_reset; in vhost_user_scsi_class_init() 406 vdc->get_vhost = vhost_user_scsi_get_vhost; in vhost_user_scsi_class_init()
|
/openbmc/qemu/hw/9pfs/ |
H A D | virtio-9p-device.c | 255 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_9p_class_init() local 260 vdc->realize = virtio_9p_device_realize; in virtio_9p_class_init() 261 vdc->unrealize = virtio_9p_device_unrealize; in virtio_9p_class_init() 262 vdc->get_features = virtio_9p_get_features; in virtio_9p_class_init() 263 vdc->get_config = virtio_9p_get_config; in virtio_9p_class_init() 264 vdc->reset = virtio_9p_reset; in virtio_9p_class_init()
|
/openbmc/qemu/hw/block/ |
H A D | vhost-user-blk.c | 578 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vhost_user_blk_class_init() local 583 vdc->realize = vhost_user_blk_device_realize; in vhost_user_blk_class_init() 584 vdc->unrealize = vhost_user_blk_device_unrealize; in vhost_user_blk_class_init() 585 vdc->get_config = vhost_user_blk_update_config; in vhost_user_blk_class_init() 586 vdc->set_config = vhost_user_blk_set_config; in vhost_user_blk_class_init() 587 vdc->get_features = vhost_user_blk_get_features; in vhost_user_blk_class_init() 588 vdc->set_status = vhost_user_blk_set_status; in vhost_user_blk_class_init() 589 vdc->reset = vhost_user_blk_reset; in vhost_user_blk_class_init() 590 vdc->get_vhost = vhost_user_blk_get_vhost; in vhost_user_blk_class_init()
|
/openbmc/qemu/hw/hyperv/ |
H A D | vmbus.c | 1328 chan->notify_cb = vdc->chan_notify_cb; in init_channel() 1362 dev->num_channels = vdc->num_channels ? vdc->num_channels(dev) : 1; in create_channels() 1442 if (vdc->open_channel && vdc->open_channel(chan)) { in open_channel() 1468 if (vdc->close_channel) { in close_channel() 1469 vdc->close_channel(chan); in close_channel() 2308 if (vdc->vmdev_realize) { in vmbus_dev_realize() 2309 vdc->vmdev_realize(vdev, &err); in vmbus_dev_realize() 2336 if (vdc->vmdev_reset) { in vmbus_dev_reset() 2337 vdc->vmdev_reset(vdev); in vmbus_dev_reset() 2346 if (vdc->vmdev_unrealize) { in vmbus_dev_unrealize() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | vhost-user-gpu.c | 657 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in vhost_user_gpu_class_init() local 662 vdc->realize = vhost_user_gpu_device_realize; in vhost_user_gpu_class_init() 663 vdc->reset = vhost_user_gpu_reset; in vhost_user_gpu_class_init() 664 vdc->set_status = vhost_user_gpu_set_status; in vhost_user_gpu_class_init() 665 vdc->guest_notifier_mask = vhost_user_gpu_guest_notifier_mask; in vhost_user_gpu_class_init() 666 vdc->guest_notifier_pending = vhost_user_gpu_guest_notifier_pending; in vhost_user_gpu_class_init() 667 vdc->get_config = vhost_user_gpu_get_config; in vhost_user_gpu_class_init() 668 vdc->set_config = vhost_user_gpu_set_config; in vhost_user_gpu_class_init() 669 vdc->get_vhost = vhost_user_gpu_get_vhost; in vhost_user_gpu_class_init()
|
H A D | virtio-gpu-gl.c | 148 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_gpu_gl_class_init() local 157 vdc->realize = virtio_gpu_gl_device_realize; in virtio_gpu_gl_class_init() 158 vdc->reset = virtio_gpu_gl_reset; in virtio_gpu_gl_class_init()
|
H A D | virtio-gpu-base.c | 266 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_gpu_base_class_init() local 268 vdc->unrealize = virtio_gpu_base_device_unrealize; in virtio_gpu_base_class_init() 269 vdc->get_features = virtio_gpu_base_get_features; in virtio_gpu_base_class_init() 270 vdc->set_features = virtio_gpu_base_set_features; in virtio_gpu_base_class_init()
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | qrb2210-rb1.dts | 63 vdc_12v: regulator-vdc-12v { 73 vdc_1v2: regulator-vdc-1v2 { 84 vdc_3v3: regulator-vdc-3v3 { 95 vdc_5v: regulator-vdc-5v { 106 vdc_vbat_som: regulator-vdc-vbat {
|
H A D | qrb4210-rb2.dts | 124 vdc_12v: regulator-vdc-12v { 134 vdc_1v2: regulator-vdc-1v2 { 145 vdc_3v3: regulator-vdc-3v3 { 156 vdc_5v: regulator-vdc-5v { 167 vdc_vbat_som: regulator-vdc-vbat {
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 1167 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_serial_class_init() local 1175 vdc->realize = virtio_serial_device_realize; in virtio_serial_class_init() 1176 vdc->unrealize = virtio_serial_device_unrealize; in virtio_serial_class_init() 1177 vdc->get_features = get_features; in virtio_serial_class_init() 1178 vdc->get_config = get_config; in virtio_serial_class_init() 1179 vdc->set_config = set_config; in virtio_serial_class_init() 1180 vdc->set_status = set_status; in virtio_serial_class_init() 1181 vdc->reset = vser_reset; in virtio_serial_class_init() 1182 vdc->save = virtio_serial_save_device; in virtio_serial_class_init() 1183 vdc->load = virtio_serial_load_device; in virtio_serial_class_init()
|