next_prod_idx 346 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c u16 curr_prod_idx, next_prod_idx; next_prod_idx 367 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c next_prod_idx = curr_prod_idx + num_wqebbs; next_prod_idx 368 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c if (next_prod_idx >= wq->q_depth) { next_prod_idx 370 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c next_prod_idx -= wq->q_depth; next_prod_idx 388 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c cmdq_set_db(cmdq, HINIC_CMDQ_SYNC, next_prod_idx); next_prod_idx 425 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c u16 curr_prod_idx, next_prod_idx; next_prod_idx 445 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c next_prod_idx = curr_prod_idx + num_wqebbs; next_prod_idx 446 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c if (next_prod_idx >= wq->q_depth) { next_prod_idx 448 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c next_prod_idx -= wq->q_depth; next_prod_idx 461 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c cmdq_set_db(cmdq, HINIC_CMDQ_SYNC, next_prod_idx); next_prod_idx 1441 drivers/scsi/bnx2fc/bnx2fc_hwi.c u32 next_prod_idx = tgt->rq_prod_idx + num_items; next_prod_idx 1442 drivers/scsi/bnx2fc/bnx2fc_hwi.c if ((next_prod_idx & 0x7fff) == BNX2FC_RQ_WQES_MAX) { next_prod_idx 1444 drivers/scsi/bnx2fc/bnx2fc_hwi.c next_prod_idx += 0x8000 - BNX2FC_RQ_WQES_MAX; next_prod_idx 1446 drivers/scsi/bnx2fc/bnx2fc_hwi.c tgt->rq_prod_idx = next_prod_idx;