Lines Matching defs:qid
103 static int octep_process_mbox(struct octep_hw *oct_hw, u16 id, u16 qid, void *buffer,
130 octep_write32_word(mbox, 0, (u32)qid);
276 void octep_notify_queue(struct octep_hw *oct_hw, u16 qid)
278 iowrite16(qid, oct_hw->vqs[qid].notify_addr);
299 int octep_set_vq_address(struct octep_hw *oct_hw, u16 qid, u64 desc_area, u64 driver_area,
304 octep_write_queue_select(oct_hw, qid);
315 int octep_get_vq_state(struct octep_hw *oct_hw, u16 qid, struct vdpa_vq_state *state)
317 return octep_process_mbox(oct_hw, OCTEP_MBOX_MSG_GET_VQ_STATE, qid, state,
321 int octep_set_vq_state(struct octep_hw *oct_hw, u16 qid, const struct vdpa_vq_state *state)
326 return octep_process_mbox(oct_hw, OCTEP_MBOX_MSG_SET_VQ_STATE, qid, &q_state,
330 void octep_set_vq_num(struct octep_hw *oct_hw, u16 qid, u32 num)
334 octep_write_queue_select(oct_hw, qid);
338 void octep_set_vq_ready(struct octep_hw *oct_hw, u16 qid, bool ready)
342 octep_write_queue_select(oct_hw, qid);
346 bool octep_get_vq_ready(struct octep_hw *oct_hw, u16 qid)
350 octep_write_queue_select(oct_hw, qid);