Lines Matching defs:virtio_config_ops
95 struct virtio_config_ops { struct
96 void (*get)(struct virtio_device *vdev, unsigned offset,
98 void (*set)(struct virtio_device *vdev, unsigned offset,
100 u32 (*generation)(struct virtio_device *vdev);
101 u8 (*get_status)(struct virtio_device *vdev);
102 void (*set_status)(struct virtio_device *vdev, u8 status);
103 void (*reset)(struct virtio_device *vdev);
104 int (*find_vqs)(struct virtio_device *, unsigned nvqs,
108 void (*del_vqs)(struct virtio_device *);
109 void (*synchronize_cbs)(struct virtio_device *);
110 u64 (*get_features)(struct virtio_device *vdev);
111 int (*finalize_features)(struct virtio_device *vdev);
112 const char *(*bus_name)(struct virtio_device *vdev);
113 int (*set_vq_affinity)(struct virtqueue *vq,
115 const struct cpumask *(*get_vq_affinity)(struct virtio_device *vdev,
117 bool (*get_shm_region)(struct virtio_device *vdev,
119 int (*disable_vq_and_reset)(struct virtqueue *vq);
120 int (*enable_vq_after_reset)(struct virtqueue *vq);