Searched refs:max_tries (Results 1 – 12 of 12) sorted by relevance
135 int max_tries; in snd_at73c213_set_bitrate() local150 max_tries = (ssc_div_max - ssc_div_min) / 2; in snd_at73c213_set_bitrate()152 if (max_tries < 1) in snd_at73c213_set_bitrate()153 max_tries = 1; in snd_at73c213_set_bitrate()182 } while (--max_tries); in snd_at73c213_set_bitrate()
689 u16 max_tries, i; in zynqmp_dp_link_train_cr() local705 for (max_tries = 0; max_tries < 512; max_tries++) { in zynqmp_dp_link_train_cr()
2462 int max_tries = 0, try = 0; in ata_eh_reset() local2474 while (ata_eh_reset_timeouts[max_tries] != ULONG_MAX) in ata_eh_reset()2475 max_tries++; in ata_eh_reset()2477 max_tries = 1; in ata_eh_reset()2753 if (try < max_tries) { in ata_eh_reset()2793 if (try >= max_tries) { in ata_eh_reset()2829 if (try == max_tries - 1) { in ata_eh_reset()
1427 uint8_t max_tries = 10; in program_pwl() local1440 while (counter < max_tries) { in program_pwl()1460 if (counter == max_tries) { in program_pwl()
441 static const unsigned int max_tries = 100; in venus_boot_core() local450 while (!ctrl_status && count < max_tries) { in venus_boot_core()462 if (count >= max_tries) in venus_boot_core()
2783 int max_tries = 16; in hostap_passive_scan() local2801 max_tries--; in hostap_passive_scan()2804 max_tries > 0); in hostap_passive_scan()2806 if (max_tries == 0) { in hostap_passive_scan()
4593 int max_tries; in ieee80211_sta_work() local4598 max_tries = max_nullfunc_tries; in ieee80211_sta_work()4600 max_tries = max_probe_tries; in ieee80211_sta_work()4606 if (ifmgd->probe_send_count < max_tries) { in ieee80211_sta_work()4610 max_tries); in ieee80211_sta_work()4628 } else if (ifmgd->probe_send_count < max_tries) { in ieee80211_sta_work()4632 ifmgd->probe_send_count, max_tries); in ieee80211_sta_work()
4132 int max_tries = 5; in ieee80211_get_noa_absent_time() local4140 } while (tries < max_tries); in ieee80211_get_noa_absent_time()
2004 u32 max_tries = 5; in ast_dram_init_2500() local2007 if (max_tries-- == 0) in ast_dram_init_2500()
619 const int max_tries = 4; in drbd_set_role() local642 while (try++ < max_tries) { in drbd_set_role()687 if (try < max_tries) { in drbd_set_role()689 try = max_tries - 1; in drbd_set_role()
3985 int max_tries = 600000; in issuecommand() local3995 while (max_tries-- && (IN4500(ai, EVSTAT) & EV_CMD) == 0) { in issuecommand()3999 if (!in_atomic() && (max_tries & 255) == 0) in issuecommand()4003 if (max_tries == -1) { in issuecommand()4038 int max_tries = 3; in bap_setup() local4058 if (!(max_tries--)) { in bap_setup()
1882 const int max_tries = 10, msec_per_try = 125; in pktgen_mark_device() local1900 if (++i >= max_tries) { in pktgen_mark_device()