Searched refs:dev_to_virtio (Results 1 – 10 of 10) sorted by relevance
15 struct virtio_device *dev = dev_to_virtio(_d); in device_show()23 struct virtio_device *dev = dev_to_virtio(_d); in vendor_show()31 struct virtio_device *dev = dev_to_virtio(_d); in status_show()39 struct virtio_device *dev = dev_to_virtio(_d); in modalias_show()48 struct virtio_device *dev = dev_to_virtio(_d); in features_show()86 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_dev_match()98 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_uevent()196 struct virtio_device *dev = dev_to_virtio(_d); in virtio_dev_probe()270 struct virtio_device *dev = dev_to_virtio(_d); in virtio_dev_remove()
503 struct virtio_device *vdev = dev_to_virtio(_d); in virtio_pci_release_dev()
124 if (!virtio_has_feature(dev_to_virtio(dev->dev), VIRTIO_F_VERSION_1)) in virtio_gpu_init()133 vgdev->vdev = dev_to_virtio(dev->dev); in virtio_gpu_init()
309 struct virtio_device *vdev = dev_to_virtio(dev); in rproc_virtio_dev_release()419 struct virtio_device *vdev = dev_to_virtio(dev); in rproc_remove_virtio_dev()
92 nd_region->provider_data = dev_to_virtio(nd_region->dev.parent->parent); in virtio_pmem_probe()
123 static inline struct virtio_device *dev_to_virtio(struct device *_dev) in dev_to_virtio() function
863 return dev ? dev_to_virtio(dev)->priv : NULL; in viommu_get_by_fwnode()971 struct virtio_device *vdev = dev_to_virtio(viommu->dev); in viommu_init_vqs()
533 vdev = dev_to_virtio(dev); in p9_mount_tag_show()
543 struct virtio_device *_dev = dev_to_virtio(dev); in vop_match_desc()
1029 struct virtio_device *dev = dev_to_virtio(_d); in virtio_ccw_release_dev()