Lines Matching defs:qid
257 static int eni_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 qid,
263 static int eni_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid,
273 if (!vp_legacy_get_queue_enable(ldev, qid)
281 static void eni_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 qid,
286 eni_vdpa->vring[qid].cb = *cb;
289 static void eni_vdpa_set_vq_ready(struct vdpa_device *vdpa, u16 qid,
299 vp_legacy_set_queue_address(ldev, qid, 0);
302 static bool eni_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 qid)
306 return vp_legacy_get_queue_enable(ldev, qid);
309 static void eni_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 qid,
314 u16 n = vp_legacy_get_queue_size(ldev, qid);
323 qid, n, num);
326 static int eni_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 qid,
333 vp_legacy_set_queue_address(ldev, qid, pfn);
338 static void eni_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid)
342 iowrite16(qid, eni_vdpa->vring[qid].notify);