Home
last modified time | relevance | path

Searched refs:max_tries (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/sound/spi/
Dat73c213.c135 int max_tries; in snd_at73c213_set_bitrate() local
150 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()
/linux-6.6.21/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c682 u16 max_tries, i; in zynqmp_dp_link_train_cr() local
698 for (max_tries = 0; max_tries < 512; max_tries++) { in zynqmp_dp_link_train_cr()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dp_link_training.c1136 int try, max_tries = 20; in intel_dp_128b132b_lane_eq() local
1177 for (try = 0; try < max_tries; try++) { in intel_dp_128b132b_lane_eq()
1220 if (try == max_tries) { in intel_dp_128b132b_lane_eq()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1412 uint8_t max_tries = 10; in program_pwl() local
1425 while (counter < max_tries) { in program_pwl()
1445 if (counter == max_tries) { in program_pwl()
/linux-6.6.21/drivers/ata/
Dlibata-eh.c2567 int max_tries = 0, try = 0; in ata_eh_reset() local
2579 while (ata_eh_reset_timeouts[max_tries] != UINT_MAX) in ata_eh_reset()
2580 max_tries++; in ata_eh_reset()
2582 max_tries = 1; in ata_eh_reset()
2863 if (try < max_tries) { in ata_eh_reset()
2903 if (try >= max_tries) { in ata_eh_reset()
2939 if (try == max_tries - 1) { in ata_eh_reset()
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dhfi_venus.c459 static const unsigned int max_tries = 100; in venus_boot_core() local
479 while (!ctrl_status && count < max_tries) { in venus_boot_core()
491 if (count >= max_tries) in venus_boot_core()
/linux-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c2787 int max_tries = 16; in hostap_passive_scan() local
2805 max_tries--; in hostap_passive_scan()
2808 max_tries > 0); in hostap_passive_scan()
2810 if (max_tries == 0) { in hostap_passive_scan()
/linux-6.6.21/drivers/gpu/drm/ast/
Dast_post.c1965 u32 max_tries = 5; in ast_dram_init_2500() local
1968 if (max_tries-- == 0) in ast_dram_init_2500()
/linux-6.6.21/net/mac80211/
Dmlme.c6605 int max_tries; in ieee80211_sta_work() local
6608 max_tries = max_nullfunc_tries; in ieee80211_sta_work()
6610 max_tries = max_probe_tries; in ieee80211_sta_work()
6616 if (ifmgd->probe_send_count < max_tries) { in ieee80211_sta_work()
6620 max_tries); in ieee80211_sta_work()
6638 } else if (ifmgd->probe_send_count < max_tries) { in ieee80211_sta_work()
6642 ifmgd->probe_send_count, max_tries); in ieee80211_sta_work()
Dutil.c4652 int max_tries = 5; in ieee80211_get_noa_absent_time() local
4660 } while (tries < max_tries); in ieee80211_get_noa_absent_time()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c619 const int max_tries = 4; in drbd_set_role() local
642 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()
/linux-6.6.21/drivers/net/wireless/cisco/
Dairo.c3977 int max_tries = 600000; in issuecommand() local
3987 while (max_tries-- && (IN4500(ai, EVSTAT) & EV_CMD) == 0) { in issuecommand()
3991 if (may_sleep && (max_tries & 255) == 0) in issuecommand()
3995 if (max_tries == -1) { in issuecommand()
4030 int max_tries = 3; in bap_setup() local
4050 if (!(max_tries--)) { in bap_setup()
/linux-6.6.21/net/core/
Dpktgen.c1989 const int max_tries = 10, msec_per_try = 125; in pktgen_mark_device() local
2007 if (++i >= max_tries) { in pktgen_mark_device()