Searched refs:qp_ctx (Results 1 – 2 of 2) sorted by relevance
57 struct hisi_zip_qp_ctx *qp_ctx; member91 struct hisi_zip_qp_ctx qp_ctx[HZIP_CTX_Q_NUM]; member138 static struct hisi_zip_req *hisi_zip_create_req(struct hisi_zip_qp_ctx *qp_ctx, in hisi_zip_create_req() argument141 struct hisi_zip_req_q *req_q = &qp_ctx->req_q; in hisi_zip_create_req()151 dev_dbg(&qp_ctx->qp->qm->pdev->dev, "req cache is full!\n"); in hisi_zip_create_req()161 req_cache->qp_ctx = qp_ctx; in hisi_zip_create_req()166 static void hisi_zip_remove_req(struct hisi_zip_qp_ctx *qp_ctx, in hisi_zip_remove_req() argument169 struct hisi_zip_req_q *req_q = &qp_ctx->req_q; in hisi_zip_remove_req()250 static int hisi_zip_do_work(struct hisi_zip_qp_ctx *qp_ctx, in hisi_zip_do_work() argument253 struct hisi_acc_sgl_pool *pool = qp_ctx->sgl_pool; in hisi_zip_do_work()[all …]
703 struct mlx4_qp_context *qp_ctx = inbox->buf + 8; in update_gid() local705 u32 ts = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; in update_gid()709 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()711 qp_ctx->pri_path.mgid_index = in update_gid()714 qp_ctx->pri_path.mgid_index = slave | 0x80; in update_gid()718 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()720 qp_ctx->pri_path.mgid_index += in update_gid()722 qp_ctx->pri_path.mgid_index &= 0x7f; in update_gid()724 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid()728 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid()[all …]