Home
last modified time | relevance | path

Searched refs:dev_to_virtio (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/virtio/
Dvirtio.c15 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()
Dvirtio_pci_common.c503 struct virtio_device *vdev = dev_to_virtio(_d); in virtio_pci_release_dev()
/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_kms.c124 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()
/Linux-v5.4/drivers/remoteproc/
Dremoteproc_virtio.c309 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()
/Linux-v5.4/drivers/nvdimm/
Dvirtio_pmem.c92 nd_region->provider_data = dev_to_virtio(nd_region->dev.parent->parent); in virtio_pmem_probe()
/Linux-v5.4/include/linux/
Dvirtio.h123 static inline struct virtio_device *dev_to_virtio(struct device *_dev) in dev_to_virtio() function
/Linux-v5.4/drivers/iommu/
Dvirtio-iommu.c863 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()
/Linux-v5.4/net/9p/
Dtrans_virtio.c533 vdev = dev_to_virtio(dev); in p9_mount_tag_show()
/Linux-v5.4/drivers/misc/mic/vop/
Dvop_main.c543 struct virtio_device *_dev = dev_to_virtio(dev); in vop_match_desc()
/Linux-v5.4/drivers/s390/virtio/
Dvirtio_ccw.c1029 struct virtio_device *dev = dev_to_virtio(_d); in virtio_ccw_release_dev()