Searched refs:end_prod_idx (Results 1 – 1 of 1) sorted by relevance
744 u16 curr_prod_idx, end_prod_idx; in hinic_get_wqe() local755 end_prod_idx = atomic_add_return(num_wqebbs, &wq->prod_idx); in hinic_get_wqe()757 end_prod_idx = MASKED_WQE_IDX(wq, end_prod_idx); in hinic_get_wqe()758 curr_prod_idx = end_prod_idx - num_wqebbs; in hinic_get_wqe()762 end_prod_idx = MASKED_WQE_IDX(wq, end_prod_idx - 1); in hinic_get_wqe()765 end_pg = WQE_PAGE_NUM(wq, end_prod_idx); in hinic_get_wqe()772 if (curr_pg != end_pg || end_prod_idx < *prod_idx) { in hinic_get_wqe()