Lines Matching refs:qid
272 static int ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_get_vq_state() argument
277 state->split.avail_index = ifcvf_get_vq_state(vf, qid); in ifcvf_vdpa_get_vq_state()
281 static int ifcvf_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_state() argument
286 return ifcvf_set_vq_state(vf, qid, state->split.avail_index); in ifcvf_vdpa_set_vq_state()
289 static void ifcvf_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_cb() argument
294 vf->vring[qid].cb = *cb; in ifcvf_vdpa_set_vq_cb()
298 u16 qid, bool ready) in ifcvf_vdpa_set_vq_ready() argument
302 vf->vring[qid].ready = ready; in ifcvf_vdpa_set_vq_ready()
305 static bool ifcvf_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid) in ifcvf_vdpa_get_vq_ready() argument
309 return vf->vring[qid].ready; in ifcvf_vdpa_get_vq_ready()
312 static void ifcvf_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_num() argument
317 vf->vring[qid].size = num; in ifcvf_vdpa_set_vq_num()
320 static int ifcvf_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_address() argument
326 vf->vring[qid].desc = desc_area; in ifcvf_vdpa_set_vq_address()
327 vf->vring[qid].avail = driver_area; in ifcvf_vdpa_set_vq_address()
328 vf->vring[qid].used = device_area; in ifcvf_vdpa_set_vq_address()
333 static void ifcvf_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid) in ifcvf_vdpa_kick_vq() argument
337 ifcvf_notify_queue(vf, qid); in ifcvf_vdpa_kick_vq()
419 u16 qid) in ifcvf_vdpa_get_vq_irq() argument
423 return vf->vring[qid].irq; in ifcvf_vdpa_get_vq_irq()