Home
last modified time | relevance | path

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

/openbmc/linux/drivers/virtio/
H A Dvirtio.c17 struct virtio_device *dev = dev_to_virtio(_d); in device_show()
25 struct virtio_device *dev = dev_to_virtio(_d); in vendor_show()
33 struct virtio_device *dev = dev_to_virtio(_d); in status_show()
41 struct virtio_device *dev = dev_to_virtio(_d); in modalias_show()
50 struct virtio_device *dev = dev_to_virtio(_d); in features_show()
88 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_dev_match()
100 const struct virtio_device *dev = dev_to_virtio(_dv); in virtio_uevent()
240 struct virtio_device *dev = dev_to_virtio(_d); in virtio_dev_probe()
327 struct virtio_device *dev = dev_to_virtio(_d); in virtio_dev_remove()
H A Dvirtio_pci_common.c513 struct virtio_device *vdev = dev_to_virtio(_d); in virtio_pci_release_dev()
/openbmc/linux/include/linux/
H A Dvirtio.h138 #define dev_to_virtio(_dev) container_of_const(_dev, struct virtio_device, dev) macro
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_virtio.c349 struct virtio_device *vdev = dev_to_virtio(dev); in rproc_virtio_dev_release()
470 struct virtio_device *vdev = dev_to_virtio(dev); in rproc_remove_virtio_dev()
/openbmc/linux/drivers/iommu/
H A Dvirtio-iommu.c962 return dev ? dev_to_virtio(dev)->priv : NULL; in viommu_get_by_fwnode()
1067 struct virtio_device *vdev = dev_to_virtio(viommu->dev); in viommu_init_vqs()
/openbmc/linux/net/9p/
H A Dtrans_virtio.c573 vdev = dev_to_virtio(dev); in p9_mount_tag_show()
/openbmc/linux/drivers/s390/virtio/
H A Dvirtio_ccw.c1059 struct virtio_device *dev = dev_to_virtio(_d); in virtio_ccw_release_dev()