Searched refs:curr_prod_idx (Results 1 – 2 of 2) sorted by relevance
346 u16 curr_prod_idx, next_prod_idx; in cmdq_sync_cmd_direct_resp() local356 hw_wqe = hinic_get_wqe(wq, WQE_LCMD_SIZE, &curr_prod_idx); in cmdq_sync_cmd_direct_resp()367 next_prod_idx = curr_prod_idx + num_wqebbs; in cmdq_sync_cmd_direct_resp()373 cmdq->errcode[curr_prod_idx] = &errcode; in cmdq_sync_cmd_direct_resp()376 cmdq->done[curr_prod_idx] = &done; in cmdq_sync_cmd_direct_resp()380 curr_prod_idx); in cmdq_sync_cmd_direct_resp()396 if (cmdq->errcode[curr_prod_idx] == &errcode) in cmdq_sync_cmd_direct_resp()397 cmdq->errcode[curr_prod_idx] = NULL; in cmdq_sync_cmd_direct_resp()399 if (cmdq->done[curr_prod_idx] == &done) in cmdq_sync_cmd_direct_resp()400 cmdq->done[curr_prod_idx] = NULL; in cmdq_sync_cmd_direct_resp()[all …]
746 u16 curr_prod_idx, end_prod_idx; in hinic_get_wqe() local760 curr_prod_idx = end_prod_idx - num_wqebbs; in hinic_get_wqe()761 curr_prod_idx = MASKED_WQE_IDX(wq, curr_prod_idx); in hinic_get_wqe()766 curr_pg = WQE_PAGE_NUM(wq, curr_prod_idx); in hinic_get_wqe()769 *prod_idx = curr_prod_idx; in hinic_get_wqe()