Lines Matching defs:qid
257 static u16 eni_vdpa_get_vq_size(struct vdpa_device *vdpa, u16 qid)
261 return vp_legacy_get_queue_size(ldev, qid);
264 static int eni_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 qid,
270 static int eni_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid,
280 if (!vp_legacy_get_queue_enable(ldev, qid)
288 static void eni_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 qid,
293 eni_vdpa->vring[qid].cb = *cb;
296 static void eni_vdpa_set_vq_ready(struct vdpa_device *vdpa, u16 qid,
306 vp_legacy_set_queue_address(ldev, qid, 0);
309 static bool eni_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 qid)
313 return vp_legacy_get_queue_enable(ldev, qid);
316 static void eni_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 qid,
321 u16 n = vp_legacy_get_queue_size(ldev, qid);
330 qid, n, num);
333 static int eni_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 qid,
340 vp_legacy_set_queue_address(ldev, qid, pfn);
345 static void eni_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid)
349 iowrite16(qid, eni_vdpa->vring[qid].notify);