Searched refs:cur_cnt (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/scsi/csiostor/ |
H A 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 …]
|
/openbmc/u-boot/drivers/video/bridge/ |
H A D | anx6345.c | 210 size_t cur_cnt; in anx6345_read_aux_i2c() local 214 cur_cnt = (count - i) > 16 ? 16 : count - i; in anx6345_read_aux_i2c() 224 chip_addr, buf + i, cur_cnt); in anx6345_read_aux_i2c()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A 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()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | btf.c | 142 size_t cur_cnt, size_t max_cnt, size_t add_cnt) in libbpf_add_mem() argument 147 if (cur_cnt + add_cnt <= *cap_cnt) in libbpf_add_mem() 148 return *data + cur_cnt * elem_sz; in libbpf_add_mem() 151 if (cur_cnt + add_cnt > max_cnt) in libbpf_add_mem() 160 if (new_cnt < cur_cnt + add_cnt) /* also ensure we have enough memory */ in libbpf_add_mem() 161 new_cnt = cur_cnt + add_cnt; in libbpf_add_mem() 172 return new_data + cur_cnt * elem_sz; in libbpf_add_mem()
|
H A D | libbpf_internal.h | 282 size_t cur_cnt, size_t max_cnt, size_t add_cnt);
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A 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()
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_ca0132.c | 2734 unsigned int cur_cnt; in dsp_dma_setup() local 2789 cur_cnt = (count - 1) << DSPDMAC_XFRCNT_CCNT_LOBIT; in dsp_dma_setup() 2791 xfr_cnt = base_cnt | cur_cnt; in dsp_dma_setup()
|