Lines Matching refs:scmi_vdev
112 static struct virtio_device *scmi_vdev; variable
373 if (!scmi_vdev) { in virtio_link_supplier()
379 if (!device_link_add(dev, &scmi_vdev->dev, in virtio_link_supplier()
392 if (WARN_ON_ONCE(!scmi_vdev)) in virtio_chan_available()
395 channels = (struct scmi_vio_channel *)scmi_vdev->priv; in virtio_chan_available()
402 if (scmi_vio_have_vq_rx(scmi_vdev)) in virtio_chan_available()
424 if (!scmi_vdev) in virtio_chan_setup()
427 vioch = &((struct scmi_vio_channel *)scmi_vdev->priv)[index]; in virtio_chan_setup()
434 alloc_workqueue(dev_name(&scmi_vdev->dev), in virtio_chan_setup()
818 if (scmi_vdev) { in scmi_vio_probe()
868 smp_store_mb(scmi_vdev, vdev); in scmi_vio_probe()
885 smp_store_mb(scmi_vdev, NULL); in scmi_vio_remove()