Searched refs:drv_to_virtio (Results 1 – 2 of 2) sorted by relevance
91 ids = drv_to_virtio(_dr)->id_table; in virtio_dev_match()110 struct virtio_driver *drv = drv_to_virtio(vdev->dev.driver); in virtio_check_driver_offered_feature()128 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in __virtio_config_changed()274 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_probe()365 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_remove()401 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_shutdown()586 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_restore_priv()643 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_freeze()671 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_prepare()693 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_done()
245 #define drv_to_virtio(__drv) container_of_const(__drv, struct virtio_driver, driver) macro