Home
last modified time | relevance | path

Searched refs:cur_cnt (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_init.c707 int cur_cnt = 0, ii; in csio_lnodes_block_request() local
720 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_request()
724 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_block_request()
728 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_block_request()
746 int cur_cnt = 0, ii; in csio_lnodes_unblock_request() local
759 lnode_list[cur_cnt++] = sln; in csio_lnodes_unblock_request()
763 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_unblock_request()
767 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_unblock_request()
784 int cur_cnt = 0, ii; in csio_lnodes_block_by_port() local
800 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_by_port()
[all …]
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_hal.c167 unsigned int base_cnt = 0, cur_cnt = 0; in qat_hal_wait_cycles() local
178 cur_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_wait_cycles()
179 cur_cnt &= 0xffff; in qat_hal_wait_cycles()
180 elapsed_cycles = cur_cnt - base_cnt; in qat_hal_wait_cycles()
392 unsigned int base_cnt, cur_cnt; in qat_hal_check_ae_alive() local
401 cur_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_check_ae_alive()
402 cur_cnt &= 0xffff; in qat_hal_check_ae_alive()
403 } while (times-- && (cur_cnt == base_cnt)); in qat_hal_check_ae_alive()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c3650 u32 cur_cnt, old_cnt; in hns_roce_check_sdb_status() local
3658 cur_cnt = roce_get_field(tmp, ROCEE_SDB_SEND_PTR_SDB_SEND_PTR_M, in hns_roce_check_sdb_status()
3672 if (cur_cnt - old_cnt > SDB_ST_CMP_VAL) in hns_roce_check_sdb_status()
3678 if (cur_cnt - old_cnt > SDB_ST_CMP_VAL) { in hns_roce_check_sdb_status()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1217 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed() local
1229 if (cur_cnt--) { in bnx2x_pbf_pN_buf_flushed()
1244 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed()
1252 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed() local
1261 if (cur_cnt--) { in bnx2x_pbf_pN_cmd_flushed()
1276 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed()
1282 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll() local
1285 while ((val = REG_RD(bp, reg)) != expected && cur_cnt--) in bnx2x_flr_clnup_reg_poll()
/Linux-v4.19/sound/pci/hda/
Dpatch_ca0132.c2179 unsigned int cur_cnt; in dsp_dma_setup() local
2234 cur_cnt = (count - 1) << DSPDMAC_XFRCNT_CCNT_LOBIT; in dsp_dma_setup()
2236 xfr_cnt = base_cnt | cur_cnt; in dsp_dma_setup()