Searched refs:cur_cnt (Results 1 – 3 of 3) sorted by relevance
/drivers/scsi/csiostor/ |
D | csio_init.c | 698 int cur_cnt = 0, ii; in csio_lnodes_block_request() local 711 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_request() 715 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_block_request() 719 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_block_request() 737 int cur_cnt = 0, ii; in csio_lnodes_unblock_request() local 750 lnode_list[cur_cnt++] = sln; in csio_lnodes_unblock_request() 754 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_unblock_request() 758 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_unblock_request() 775 int cur_cnt = 0, ii; in csio_lnodes_block_by_port() local 791 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_by_port() [all …]
|
/drivers/crypto/intel/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 | 1232 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed() local 1244 if (cur_cnt--) { in bnx2x_pbf_pN_buf_flushed() 1259 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed() 1267 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed() local 1276 if (cur_cnt--) { in bnx2x_pbf_pN_cmd_flushed() 1291 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed() 1297 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll() local 1300 while ((val = REG_RD(bp, reg)) != expected && cur_cnt--) in bnx2x_flr_clnup_reg_poll()
|