Lines Matching refs:elem_cnt
3045 if (ceq->reg_cq_size == ceq->elem_cnt) { in irdma_sc_add_cq_ctx()
3623 if (info->elem_cnt < info->dev->hw_attrs.min_hw_ceq_size || in irdma_sc_ceq_init()
3624 info->elem_cnt > info->dev->hw_attrs.max_hw_ceq_size) in irdma_sc_ceq_init()
3638 ceq->elem_cnt = info->elem_cnt; in irdma_sc_ceq_init()
3652 IRDMA_RING_INIT(ceq->ceq_ring, ceq->elem_cnt); in irdma_sc_ceq_init()
3676 set_64bit_val(wqe, 16, ceq->elem_cnt); in irdma_sc_ceq_create()
3775 set_64bit_val(wqe, 16, ceq->elem_cnt); in irdma_sc_ceq_destroy()
3897 if (info->elem_cnt < info->dev->hw_attrs.min_hw_aeq_size || in irdma_sc_aeq_init()
3898 info->elem_cnt > info->dev->hw_attrs.max_hw_aeq_size) in irdma_sc_aeq_init()
3910 aeq->elem_cnt = info->elem_cnt; in irdma_sc_aeq_init()
3912 IRDMA_RING_INIT(aeq->aeq_ring, aeq->elem_cnt); in irdma_sc_aeq_init()
3940 set_64bit_val(wqe, 16, aeq->elem_cnt); in irdma_sc_aeq_create()
3983 set_64bit_val(wqe, 16, aeq->elem_cnt); in irdma_sc_aeq_destroy()