Lines Matching +full:probe +full:- +full:reset
1 // SPDX-License-Identifier: GPL-2.0+
42 *status = priv->status; in virtio_sandbox_get_status()
54 priv->status = status; in virtio_sandbox_set_status()
63 /* 0 status means a reset */ in virtio_sandbox_reset()
64 priv->status = 0; in virtio_sandbox_reset()
73 *features = priv->device_features; in virtio_sandbox_get_features()
83 priv->driver_features = uc_priv->features; in virtio_sandbox_set_features()
99 err = -ENOMEM; in virtio_sandbox_setup_vq()
104 priv->queue_desc = addr; in virtio_sandbox_setup_vq()
107 priv->queue_available = addr; in virtio_sandbox_setup_vq()
110 priv->queue_used = addr; in virtio_sandbox_setup_vq()
128 list_for_each_entry_safe(vq, n, &uc_priv->vqs, list) in virtio_sandbox_del_vqs()
161 priv->device_features = VIRTIO_F_VERSION_1; in virtio_sandbox_probe()
162 uc_priv->device = VIRTIO_ID_BLOCK; in virtio_sandbox_probe()
163 uc_priv->vendor = ('u' << 24) | ('b' << 16) | ('o' << 8) | 't'; in virtio_sandbox_probe()
168 /* check virtio device driver's remove routine was called to reset the device */
175 panic("virtio device was not reset\n"); in virtio_sandbox_child_post_remove()
185 .reset = virtio_sandbox_reset,
199 .name = "virtio-sandbox1",
203 .probe = virtio_sandbox_probe,
214 .reset = virtio_sandbox_reset,
227 .name = "virtio-sandbox2",
231 .probe = virtio_sandbox_probe,