Lines Matching refs:virtio_device
113 void (*get)(struct virtio_device *vdev, unsigned offset,
115 void (*set)(struct virtio_device *vdev, unsigned offset,
117 u8 (*get_status)(struct virtio_device *vdev);
118 void (*set_status)(struct virtio_device *vdev, u8 status);
119 void (*reset)(struct virtio_device *vdev);
120 int (*find_vqs)(struct virtio_device *, unsigned nvqs,
124 void (*del_vqs)(struct virtio_device *);
125 u32 (*get_features)(struct virtio_device *vdev);
126 void (*finalize_features)(struct virtio_device *vdev);
127 const char *(*bus_name)(struct virtio_device *vdev);
131 void virtio_check_driver_offered_feature(const struct virtio_device *vdev,
139 static inline bool virtio_has_feature(const struct virtio_device *vdev, in virtio_has_feature()
169 static inline int virtio_config_buf(struct virtio_device *vdev, in virtio_config_buf()
182 struct virtqueue *virtio_find_single_vq(struct virtio_device *vdev, in virtio_find_single_vq()
195 const char *virtio_bus_name(struct virtio_device *vdev) in virtio_bus_name()