Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c828 u16 curr_cons_idx, end_cons_idx; in hinic_read_wqe() local
834 curr_cons_idx = atomic_read(&wq->cons_idx); in hinic_read_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()
839 curr_pg = WQE_PAGE_NUM(wq, curr_cons_idx); in hinic_read_wqe()
842 *cons_idx = curr_cons_idx; in hinic_read_wqe()