Lines Matching refs:vdpa_device

33 static struct snet *vdpa_to_snet(struct vdpa_device *vdpa)  in vdpa_to_snet()
86 static int snet_set_vq_address(struct vdpa_device *vdev, u16 idx, u64 desc_area, in snet_set_vq_address()
98 static void snet_set_vq_num(struct vdpa_device *vdev, u16 idx, u32 num) in snet_set_vq_num()
105 static void snet_kick_vq(struct vdpa_device *vdev, u16 idx) in snet_kick_vq()
115 static void snet_kick_vq_with_data(struct vdpa_device *vdev, u32 data) in snet_kick_vq_with_data()
127 static void snet_set_vq_cb(struct vdpa_device *vdev, u16 idx, struct vdpa_callback *cb) in snet_set_vq_cb()
135 static void snet_set_vq_ready(struct vdpa_device *vdev, u16 idx, bool ready) in snet_set_vq_ready()
142 static bool snet_get_vq_ready(struct vdpa_device *vdev, u16 idx) in snet_get_vq_ready()
167 static int snet_set_vq_state(struct vdpa_device *vdev, u16 idx, const struct vdpa_vq_state *state) in snet_set_vq_state()
186 static int snet_get_vq_state(struct vdpa_device *vdev, u16 idx, struct vdpa_vq_state *state) in snet_get_vq_state()
193 static int snet_get_vq_irq(struct vdpa_device *vdev, u16 idx) in snet_get_vq_irq()
200 static u32 snet_get_vq_align(struct vdpa_device *vdev) in snet_get_vq_align()
248 static int snet_reset(struct vdpa_device *vdev) in snet_reset()
255 static size_t snet_get_config_size(struct vdpa_device *vdev) in snet_get_config_size()
262 static u64 snet_get_features(struct vdpa_device *vdev) in snet_get_features()
269 static int snet_set_drv_features(struct vdpa_device *vdev, u64 features) in snet_set_drv_features()
277 static u64 snet_get_drv_features(struct vdpa_device *vdev) in snet_get_drv_features()
284 static u16 snet_get_vq_num_max(struct vdpa_device *vdev) in snet_get_vq_num_max()
291 static void snet_set_config_cb(struct vdpa_device *vdev, struct vdpa_callback *cb) in snet_set_config_cb()
299 static u32 snet_get_device_id(struct vdpa_device *vdev) in snet_get_device_id()
306 static u32 snet_get_vendor_id(struct vdpa_device *vdev) in snet_get_vendor_id()
311 static u8 snet_get_status(struct vdpa_device *vdev) in snet_get_status()
428 static void snet_set_status(struct vdpa_device *vdev, u8 status) in snet_set_status()
464 static void snet_get_config(struct vdpa_device *vdev, unsigned int offset, in snet_get_config()
481 static void snet_set_config(struct vdpa_device *vdev, unsigned int offset, in snet_set_config()
498 static int snet_suspend(struct vdpa_device *vdev) in snet_suspend()
512 static int snet_resume(struct vdpa_device *vdev) in snet_resume()