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()371 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_remove()407 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_shutdown()593 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_restore_priv()650 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_freeze()678 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_prepare()700 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_done()
266 #define drv_to_virtio(__drv) container_of_const(__drv, struct virtio_driver, driver) macro