Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_init.c702 int cur_cnt = 0, ii; in csio_lnodes_block_request() local
715 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_request()
719 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_block_request()
723 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_block_request()
741 int cur_cnt = 0, ii; in csio_lnodes_unblock_request() local
754 lnode_list[cur_cnt++] = sln; in csio_lnodes_unblock_request()
758 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_unblock_request()
762 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_unblock_request()
779 int cur_cnt = 0, ii; in csio_lnodes_block_by_port() local
795 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_by_port()
[all …]
/Linux-v5.4/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-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1211 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed() local
1223 if (cur_cnt--) { in bnx2x_pbf_pN_buf_flushed()
1238 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed()
1246 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed() local
1255 if (cur_cnt--) { in bnx2x_pbf_pN_cmd_flushed()
1270 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed()
1276 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll() local
1279 while ((val = REG_RD(bp, reg)) != expected && cur_cnt--) in bnx2x_flr_clnup_reg_poll()
/Linux-v5.4/sound/pci/hda/
Dpatch_ca0132.c2306 unsigned int cur_cnt; in dsp_dma_setup() local
2361 cur_cnt = (count - 1) << DSPDMAC_XFRCNT_CCNT_LOBIT; in dsp_dma_setup()
2363 xfr_cnt = base_cnt | cur_cnt; in dsp_dma_setup()