/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | ctrl.c | 455 cqp = qp->dev->cqp; in irdma_sc_qp_create() 508 cqp = qp->dev->cqp; in irdma_sc_qp_modify() 576 cqp = qp->dev->cqp; in irdma_sc_qp_destroy() 1074 cqp = dev->cqp; in irdma_sc_alloc_stag() 1154 cqp = dev->cqp; in irdma_sc_mr_reg_non_shared() 1218 cqp = dev->cqp; in irdma_sc_dealloc_stag() 1258 cqp = dev->cqp; in irdma_sc_mw_alloc() 2337 cqp = dev->cqp; in irdma_sc_qp_upload_context() 2525 cqp = cq->dev->cqp; in irdma_sc_cq_create() 3388 info->cqp = cqp; in irdma_sc_ccq_get_cqe_info() [all …]
|
H A D | uda.h | 41 int irdma_access_mcast_grp(struct irdma_sc_cqp *cqp, 50 static inline int irdma_sc_create_ah(struct irdma_sc_cqp *cqp, in irdma_sc_create_ah() argument 53 return irdma_sc_access_ah(cqp, info, IRDMA_CQP_OP_CREATE_ADDR_HANDLE, in irdma_sc_create_ah() 57 static inline int irdma_sc_destroy_ah(struct irdma_sc_cqp *cqp, in irdma_sc_destroy_ah() argument 60 return irdma_sc_access_ah(cqp, info, IRDMA_CQP_OP_DESTROY_ADDR_HANDLE, in irdma_sc_destroy_ah() 64 static inline int irdma_sc_create_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_sc_create_mcast_grp() argument 68 return irdma_access_mcast_grp(cqp, info, IRDMA_CQP_OP_CREATE_MCAST_GRP, in irdma_sc_create_mcast_grp() 72 static inline int irdma_sc_modify_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_sc_modify_mcast_grp() argument 76 return irdma_access_mcast_grp(cqp, info, IRDMA_CQP_OP_MODIFY_MCAST_GRP, in irdma_sc_modify_mcast_grp() 80 static inline int irdma_sc_destroy_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_sc_destroy_mcast_grp() argument [all …]
|
H A D | utils.c | 534 struct irdma_cqp *cqp = &rf->cqp; in irdma_cleanup_pending_cqp_op() local 867 struct irdma_sc_cqp *cqp = dev->cqp; in irdma_cqp_qp_suspend_resume() local 878 cqp_info->in.u.suspend_resume.cqp = cqp; in irdma_cqp_qp_suspend_resume() 994 cqp_info->in.u.query_fpm_val.cqp = dev->cqp; in irdma_cqp_query_fpm_val_cmd() 1028 cqp_info->in.u.commit_fpm_val.cqp = dev->cqp; in irdma_cqp_commit_fpm_val_cmd() 1131 cqp_info->in.u.manage_push_page.cqp = &rf->cqp.sc_cqp; in irdma_dealloc_push_page() 1777 cqp_info->in.u.stats_gather.cqp = &rf->cqp.sc_cqp; in irdma_cqp_gather_stats_cmd() 1817 cqp_info->in.u.stats_manage.cqp = &rf->cqp.sc_cqp; in irdma_cqp_stats_inst_cmd() 1917 cqp_info->in.u.ws_node.cqp = cqp; in irdma_cqp_ws_node_cmd() 1974 cqp_info->in.u.ah_create.cqp = &rf->cqp.sc_cqp; in irdma_ah_cqp_op() [all …]
|
H A D | hw.c | 593 struct irdma_cqp *cqp = &rf->cqp; in irdma_destroy_cqp() local 601 dma_free_coherent(dev->hw->device, cqp->sq.size, cqp->sq.va, in irdma_destroy_cqp() 602 cqp->sq.pa); in irdma_destroy_cqp() 933 struct irdma_cqp *cqp = &rf->cqp; in irdma_create_cqp() local 947 dev->cqp = &cqp->sc_cqp; in irdma_create_cqp() 951 cqp->sq.va = dma_alloc_coherent(dev->hw->device, cqp->sq.size, in irdma_create_cqp() 1007 list_add_tail(&cqp->cqp_requests[i].list, &cqp->cqp_avail_reqs); in irdma_create_cqp() 1014 cqp->sq.va, cqp->sq.pa); in irdma_create_cqp() 2312 cqp_info->in.u.manage_apbvt_entry.cqp = &iwdev->rf->cqp.sc_cqp; in irdma_cqp_manage_apbvt_cmd() 2422 cqp_info->in.u.add_arp_cache_entry.cqp = &rf->cqp.sc_cqp; in irdma_manage_arp_cache() [all …]
|
H A D | uda.c | 20 int irdma_sc_access_ah(struct irdma_sc_cqp *cqp, struct irdma_ah_info *info, in irdma_sc_access_ah() argument 26 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_access_ah() 69 FIELD_PREP(IRDMA_UDA_CQPSQ_MAV_WQEVALID, cqp->polarity) | in irdma_sc_access_ah() 78 irdma_sc_cqp_post_sq(cqp); in irdma_sc_access_ah() 115 int irdma_access_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_access_mcast_grp() argument 122 ibdev_dbg(to_ibdev(cqp->dev), "WQE: mg_id out of range\n"); in irdma_access_mcast_grp() 126 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_access_mcast_grp() 128 ibdev_dbg(to_ibdev(cqp->dev), "WQE: ring full\n"); in irdma_access_mcast_grp() 157 FIELD_PREP(IRDMA_UDA_CQPSQ_MG_WQEVALID, cqp->polarity) | in irdma_access_mcast_grp() 168 irdma_sc_cqp_post_sq(cqp); in irdma_access_mcast_grp()
|
H A D | type.h | 604 struct irdma_sc_cqp *cqp; member 668 struct irdma_sc_cqp *cqp; member 1292 struct irdma_sc_cqp *cqp; member 1298 struct irdma_sc_cqp *cqp; member 1304 struct irdma_sc_cqp *cqp; member 1310 struct irdma_sc_cqp *cqp; member 1317 struct irdma_sc_cqp *cqp; member 1322 struct irdma_sc_cqp *cqp; member 1372 struct irdma_sc_cqp *cqp; member 1380 struct irdma_sc_cqp *cqp; member [all …]
|
H A D | protos.h | 18 void irdma_sc_cqp_post_sq(struct irdma_sc_cqp *cqp); 19 __le64 *irdma_sc_cqp_get_next_send_wqe(struct irdma_sc_cqp *cqp, u64 scratch); 77 int irdma_sc_static_hmc_pages_allocated(struct irdma_sc_cqp *cqp, u64 scratch,
|
H A D | puda.c | 607 struct irdma_sc_cqp *cqp; in irdma_puda_qp_wqe() local 613 cqp = dev->cqp; in irdma_puda_qp_wqe() 614 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, 0); in irdma_puda_qp_wqe() 626 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity); in irdma_puda_qp_wqe() 633 irdma_sc_cqp_post_sq(cqp); in irdma_puda_qp_wqe() 726 struct irdma_sc_cqp *cqp; in irdma_puda_cq_wqe() local 731 cqp = dev->cqp; in irdma_puda_cq_wqe() 732 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, 0); in irdma_puda_cq_wqe() 751 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity); in irdma_puda_cq_wqe() 758 irdma_sc_cqp_post_sq(dev->cqp); in irdma_puda_cq_wqe() [all …]
|
H A D | main.h | 303 struct irdma_cqp cqp; member 482 struct irdma_cqp_request *irdma_alloc_and_get_cqp_request(struct irdma_cqp *cqp, 484 void irdma_free_cqp_request(struct irdma_cqp *cqp, 486 void irdma_put_cqp_request(struct irdma_cqp *cqp,
|
H A D | verbs.c | 249 cqp_info->in.u.manage_push_page.cqp = &iwdev->rf->cqp.sc_cqp; in irdma_alloc_push_page() 259 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_alloc_push_page() 755 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_cqp_create_qp_cmd() 1995 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_resize_cq() 2210 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_create_cq() 2564 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_mw() 2626 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_dealloc_mw() 2665 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_stag() 2831 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hwreg_mr() 3262 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_dereg_mr() [all …]
|
H A D | hmc.c | 134 return dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_one() 173 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp() 185 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.h | 23 struct mlx5e_cq_param cqp; member 31 struct mlx5e_cq_param cqp; member
|
H A D | params.c | 1013 mlx5e_build_rx_cq_param(mdev, params, xsk, ¶m->cqp); in mlx5e_build_rq_param() 1072 mlx5e_build_tx_cq_param(mdev, params, ¶m->cqp); in mlx5e_build_sq_param() 1256 mlx5e_build_ico_cq_param(mdev, log_wq_size, ¶m->cqp); in mlx5e_build_icosq_param() 1273 mlx5e_build_ico_cq_param(mdev, log_wq_size, ¶m->cqp); in mlx5e_build_async_icosq_param() 1288 mlx5e_build_tx_cq_param(mdev, params, ¶m->cqp); in mlx5e_build_xdpsq_param()
|
H A D | ptp.c | 563 cq_param = &cparams->txq_sq_param.cqp; in mlx5e_ptp_open_tx_cqs() 610 cq_param = &cparams->rq_param.cqp; in mlx5e_ptp_open_rx_cq() 638 mlx5e_build_tx_cq_param(mdev, params, ¶m->cqp); in mlx5e_ptp_build_sq_param()
|
H A D | trap.c | 75 err = mlx5e_open_cq(priv, trap_moder, &rq_param->cqp, &ccp, &rq->cq); in mlx5e_open_trap_rq()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 132 err = mlx5e_open_cq(c->priv, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_xsk() 141 err = mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->xdp_sq.cqp, &ccp, in mlx5e_open_xsk()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli4.h | 1082 int lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, 1092 struct lpfc_queue **drqp, struct lpfc_queue **cqp,
|
H A D | lpfc_sli.c | 16410 lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, in lpfc_cq_create_set() argument 16427 if (!cqp || !hdwq || !numcq) in lpfc_cq_create_set() 16435 length += ((numcq * cqp[0]->page_count) * in lpfc_cq_create_set() 16453 cq = cqp[idx]; in lpfc_cq_create_set() 16627 cq = cqp[idx]; in lpfc_cq_create_set() 17429 struct lpfc_queue **drqp, struct lpfc_queue **cqp, in lpfc_mrq_create() argument 17444 if (!hrqp || !drqp || !cqp || !numrq) in lpfc_mrq_create() 17480 cq = cqp[idx]; in lpfc_mrq_create()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 2075 err = mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->txq_sq.cqp, in mlx5e_open_tx_cqs() 2276 err = mlx5e_open_cq(c->priv, icocq_moder, &cparam->async_icosq.cqp, &ccp, in mlx5e_open_queues() 2281 err = mlx5e_open_cq(c->priv, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues() 2290 err = mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->xdp_sq.cqp, &ccp, in mlx5e_open_queues() 2295 err = mlx5e_open_cq(c->priv, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_queues() 2300 err = c->xdp ? mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->xdp_sq.cqp, in mlx5e_open_queues()
|