Searched refs:head_masked (Results 1 – 2 of 2) sorted by relevance
12 u16 expected_phase, head_masked; in ena_com_get_next_rx_cdesc() local15 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_get_next_rx_cdesc()19 + (head_masked * io_cq->cdesc_entry_size_in_bytes)); in ena_com_get_next_rx_cdesc()236 u16 count = io_cq->cur_rx_pkt_cdesc_count, head_masked; in ena_com_cdesc_rx_pkt_get() local266 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_cdesc_rx_pkt_get()270 io_cq->cur_rx_pkt_cdesc_start_idx = head_masked; in ena_com_cdesc_rx_pkt_get()
454 u16 head_masked; in ena_com_handle_admin_completion() local457 head_masked = admin_queue->cq.head & (admin_queue->q_depth - 1); in ena_com_handle_admin_completion()460 cqe = &admin_queue->cq.entries[head_masked]; in ena_com_handle_admin_completion()471 head_masked++; in ena_com_handle_admin_completion()473 if (unlikely(head_masked == admin_queue->q_depth)) { in ena_com_handle_admin_completion()474 head_masked = 0; in ena_com_handle_admin_completion()478 cqe = &admin_queue->cq.entries[head_masked]; in ena_com_handle_admin_completion()