/drivers/net/ethernet/mellanox/mlx4/ |
D | cq.c | 173 struct mlx4_cq_context *cq_context; in mlx4_cq_modify() local 180 cq_context = mailbox->buf; in mlx4_cq_modify() 181 cq_context->cq_max_count = cpu_to_be16(count); in mlx4_cq_modify() 182 cq_context->cq_period = cpu_to_be16(period); in mlx4_cq_modify() 195 struct mlx4_cq_context *cq_context; in mlx4_cq_resize() local 203 cq_context = mailbox->buf; in mlx4_cq_resize() 204 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); in mlx4_cq_resize() 205 cq_context->log_page_size = mtt->page_shift - 12; in mlx4_cq_resize() 207 cq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_cq_resize() 208 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_resize() [all …]
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2_dfx.c | 12 struct hns_roce_v2_cq_context *cq_context; in hns_roce_v2_query_cqc_info() local 20 cq_context = mailbox->buf; in hns_roce_v2_query_cqc_info() 29 memcpy(buffer, cq_context, sizeof(*cq_context)); in hns_roce_v2_query_cqc_info()
|
D | hns_roce_hw_v1.c | 810 free_mr->mr_free_cq->ib_cq.cq_context = NULL; in hns_roce_v1_rsv_lp_qp() 2073 struct hns_roce_cq_context *cq_context = mb_buf; in hns_roce_v1_write_cqc() local 2077 memset(cq_context, 0, sizeof(*cq_context)); in hns_roce_v1_write_cqc() 2085 roce_set_field(cq_context->cqc_byte_4, in hns_roce_v1_write_cqc() 2088 roce_set_field(cq_context->cqc_byte_4, CQ_CONTEXT_CQC_BYTE_4_CQN_M, in hns_roce_v1_write_cqc() 2091 cq_context->cq_bt_l = cpu_to_le32((u32)dma_handle); in hns_roce_v1_write_cqc() 2093 roce_set_field(cq_context->cqc_byte_12, in hns_roce_v1_write_cqc() 2097 roce_set_field(cq_context->cqc_byte_12, in hns_roce_v1_write_cqc() 2101 roce_set_field(cq_context->cqc_byte_12, CQ_CONTEXT_CQC_BYTE_12_CEQN_M, in hns_roce_v1_write_cqc() 2104 cq_context->cur_cqe_ba0_l = cpu_to_le32((u32)(mtts[0])); in hns_roce_v1_write_cqc() [all …]
|
D | hns_roce_hw_v2.c | 3324 struct hns_roce_v2_cq_context *cq_context; in hns_roce_v2_write_cqc() local 3326 cq_context = mb_buf; in hns_roce_v2_write_cqc() 3327 memset(cq_context, 0, sizeof(*cq_context)); in hns_roce_v2_write_cqc() 3329 hr_reg_write(cq_context, CQC_CQ_ST, V2_CQ_STATE_VALID); in hns_roce_v2_write_cqc() 3330 hr_reg_write(cq_context, CQC_ARM_ST, NO_ARMED); in hns_roce_v2_write_cqc() 3331 hr_reg_write(cq_context, CQC_SHIFT, ilog2(hr_cq->cq_depth)); in hns_roce_v2_write_cqc() 3332 hr_reg_write(cq_context, CQC_CEQN, hr_cq->vector); in hns_roce_v2_write_cqc() 3333 hr_reg_write(cq_context, CQC_CQN, hr_cq->cqn); in hns_roce_v2_write_cqc() 3336 hr_reg_write(cq_context, CQC_CQE_SIZE, CQE_SIZE_64B); in hns_roce_v2_write_cqc() 3339 hr_reg_enable(cq_context, CQC_STASH); in hns_roce_v2_write_cqc() [all …]
|
D | hns_roce_cq.c | 471 ibcq->comp_handler(ibcq, ibcq->cq_context); in hns_roce_cq_completion() 503 ibcq->event_handler(&event, ibcq->cq_context); in hns_roce_cq_event()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 230 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in mthca_cq_completion() 256 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); in mthca_cq_event() 773 struct mthca_cq_context *cq_context; in mthca_init_cq() local 811 cq_context = mailbox->buf; in mthca_init_cq() 824 memset(cq_context, 0, sizeof *cq_context); in mthca_init_cq() 825 cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK | in mthca_init_cq() 828 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24); in mthca_init_cq() 830 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); in mthca_init_cq() 832 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq() 833 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq() [all …]
|
/drivers/infiniband/sw/rxe/ |
D | rxe_cq.c | 54 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in rxe_send_complete() 123 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); in rxe_cq_post()
|
/drivers/infiniband/core/ |
D | uverbs_std_types_cq.c | 43 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq() 125 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
|
D | uverbs.h | 236 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
|
D | cq.c | 229 cq->cq_context = private; in __ib_alloc_cq()
|
D | uverbs_main.c | 357 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) in ib_uverbs_comp_handler() argument 359 struct ib_uverbs_event_queue *ev_queue = cq_context; in ib_uverbs_comp_handler()
|
D | verbs.c | 2062 void *cq_context, in __ib_create_cq() argument 2077 cq->cq_context = cq_context; in __ib_create_cq()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 92 int eqn = MLX5_GET(cqc, MLX5_ADDR_OF(create_cq_in, in, cq_context), in mlx5_core_create_cq() 209 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_core_modify_cq_moderation()
|
D | debugfs.c | 340 ctx = MLX5_ADDR_OF(query_cq_out, out, cq_context); in cq_read_field()
|
/drivers/infiniband/hw/cxgb4/ |
D | ev.c | 115 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event() 234 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in c4iw_ev_handler()
|
D | qp.c | 1012 schp->ibcq.cq_context); in complete_sq_drain_wr() 1063 rchp->ibcq.cq_context); in complete_rq_drain_wr() 1641 rchp->ibcq.cq_context); in __flush_qp() 1648 rchp->ibcq.cq_context); in __flush_qp() 1654 schp->ibcq.cq_context); in __flush_qp() 1678 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp() 1684 schp->ibcq.cq_context); in flush_qp()
|
/drivers/infiniband/hw/mlx5/ |
D | cq.c | 45 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx5_ib_cq_comp() 65 ibcq->event_handler(&event, ibcq->cq_context); in mlx5_ib_cq_event() 776 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); in create_cq_user() 903 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); in create_cq_kernel() 931 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in notify_soft_wc_handler() 992 cqc = MLX5_ADDR_OF(create_cq_in, cqb, cq_context); in mlx5_ib_create_cq() 1339 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_ib_resize_cq()
|
D | gsi.c | 70 struct mlx5_ib_gsi_qp *gsi = cq->cq_context; in handle_single_completion()
|
/drivers/infiniband/sw/rdmavt/ |
D | cq.c | 74 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); in rvt_cq_enter() 140 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in send_complete()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | health.c | 49 cqc = MLX5_ADDR_OF(query_cq_out, out, cq_context); in mlx5e_health_cq_diag_fmsg()
|
/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 93 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qedr_ll2_complete_tx_packet() 122 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qedr_ll2_complete_rx_packet()
|
D | main.c | 478 (&cq->ibcq, cq->ibcq.cq_context); in qedr_irq_handler() 733 ibcq->event_handler(&event, ibcq->cq_context); in qedr_affiliated_event()
|
/drivers/infiniband/hw/mlx4/ |
D | cq.c | 46 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx4_ib_cq_comp() 65 ibcq->event_handler(&event, ibcq->cq_context); in mlx4_ib_cq_event()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_main.c | 328 ibcq->event_handler(&e, ibcq->cq_context); in pvrdma_cq_event() 493 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in pvrdma_intrx_handler()
|
/drivers/infiniband/sw/siw/ |
D | siw_qp.c | 1104 cq->base_cq.cq_context); in siw_sqe_complete() 1166 cq->base_cq.cq_context); in siw_rqe_complete()
|