Home
last modified time | relevance | path

Searched refs:masked_head (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_eth_com.h222 u16 masked_head; in ena_com_tx_comp_req_id_get() local
224 masked_head = io_cq->head & (io_cq->q_depth - 1); in ena_com_tx_comp_req_id_get()
229 (masked_head * io_cq->cdesc_entry_size_in_bytes)); in ena_com_tx_comp_req_id_get()
Dena_com.c2022 u16 masked_head, processed = 0; in ena_com_aenq_intr_handler() local
2025 masked_head = aenq->head & (aenq->q_depth - 1); in ena_com_aenq_intr_handler()
2027 aenq_e = &aenq->entries[masked_head]; /* Get first entry */ in ena_com_aenq_intr_handler()
2050 masked_head++; in ena_com_aenq_intr_handler()
2053 if (unlikely(masked_head == aenq->q_depth)) { in ena_com_aenq_intr_handler()
2054 masked_head = 0; in ena_com_aenq_intr_handler()
2057 aenq_e = &aenq->entries[masked_head]; in ena_com_aenq_intr_handler()