Lines Matching defs:vdpa_dev
38 static struct octep_hw *vdpa_to_octep_hw(struct vdpa_device *vdpa_dev) in vdpa_to_octep_hw()
138 static u64 octep_vdpa_get_device_features(struct vdpa_device *vdpa_dev) in octep_vdpa_get_device_features()
145 static int octep_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features) in octep_vdpa_set_driver_features()
165 static u64 octep_vdpa_get_driver_features(struct vdpa_device *vdpa_dev) in octep_vdpa_get_driver_features()
172 static u8 octep_vdpa_get_status(struct vdpa_device *vdpa_dev) in octep_vdpa_get_status()
179 static void octep_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status) in octep_vdpa_set_status()
197 static int octep_vdpa_reset(struct vdpa_device *vdpa_dev) in octep_vdpa_reset()
220 static u16 octep_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev) in octep_vdpa_get_vq_num_max()
227 static int octep_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in octep_vdpa_get_vq_state()
235 static int octep_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in octep_vdpa_set_vq_state()
243 static void octep_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_callback *cb) in octep_vdpa_set_vq_cb()
250 static void octep_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready) in octep_vdpa_set_vq_ready()
257 static bool octep_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid) in octep_vdpa_get_vq_ready()
264 static void octep_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num) in octep_vdpa_set_vq_num()
271 static int octep_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, u64 desc_area, in octep_vdpa_set_vq_address()
283 static void octep_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid) in octep_vdpa_kick_vq()
288 static void octep_vdpa_kick_vq_with_data(struct vdpa_device *vdpa_dev, u32 data) in octep_vdpa_kick_vq_with_data()
296 static u32 octep_vdpa_get_generation(struct vdpa_device *vdpa_dev) in octep_vdpa_get_generation()
303 static u32 octep_vdpa_get_device_id(struct vdpa_device *vdpa_dev) in octep_vdpa_get_device_id()
310 static u32 octep_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev) in octep_vdpa_get_vendor_id()
315 static u32 octep_vdpa_get_vq_align(struct vdpa_device *vdpa_dev) in octep_vdpa_get_vq_align()
320 static size_t octep_vdpa_get_config_size(struct vdpa_device *vdpa_dev) in octep_vdpa_get_config_size()
327 static void octep_vdpa_get_config(struct vdpa_device *vdpa_dev, unsigned int offset, void *buf, in octep_vdpa_get_config()
335 static void octep_vdpa_set_config(struct vdpa_device *vdpa_dev, unsigned int offset, in octep_vdpa_set_config()
341 static void octep_vdpa_set_config_cb(struct vdpa_device *vdpa_dev, struct vdpa_callback *cb) in octep_vdpa_set_config_cb()
349 static struct vdpa_notification_area octep_get_vq_notification(struct vdpa_device *vdpa_dev, in octep_get_vq_notification()
503 struct vdpa_device *vdpa_dev; in octep_vdpa_dev_add() local
560 static void octep_vdpa_dev_del(struct vdpa_mgmt_dev *mdev, struct vdpa_device *vdpa_dev) in octep_vdpa_dev_del()