Lines Matching refs:elem_cnt
3035 if (ceq->reg_cq_size == ceq->elem_cnt) { in irdma_sc_add_cq_ctx()
3614 if (info->elem_cnt < info->dev->hw_attrs.min_hw_ceq_size || in irdma_sc_ceq_init()
3615 info->elem_cnt > info->dev->hw_attrs.max_hw_ceq_size) in irdma_sc_ceq_init()
3629 ceq->elem_cnt = info->elem_cnt; in irdma_sc_ceq_init()
3643 IRDMA_RING_INIT(ceq->ceq_ring, ceq->elem_cnt); in irdma_sc_ceq_init()
3667 set_64bit_val(wqe, 16, ceq->elem_cnt); in irdma_sc_ceq_create()
3768 set_64bit_val(wqe, 16, ceq->elem_cnt); in irdma_sc_ceq_destroy()
3890 if (info->elem_cnt < info->dev->hw_attrs.min_hw_aeq_size || in irdma_sc_aeq_init()
3891 info->elem_cnt > info->dev->hw_attrs.max_hw_aeq_size) in irdma_sc_aeq_init()
3903 aeq->elem_cnt = info->elem_cnt; in irdma_sc_aeq_init()
3905 IRDMA_RING_INIT(aeq->aeq_ring, aeq->elem_cnt); in irdma_sc_aeq_init()
3933 set_64bit_val(wqe, 16, aeq->elem_cnt); in irdma_sc_aeq_create()
3976 set_64bit_val(wqe, 16, aeq->elem_cnt); in irdma_sc_aeq_destroy()