Lines Matching refs:qid

245 static int ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid,  in ifcvf_vdpa_get_vq_state()  argument
250 state->avail_index = ifcvf_get_vq_state(vf, qid); in ifcvf_vdpa_get_vq_state()
254 static int ifcvf_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_state() argument
259 return ifcvf_set_vq_state(vf, qid, state->avail_index); in ifcvf_vdpa_set_vq_state()
262 static void ifcvf_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_cb() argument
267 vf->vring[qid].cb = *cb; in ifcvf_vdpa_set_vq_cb()
271 u16 qid, bool ready) in ifcvf_vdpa_set_vq_ready() argument
275 vf->vring[qid].ready = ready; in ifcvf_vdpa_set_vq_ready()
278 static bool ifcvf_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid) in ifcvf_vdpa_get_vq_ready() argument
282 return vf->vring[qid].ready; in ifcvf_vdpa_get_vq_ready()
285 static void ifcvf_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_num() argument
290 vf->vring[qid].size = num; in ifcvf_vdpa_set_vq_num()
293 static int ifcvf_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_address() argument
299 vf->vring[qid].desc = desc_area; in ifcvf_vdpa_set_vq_address()
300 vf->vring[qid].avail = driver_area; in ifcvf_vdpa_set_vq_address()
301 vf->vring[qid].used = device_area; in ifcvf_vdpa_set_vq_address()
306 static void ifcvf_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid) in ifcvf_vdpa_kick_vq() argument
310 ifcvf_notify_queue(vf, qid); in ifcvf_vdpa_kick_vq()
365 u16 qid) in ifcvf_vdpa_get_vq_irq() argument
369 return vf->vring[qid].irq; in ifcvf_vdpa_get_vq_irq()