Lines Matching refs:qid
213 static int vp_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_get_vq_state() argument
248 static int vp_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_state() argument
258 !vp_modern_get_queue_enable(mdev, qid)) { in vp_vdpa_set_vq_state()
269 static void vp_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_cb() argument
274 vp_vdpa->vring[qid].cb = *cb; in vp_vdpa_set_vq_cb()
278 u16 qid, bool ready) in vp_vdpa_set_vq_ready() argument
282 vp_modern_set_queue_enable(mdev, qid, ready); in vp_vdpa_set_vq_ready()
285 static bool vp_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_get_vq_ready() argument
289 return vp_modern_get_queue_enable(mdev, qid); in vp_vdpa_get_vq_ready()
292 static void vp_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_num() argument
297 vp_modern_set_queue_size(mdev, qid, num); in vp_vdpa_set_vq_num()
300 static int vp_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_address() argument
306 vp_modern_queue_address(mdev, qid, desc_area, in vp_vdpa_set_vq_address()
312 static void vp_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_kick_vq() argument
316 vp_iowrite16(qid, vp_vdpa->vring[qid].notify); in vp_vdpa_kick_vq()
394 vp_vdpa_get_vq_notification(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_get_vq_notification() argument
400 notify.addr = vp_vdpa->vring[qid].notify_pa; in vp_vdpa_get_vq_notification()