Searched refs:curr_prod_idx (Results 1 – 2 of 2) sorted by relevance
341 u16 curr_prod_idx, next_prod_idx; in cmdq_sync_cmd_direct_resp() local351 hw_wqe = hinic_get_wqe(wq, WQE_LCMD_SIZE, &curr_prod_idx); in cmdq_sync_cmd_direct_resp()362 next_prod_idx = curr_prod_idx + num_wqebbs; in cmdq_sync_cmd_direct_resp()368 cmdq->errcode[curr_prod_idx] = &errcode; in cmdq_sync_cmd_direct_resp()371 cmdq->done[curr_prod_idx] = &done; in cmdq_sync_cmd_direct_resp()375 curr_prod_idx); in cmdq_sync_cmd_direct_resp()391 if (cmdq->errcode[curr_prod_idx] == &errcode) in cmdq_sync_cmd_direct_resp()392 cmdq->errcode[curr_prod_idx] = NULL; in cmdq_sync_cmd_direct_resp()394 if (cmdq->done[curr_prod_idx] == &done) in cmdq_sync_cmd_direct_resp()395 cmdq->done[curr_prod_idx] = NULL; in cmdq_sync_cmd_direct_resp()[all …]
744 u16 curr_prod_idx, end_prod_idx; in hinic_get_wqe() local758 curr_prod_idx = end_prod_idx - num_wqebbs; in hinic_get_wqe()759 curr_prod_idx = MASKED_WQE_IDX(wq, curr_prod_idx); in hinic_get_wqe()764 curr_pg = WQE_PAGE_NUM(wq, curr_prod_idx); in hinic_get_wqe()767 *prod_idx = curr_prod_idx; in hinic_get_wqe()