Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c71 #define MASKED_WQE_IDX(wq, idx) ((idx) & (wq)->mask) macro
708 idx = MASKED_WQE_IDX(wq, idx); in copy_wqe_to_shadow()
725 idx = MASKED_WQE_IDX(wq, idx); in copy_wqe_from_shadow()
748 *prod_idx = MASKED_WQE_IDX(wq, atomic_read(&wq->prod_idx)); in hinic_get_wqe()
759 end_prod_idx = MASKED_WQE_IDX(wq, end_prod_idx); in hinic_get_wqe()
761 curr_prod_idx = MASKED_WQE_IDX(wq, curr_prod_idx); in hinic_get_wqe()
764 end_prod_idx = MASKED_WQE_IDX(wq, end_prod_idx - 1); in hinic_get_wqe()
836 curr_cons_idx = MASKED_WQE_IDX(wq, curr_cons_idx); in hinic_read_wqe()
837 end_cons_idx = MASKED_WQE_IDX(wq, curr_cons_idx + num_wqebbs - 1); in hinic_read_wqe()