Home
last modified time | relevance | path

Searched refs:loop_count (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/cpuidle/
Dpoll_state.c22 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()
/linux-6.1.9/drivers/scsi/
Dqlogicpti.c179 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 …]
/linux-6.1.9/sound/soc/intel/atom/sst/
Dsst_ipc.c120 unsigned int loop_count = 0; in sst_post_message_mrfld() local
129 if (loop_count > 25) { in sst_post_message_mrfld()
136 loop_count++; in sst_post_message_mrfld()
/linux-6.1.9/drivers/hid/
Dhid-microsoft.c56 __u8 loop_count; member
298 r->loop_count = U8_MAX; in ms_ff_worker()
/linux-6.1.9/drivers/gpu/drm/gma500/
Doaktrail_hdmi.c213 u32 loop_count = 0; in scu_busy_loop() local
219 loop_count++; in scu_busy_loop()
221 if (loop_count > 1000) { in scu_busy_loop()
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv.c872 uint8_t loop_count; in dmub_rb_out_trace_buffer_front() local
877 loop_count = sizeof(struct dmcub_trace_buf_entry) / sizeof(uint64_t); in dmub_rb_out_trace_buffer_front()
879 for (i = 0; i < loop_count; i++) in dmub_rb_out_trace_buffer_front()
/linux-6.1.9/sound/pci/ymfpci/
Dymfpci.h190 __le32 loop_count; member
/linux-6.1.9/arch/arm64/kernel/
Dproton-pack.c1106 u16 loop_count = spectre_bhb_loop_affected(SCOPE_SYSTEM); in spectre_bhb_patch_loop_iter() local
1115 insn = aarch64_insn_gen_movewide(rd, loop_count, 0, in spectre_bhb_patch_loop_iter()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dite-it6505.c1683 u8 loop_count = 0, i = 0, j; in it6505_step_cr_train() local
1694 while (loop_count < 5 && i < 10) { in it6505_step_cr_train()
1727 loop_count++; in it6505_step_cr_train()
1735 loop_count = 0; in it6505_step_cr_train()
1757 u8 loop_count = 0, i, link_status[DP_LINK_STATUS_SIZE] = { 0 }; in it6505_step_eq_train() local
1764 while (loop_count < 6) { in it6505_step_eq_train()
1765 loop_count++; in it6505_step_eq_train()
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_nx2.c2464 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla8044_minidump_process_l2tag() local
2474 loop_count = cache_hdr->op_count; in qla8044_minidump_process_l2tag()
2485 for (i = 0; i < loop_count; i++) { in qla8044_minidump_process_l2tag()
2521 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla8044_minidump_process_l1cache() local
2527 loop_count = cache_hdr->op_count; in qla8044_minidump_process_l1cache()
2536 for (i = 0; i < loop_count; i++) { in qla8044_minidump_process_l1cache()
Dqla_nx.c3865 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla82xx_minidump_process_l2tag() local
3873 loop_count = cache_hdr->op_count; in qla82xx_minidump_process_l2tag()
3884 for (i = 0; i < loop_count; i++) { in qla82xx_minidump_process_l2tag()
3924 uint32_t i, k, loop_count, t_value, r_cnt, r_value; in qla82xx_minidump_process_l1cache() local
3930 loop_count = cache_hdr->op_count; in qla82xx_minidump_process_l1cache()
3939 for (i = 0; i < loop_count; i++) { in qla82xx_minidump_process_l1cache()
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_nx.c2137 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()
/linux-6.1.9/sound/pci/asihpi/
Dhpi6000.c1256 u32 loop_count = 0; in hpi6000_dsp_block_read32() local
1276 loop_count++; in hpi6000_dsp_block_read32()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dctrl.c4778 u32 loop_count = 0; in irdma_cfg_fpm_val() local
4836 ++loop_count; in irdma_cfg_fpm_val()
4875 if (!(loop_count % 2) && qpwanted > 128) { in irdma_cfg_fpm_val()
4899 if (!(loop_count % 10) && qpwanted > 128) { in irdma_cfg_fpm_val()
4904 } while (loop_count < 2000); in irdma_cfg_fpm_val()
4909 loop_count, sd_needed, hmc_info->sd_table.sd_cnt); in irdma_cfg_fpm_val()
4913 if (loop_count > 1 && sd_needed < hmc_fpm_misc->max_sds) { in irdma_cfg_fpm_val()
4922 loop_count, sd_needed, in irdma_cfg_fpm_val()
/linux-6.1.9/drivers/dma/ti/
Dedma.c1777 int loop_count = EDMA_MAX_TR_WAIT_LOOPS; in edma_residue() local
1812 if (!--loop_count) { in edma_residue()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c1974 uint8_t loop_count; in dp_perform_128b_132b_channel_eq_done_sequence() local
1998 loop_count = 1; in dp_perform_128b_132b_channel_eq_done_sequence()
2019 } else if (loop_count >= lt_settings->eq_loop_count_limit) { in dp_perform_128b_132b_channel_eq_done_sequence()
2027 loop_count++; in dp_perform_128b_132b_channel_eq_done_sequence()
/linux-6.1.9/fs/jfs/
Djfs_dtree.c2720 uint loop_count = 0; in jfs_readdir() local
2764 if (loop_count++ > JFS_IP(ip)->next_index) { in jfs_readdir()