Lines Matching defs:qid
201 u16 qid;
206 for (qid = 0; qid < oct_hw->nr_vring; qid++) {
207 oct_hw->vqs[qid].cb.callback = NULL;
208 oct_hw->vqs[qid].cb.private = NULL;
227 static int octep_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
232 return octep_get_vq_state(oct_hw, qid, state);
235 static int octep_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
240 return octep_set_vq_state(oct_hw, qid, state);
243 static void octep_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_callback *cb)
247 oct_hw->vqs[qid].cb = *cb;
250 static void octep_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready)
254 octep_set_vq_ready(oct_hw, qid, ready);
257 static bool octep_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid)
261 return octep_get_vq_ready(oct_hw, qid);
264 static void octep_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num)
268 octep_set_vq_num(oct_hw, qid, num);
271 static int octep_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, u64 desc_area,
276 pr_debug("qid[%d]: desc_area: %llx\n", qid, desc_area);
277 pr_debug("qid[%d]: driver_area: %llx\n", qid, driver_area);
278 pr_debug("qid[%d]: device_area: %llx\n\n", qid, device_area);
280 return octep_set_vq_address(oct_hw, qid, desc_area, driver_area, device_area);
283 static void octep_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid)