qp_ctx 190 drivers/crypto/hisilicon/qm.h void *qp_ctx; qp_ctx 76 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_qp_ctx qp_ctx[HZIP_CTX_Q_NUM]; qp_ctx 121 drivers/crypto/hisilicon/zip/zip_crypto.c qp->qp_ctx = ctx; qp_ctx 157 drivers/crypto/hisilicon/zip/zip_crypto.c ret = hisi_zip_create_qp(qm, &hisi_zip_ctx->qp_ctx[i], i, qp_ctx 162 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_ctx->qp_ctx[i].zip_dev = hisi_zip; qp_ctx 168 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_release_qp(&hisi_zip_ctx->qp_ctx[j]); qp_ctx 178 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_release_qp(&hisi_zip_ctx->qp_ctx[i]); qp_ctx 219 drivers/crypto/hisilicon/zip/zip_crypto.c req_q = &ctx->qp_ctx[i].req_q; qp_ctx 247 drivers/crypto/hisilicon/zip/zip_crypto.c kfree(ctx->qp_ctx[QPC_DECOMP].req_q.req_bitmap); qp_ctx 249 drivers/crypto/hisilicon/zip/zip_crypto.c kfree(ctx->qp_ctx[QPC_COMP].req_q.q); qp_ctx 251 drivers/crypto/hisilicon/zip/zip_crypto.c kfree(ctx->qp_ctx[QPC_COMP].req_q.req_bitmap); qp_ctx 260 drivers/crypto/hisilicon/zip/zip_crypto.c kfree(ctx->qp_ctx[i].req_q.q); qp_ctx 261 drivers/crypto/hisilicon/zip/zip_crypto.c kfree(ctx->qp_ctx[i].req_q.req_bitmap); qp_ctx 271 drivers/crypto/hisilicon/zip/zip_crypto.c tmp = &ctx->qp_ctx[i]; qp_ctx 285 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_acc_free_sgl_pool(&ctx->qp_ctx[QPC_COMP].qp->qm->pdev->dev, qp_ctx 286 drivers/crypto/hisilicon/zip/zip_crypto.c &ctx->qp_ctx[QPC_COMP].sgl_pool); qp_ctx 295 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_acc_free_sgl_pool(&ctx->qp_ctx[i].qp->qm->pdev->dev, qp_ctx 296 drivers/crypto/hisilicon/zip/zip_crypto.c &ctx->qp_ctx[i].sgl_pool); qp_ctx 299 drivers/crypto/hisilicon/zip/zip_crypto.c static void hisi_zip_remove_req(struct hisi_zip_qp_ctx *qp_ctx, qp_ctx 302 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_req_q *req_q = &qp_ctx->req_q; qp_ctx 313 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_qp_ctx *qp_ctx = qp->qp_ctx; qp_ctx 314 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_req_q *req_q = &qp_ctx->req_q; qp_ctx 340 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_remove_req(qp_ctx, req); qp_ctx 349 drivers/crypto/hisilicon/zip/zip_crypto.c ctx->qp_ctx[i].qp->req_cb = fn; qp_ctx 427 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_qp_ctx *qp_ctx, qp_ctx 430 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_req_q *req_q = &qp_ctx->req_q; qp_ctx 440 drivers/crypto/hisilicon/zip/zip_crypto.c dev_dbg(&qp_ctx->qp->qm->pdev->dev, "req cache is full!\n"); qp_ctx 463 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_qp_ctx *qp_ctx) qp_ctx 465 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_sqe *zip_sqe = &qp_ctx->zip_sqe; qp_ctx 467 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_qp *qp = qp_ctx->qp; qp_ctx 469 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_acc_sgl_pool *pool = &qp_ctx->sgl_pool; qp_ctx 514 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_qp_ctx *qp_ctx = &ctx->qp_ctx[QPC_COMP]; qp_ctx 520 drivers/crypto/hisilicon/zip/zip_crypto.c head_size = add_comp_head(acomp_req->dst, qp_ctx->qp->req_type); qp_ctx 524 drivers/crypto/hisilicon/zip/zip_crypto.c req = hisi_zip_create_req(acomp_req, qp_ctx, (size_t)head_size, true); qp_ctx 528 drivers/crypto/hisilicon/zip/zip_crypto.c ret = hisi_zip_do_work(req, qp_ctx); qp_ctx 530 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_remove_req(qp_ctx, req); qp_ctx 538 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_qp_ctx *qp_ctx = &ctx->qp_ctx[QPC_DECOMP]; qp_ctx 543 drivers/crypto/hisilicon/zip/zip_crypto.c head_size = get_comp_head_size(acomp_req->src, qp_ctx->qp->req_type); qp_ctx 545 drivers/crypto/hisilicon/zip/zip_crypto.c req = hisi_zip_create_req(acomp_req, qp_ctx, head_size, false); qp_ctx 549 drivers/crypto/hisilicon/zip/zip_crypto.c ret = hisi_zip_do_work(req, qp_ctx); qp_ctx 551 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_remove_req(qp_ctx, req); qp_ctx 723 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 qp_ctx, temp, temp1; qp_ctx 740 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(cqe, 8, &qp_ctx); qp_ctx 741 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = (struct i40iw_sc_cqp *)(unsigned long)qp_ctx; qp_ctx 2750 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 *qp_ctx, qp_ctx 2778 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, 8, qp->sq_pa); qp_ctx 2779 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, 16, qp->rq_pa); qp_ctx 2785 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2789 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2794 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2797 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2809 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2813 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2817 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2854 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2859 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2864 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2878 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2882 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2887 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2891 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2895 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2899 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2903 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2907 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2911 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2915 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, qp_ctx 2921 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, 0, qw0); qp_ctx 2922 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, 24, qw3); qp_ctx 2923 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(qp_ctx, 56, qw7); qp_ctx 2926 drivers/infiniband/hw/i40iw/i40iw_ctrl.c qp_ctx, I40IW_QP_CTX_SIZE); qp_ctx 481 drivers/infiniband/hw/i40iw/i40iw_puda.c u64 *qp_ctx = qp->hw_host_ctx; qp_ctx 483 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 8, qp->sq_pa); qp_ctx 484 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 16, qp->rq_pa); qp_ctx 486 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 24, qp_ctx 490 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 48, LS_64(rsrc->buf_size, I40IW_UDA_QPC_MAXFRAMESIZE)); qp_ctx 491 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 56, 0); qp_ctx 492 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 64, 1); qp_ctx 494 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 136, qp_ctx 498 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 160, LS_64(1, I40IWQPC_PRIVEN)); qp_ctx 500 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 168, qp_ctx 503 drivers/infiniband/hw/i40iw/i40iw_puda.c set_64bit_val(qp_ctx, 176, qp_ctx 509 drivers/infiniband/hw/i40iw/i40iw_puda.c qp_ctx, I40IW_QP_CTX_SIZE); qp_ctx 709 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_qp_context *qp_ctx = inbox->buf + 8; qp_ctx 711 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 ts = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; qp_ctx 715 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; qp_ctx 717 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index = qp_ctx 720 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index = slave | 0x80; qp_ctx 724 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; qp_ctx 726 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index += qp_ctx 728 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index &= 0x7f; qp_ctx 730 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index = slave & 0x7F; qp_ctx 734 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; qp_ctx 736 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->alt_path.mgid_index += qp_ctx 738 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->alt_path.mgid_index &= 0x7f; qp_ctx 740 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->alt_path.mgid_index = slave & 0x7F; qp_ctx 3189 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_qp_context *qp_ctx; qp_ctx 3194 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx = inbox->buf + 8; qp_ctx 3195 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_type = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; qp_ctx 3199 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->params2 &= ~cpu_to_be32(MLX4_QP_BIT_FPP); qp_ctx 3201 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (qp_ctx->rate_limit_params) qp_ctx 3217 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; qp_ctx 3222 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (qp_ctx->pri_path.mgid_index >= num_gids) qp_ctx 3226 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; qp_ctx 3231 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (qp_ctx->alt_path.mgid_index >= num_gids) qp_ctx 3243 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1;