Searched refs:num_cqe (Results 1 – 3 of 3) sorted by relevance
482 uint32_t num_cqe = cq->queue_size / GDMA_CQE_SIZE; in mana_gd_ring_cq() local484 uint32_t head = cq->head % (num_cqe << GDMA_CQE_OWNER_BITS); in mana_gd_ring_cq()1396 unsigned int num_cqe = cq->queue_size / sizeof(struct gdma_cqe); in mana_gd_read_cqe() local1401 cqe = &cq_cqe[cq->head % num_cqe]; in mana_gd_read_cqe()1404 old_bits = (cq->head / num_cqe - 1) & GDMA_CQE_OWNER_MASK; in mana_gd_read_cqe()1409 new_bits = (cq->head / num_cqe) & GDMA_CQE_OWNER_MASK; in mana_gd_read_cqe()1428 mana_gd_poll_cq(struct gdma_queue *cq, struct gdma_comp *comp, int num_cqe) in mana_gd_poll_cq() argument1436 for (cqe_idx = 0; cqe_idx < num_cqe; cqe_idx++) { in mana_gd_poll_cq()
470 int mana_gd_poll_cq(struct gdma_queue *cq, struct gdma_comp *comp, int num_cqe);
1068 uint16_t num_cqe = 0; in oce_drain_rq_cq() local1081 num_cqe++; in oce_drain_rq_cq()1083 oce_arm_cq(sc, cq->cq_id, num_cqe, FALSE); in oce_drain_rq_cq()