Searched refs:cur_cnt (Results 1 – 3 of 3) sorted by relevance
/drivers/scsi/csiostor/ |
D | csio_init.c | 699 int cur_cnt = 0, ii; in csio_lnodes_block_request() local 712 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_request() 716 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_block_request() 720 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_block_request() 738 int cur_cnt = 0, ii; in csio_lnodes_unblock_request() local 751 lnode_list[cur_cnt++] = sln; in csio_lnodes_unblock_request() 755 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_unblock_request() 759 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_unblock_request() 776 int cur_cnt = 0, ii; in csio_lnodes_block_by_port() local 792 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_by_port() [all …]
|
/drivers/crypto/qat/qat_common/ |
D | qat_hal.c | 124 unsigned int base_cnt = 0, cur_cnt = 0; in qat_hal_wait_cycles() local 135 cur_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_wait_cycles() 136 cur_cnt &= 0xffff; in qat_hal_wait_cycles() 137 elapsed_cycles = cur_cnt - base_cnt; in qat_hal_wait_cycles() 381 unsigned int base_cnt, cur_cnt; in qat_hal_check_ae_alive() local 390 cur_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_check_ae_alive() 391 cur_cnt &= 0xffff; in qat_hal_check_ae_alive() 392 } while (times-- && (cur_cnt == base_cnt)); in qat_hal_check_ae_alive()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 1233 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed() local 1245 if (cur_cnt--) { in bnx2x_pbf_pN_buf_flushed() 1260 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed() 1268 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed() local 1277 if (cur_cnt--) { in bnx2x_pbf_pN_cmd_flushed() 1292 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed() 1298 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll() local 1301 while ((val = REG_RD(bp, reg)) != expected && cur_cnt--) in bnx2x_flr_clnup_reg_poll()
|