Searched refs:end_prod_idx (Results 1 – 1 of 1) sorted by relevance
746 u16 curr_prod_idx, end_prod_idx; in hinic_get_wqe() local757 end_prod_idx = atomic_add_return(num_wqebbs, &wq->prod_idx); in hinic_get_wqe()759 end_prod_idx = MASKED_WQE_IDX(wq, end_prod_idx); in hinic_get_wqe()760 curr_prod_idx = end_prod_idx - num_wqebbs; in hinic_get_wqe()764 end_prod_idx = MASKED_WQE_IDX(wq, end_prod_idx - 1); in hinic_get_wqe()767 end_pg = WQE_PAGE_NUM(wq, end_prod_idx); in hinic_get_wqe()774 if (curr_pg != end_pg || end_prod_idx < *prod_idx) { in hinic_get_wqe()