Lines Matching refs:qp
113 struct hinic_qp *qp;
129 qp = &func_to_io->qps[i];
131 hinic_sq_prepare_ctxt(&sq_ctxt[i], &qp->sq,
132 base_qpn + qp->q_id);
157 struct hinic_qp *qp;
173 qp = &func_to_io->qps[i];
175 hinic_rq_prepare_ctxt(&rq_ctxt[i], &qp->rq,
176 base_qpn + qp->q_id);
194 * write_qp_ctxts - write the qp ctxt to HW
196 * @base_qpn: first qp number
264 * @qp: pointer to the qp to initialize
265 * @q_id: the id of the qp
272 struct hinic_qp *qp, int q_id,
281 qp->q_id = q_id;
308 qp->sq.qid = q_id;
309 err = hinic_init_sq(&qp->sq, hwif, &func_to_io->sq_wq[q_id],
318 qp->rq.qid = q_id;
319 err = hinic_init_rq(&qp->rq, hwif, &func_to_io->rq_wq[q_id],
329 hinic_clean_sq(&qp->sq);
345 * @qp: pointer to the qp to clean
348 struct hinic_qp *qp)
350 int q_id = qp->q_id;
352 hinic_clean_rq(&qp->rq);
353 hinic_clean_sq(&qp->sq);
364 * @base_qpn: base qp number