Searched refs:loop_count (Results 1 – 10 of 10) sorted by relevance
/drivers/cpuidle/ |
D | poll_state.c | 22 unsigned int loop_count = 0; in poll_idle() local 29 if (loop_count++ < POLL_IDLE_RELAX_COUNT) in poll_idle() 32 loop_count = 0; in poll_idle()
|
/drivers/scsi/ |
D | qlogicpti.c | 179 int loop_count; in qlogicpti_mbox_command() local 191 loop_count = DEFAULT_LOOP_COUNT; in qlogicpti_mbox_command() 192 while (--loop_count && (sbus_readw(qpti->qregs + HCCTRL) & HCCTRL_HIRQ)) { in qlogicpti_mbox_command() 196 if (!loop_count) in qlogicpti_mbox_command() 229 loop_count = DEFAULT_LOOP_COUNT; in qlogicpti_mbox_command() 230 while (--loop_count && in qlogicpti_mbox_command() 233 if (!loop_count) in qlogicpti_mbox_command() 238 loop_count = DEFAULT_LOOP_COUNT; in qlogicpti_mbox_command() 239 while (--loop_count && in qlogicpti_mbox_command() 247 if (!loop_count) in qlogicpti_mbox_command() [all …]
|
/drivers/hid/ |
D | hid-microsoft.c | 56 __u8 loop_count; member 298 r->loop_count = U8_MAX; in ms_ff_worker()
|
/drivers/gpu/drm/gma500/ |
D | oaktrail_hdmi.c | 212 u32 loop_count = 0; in scu_busy_loop() local 218 loop_count++; in scu_busy_loop() 220 if (loop_count > 1000) { in scu_busy_loop()
|
/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_srv.c | 804 uint8_t loop_count; in dmub_rb_out_trace_buffer_front() local 809 loop_count = sizeof(struct dmcub_trace_buf_entry) / sizeof(uint64_t); in dmub_rb_out_trace_buffer_front() 811 for (i = 0; i < loop_count; i++) in dmub_rb_out_trace_buffer_front()
|
/drivers/scsi/qla2xxx/ |
D | qla_nx2.c | 2467 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla8044_minidump_process_l2tag() local 2477 loop_count = cache_hdr->op_count; in qla8044_minidump_process_l2tag() 2488 for (i = 0; i < loop_count; i++) { in qla8044_minidump_process_l2tag() 2524 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla8044_minidump_process_l1cache() local 2530 loop_count = cache_hdr->op_count; in qla8044_minidump_process_l1cache() 2539 for (i = 0; i < loop_count; i++) { in qla8044_minidump_process_l1cache()
|
D | qla_nx.c | 3870 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla82xx_minidump_process_l2tag() local 3878 loop_count = cache_hdr->op_count; in qla82xx_minidump_process_l2tag() 3889 for (i = 0; i < loop_count; i++) { in qla82xx_minidump_process_l2tag() 3929 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla82xx_minidump_process_l1cache() local 3935 loop_count = cache_hdr->op_count; in qla82xx_minidump_process_l1cache() 3944 for (i = 0; i < loop_count; i++) { in qla82xx_minidump_process_l1cache()
|
/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 2137 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla4_8xxx_minidump_process_l2tag() local 2147 loop_count = cache_hdr->op_count; in qla4_8xxx_minidump_process_l2tag() 2158 for (i = 0; i < loop_count; i++) { in qla4_8xxx_minidump_process_l2tag() 2367 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla4_8xxx_minidump_process_l1cache() local 2373 loop_count = cache_hdr->op_count; in qla4_8xxx_minidump_process_l1cache() 2382 for (i = 0; i < loop_count; i++) { in qla4_8xxx_minidump_process_l1cache()
|
/drivers/infiniband/hw/irdma/ |
D | ctrl.c | 4857 u32 loop_count = 0; in irdma_cfg_fpm_val() local 4915 ++loop_count; in irdma_cfg_fpm_val() 4976 if (!(loop_count % 10) && qpwanted > 128) { in irdma_cfg_fpm_val() 4981 } while (loop_count < 2000); in irdma_cfg_fpm_val() 4986 loop_count, sd_needed, hmc_info->sd_table.sd_cnt); in irdma_cfg_fpm_val() 4990 if (loop_count > 1 && sd_needed < hmc_fpm_misc->max_sds) { in irdma_cfg_fpm_val() 4999 loop_count, sd_needed, in irdma_cfg_fpm_val()
|
/drivers/dma/ti/ |
D | edma.c | 1826 int loop_count = EDMA_MAX_TR_WAIT_LOOPS; in edma_residue() local 1861 if (!--loop_count) { in edma_residue()
|