Searched refs:loop_count (Results 1 - 12 of 12) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dqlogicpti.c178 int loop_count; qlogicpti_mbox_command() local
190 loop_count = DEFAULT_LOOP_COUNT; qlogicpti_mbox_command()
191 while (--loop_count && (sbus_readw(qpti->qregs + HCCTRL) & HCCTRL_HIRQ)) { qlogicpti_mbox_command()
195 if (!loop_count) qlogicpti_mbox_command()
223 loop_count = DEFAULT_LOOP_COUNT; qlogicpti_mbox_command()
224 while (--loop_count && qlogicpti_mbox_command()
227 if (!loop_count) qlogicpti_mbox_command()
232 loop_count = DEFAULT_LOOP_COUNT; qlogicpti_mbox_command()
233 while (--loop_count && qlogicpti_mbox_command()
241 if (!loop_count) qlogicpti_mbox_command()
246 loop_count = DEFAULT_LOOP_COUNT; qlogicpti_mbox_command()
247 while (--loop_count && (sbus_readw(qpti->qregs + MBOX0) == 0x04)) qlogicpti_mbox_command()
249 if (!loop_count) qlogicpti_mbox_command()
320 int loop_count, i; qlogicpti_reset_hardware() local
340 loop_count = DEFAULT_LOOP_COUNT; qlogicpti_reset_hardware()
341 while (--loop_count && ((sbus_readw(qpti->qregs + MBOX0) & 0xff) == 0x04)) qlogicpti_reset_hardware()
343 if (!loop_count) qlogicpti_reset_hardware()
/linux-4.1.27/sound/soc/intel/atom/sst/
H A Dsst_ipc.c129 unsigned int loop_count = 0; sst_post_message_mrfld() local
138 if (loop_count > 25) { sst_post_message_mrfld()
145 loop_count++; sst_post_message_mrfld()
/linux-4.1.27/drivers/acpi/acpica/
H A Ddscontrol.c213 control_state->control.loop_count++; acpi_ds_exec_end_control_op()
214 if (control_state->control.loop_count > acpi_ds_exec_end_control_op()
H A Daclocal.h583 u32 loop_count; /* While() loop counter */ member in struct:acpi_control_state
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Doaktrail_hdmi.c211 u32 loop_count = 0; scu_busy_loop() local
217 loop_count++; scu_busy_loop()
219 if (loop_count > 1000) { scu_busy_loop()
/linux-4.1.27/drivers/platform/x86/
H A Dintel_scu_ipc.c171 u32 loop_count = 100000; busy_loop() local
174 while ((status & BIT(0)) && --loop_count) { busy_loop()
/linux-4.1.27/sound/pci/ymfpci/
H A Dymfpci.h205 u32 loop_count; member in struct:snd_ymfpci_playback_bank
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_nx2.c2463 uint32_t i, k, loop_count, t_value, r_cnt, r_value; qla8044_minidump_process_l2tag() local
2473 loop_count = cache_hdr->op_count; qla8044_minidump_process_l2tag()
2484 for (i = 0; i < loop_count; i++) { qla8044_minidump_process_l2tag()
2520 uint32_t i, k, loop_count, t_value, r_cnt, r_value; qla8044_minidump_process_l1cache() local
2526 loop_count = cache_hdr->op_count; qla8044_minidump_process_l1cache()
2535 for (i = 0; i < loop_count; i++) { qla8044_minidump_process_l1cache()
H A Dqla_nx.c3908 uint32_t i, k, loop_count, t_value, r_cnt, r_value; qla82xx_minidump_process_l2tag() local
3916 loop_count = cache_hdr->op_count; qla82xx_minidump_process_l2tag()
3927 for (i = 0; i < loop_count; i++) { qla82xx_minidump_process_l2tag()
3967 uint32_t i, k, loop_count, t_value, r_cnt, r_value; qla82xx_minidump_process_l1cache() local
3973 loop_count = cache_hdr->op_count; qla82xx_minidump_process_l1cache()
3982 for (i = 0; i < loop_count; i++) { qla82xx_minidump_process_l1cache()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_nx.c2149 uint32_t i, k, loop_count, t_value, r_cnt, r_value; qla4_8xxx_minidump_process_l2tag() local
2159 loop_count = cache_hdr->op_count; qla4_8xxx_minidump_process_l2tag()
2170 for (i = 0; i < loop_count; i++) { qla4_8xxx_minidump_process_l2tag()
2379 uint32_t i, k, loop_count, t_value, r_cnt, r_value; qla4_8xxx_minidump_process_l1cache() local
2385 loop_count = cache_hdr->op_count; qla4_8xxx_minidump_process_l1cache()
2394 for (i = 0; i < loop_count; i++) { qla4_8xxx_minidump_process_l1cache()
/linux-4.1.27/sound/pci/asihpi/
H A Dhpi6000.c1267 u32 loop_count = 0; hpi6000_dsp_block_read32() local
1287 loop_count++; hpi6000_dsp_block_read32()
/linux-4.1.27/fs/jfs/
H A Djfs_dtree.c3030 uint loop_count = 0; jfs_readdir() local
3074 if (loop_count++ > JFS_IP(ip)->next_index) { jfs_readdir()

Completed in 381 milliseconds