Home
last modified time | relevance | path

Searched refs:tries (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c177 int ret, pat, tries, chn; in qib_resync_ibepb() local
182 for (tries = 0; tries < (4 * IBSD_RESYNC_TRIES); ++tries) { in qib_resync_ibepb()
189 if (ret != 0xF0 && ret != 0x55 && tries == 0) in qib_resync_ibepb()
623 int tries; in epb_trans() local
630 for (tries = EPB_TRANS_TRIES; tries; --tries) { in epb_trans()
638 if (tries > 0 && o_vp) in epb_trans()
640 return tries; in epb_trans()
662 int tries, ret; in qib_sd7220_reg_mod() local
690 for (tries = EPB_TRANS_TRIES; tries; --tries) { in qib_sd7220_reg_mod()
697 if (tries > 0) { in qib_sd7220_reg_mod()
[all …]
/linux-5.19.10/drivers/rtc/
Drtc-dm355evm.c37 int tries = 0; in dm355evm_rtc_read_time() local
48 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time()
55 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time()
62 if (tries && time.bytes[2] == status) in dm355evm_rtc_read_time()
69 if (tries && time.bytes[3] == status) in dm355evm_rtc_read_time()
73 } while (++tries < 5); in dm355evm_rtc_read_time()
Drtc-cadence.c157 int tries; in cdns_rtc_set_time() local
170 for (tries = 0; tries < CDNS_RTC_MAX_REGS_TRIES; tries++) { in cdns_rtc_set_time()
221 int tries; in cdns_rtc_set_alarm() local
231 for (tries = 0; tries < CDNS_RTC_MAX_REGS_TRIES; tries++) { in cdns_rtc_set_alarm()
Drtc-rtd119x.c88 int tries = 0; in rtd119x_rtc_read_time() local
97 tries++; in rtd119x_rtc_read_time()
102 if (tries >= 3) in rtd119x_rtc_read_time()
105 if (tries > 1) in rtd119x_rtc_read_time()
106 dev_dbg(dev, "%s: needed %i tries\n", __func__, tries); in rtd119x_rtc_read_time()
/linux-5.19.10/arch/arm/mach-hisi/
Dplatmcpm.c194 unsigned int data, tries, count; in hip04_cpu_kill() local
204 for (tries = 0; tries < count; tries++) { in hip04_cpu_kill()
216 if (tries >= count) in hip04_cpu_kill()
221 for (tries = 0; tries < count; tries++) { in hip04_cpu_kill()
227 if (tries >= count) in hip04_cpu_kill()
/linux-5.19.10/drivers/char/hw_random/
Darm_smccc_trng.c67 int tries = 0; in smccc_trng_read() local
81 tries = 0; in smccc_trng_read()
86 tries++; in smccc_trng_read()
87 if (tries >= SMCCC_TRNG_MAX_TRIES) in smccc_trng_read()
/linux-5.19.10/drivers/input/touchscreen/
Dzylonite-wm97xx.c89 static u16 last, tries; in wm97xx_acc_pen_down() local
98 if (tries > 5) { in wm97xx_acc_pen_down()
99 tries = 0; in wm97xx_acc_pen_down()
105 tries++; in wm97xx_acc_pen_down()
126 tries = 0; in wm97xx_acc_pen_down()
Dmainstone-wm97xx.c119 static u16 last, tries; in wm97xx_acc_pen_down() local
128 if (tries > 5) { in wm97xx_acc_pen_down()
129 tries = 0; in wm97xx_acc_pen_down()
135 tries++; in wm97xx_acc_pen_down()
156 tries = 0; in wm97xx_acc_pen_down()
/linux-5.19.10/drivers/macintosh/
Dwindfarm_fcu_controls.c89 int tries, nr, nw; in wf_fcu_read_reg() local
94 tries = 0; in wf_fcu_read_reg()
97 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) in wf_fcu_read_reg()
100 ++tries; in wf_fcu_read_reg()
107 tries = 0; in wf_fcu_read_reg()
110 if (nr > 0 || (nr < 0 && nr != -ENODEV) || tries >= 100) in wf_fcu_read_reg()
113 ++tries; in wf_fcu_read_reg()
125 int tries, nw; in wf_fcu_write_reg() local
131 tries = 0; in wf_fcu_write_reg()
134 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) in wf_fcu_write_reg()
[all …]
/linux-5.19.10/drivers/input/joystick/
Dgrip_mp.c322 int flags, tries = 0, bads = 0; in dig_mode_start() local
333 while (tries < 64 && bads < 8) { /* Reset multiport and try getting a packet */ in dig_mode_start()
341 tries++; in dig_mode_start()
479 int dig_mode, initialized = 0, tries = 0; in multiport_init() local
483 while (!dig_mode && tries < 4) { in multiport_init()
485 tries++; in multiport_init()
496 for (tries = 0; tries < 4096; tries++) { in multiport_init()
/linux-5.19.10/tools/testing/selftests/vm/
Drun_vmtests.sh35 tries=2
36 while [ "$tries" -gt 0 ] && [ "$freepgs" -lt "$needpgs" ]; do
48 tries=$((tries - 1))
/linux-5.19.10/drivers/ata/
Dpata_hpt3x2n.c383 int tries; in hpt3xn_calibrate_dpll() local
385 for (tries = 0; tries < 0x5000; tries++) { in hpt3xn_calibrate_dpll()
390 for (tries = 0; tries < 0x1000; tries++) { in hpt3xn_calibrate_dpll()
/linux-5.19.10/arch/arm/mach-versatile/
Dtc2_pm.c126 unsigned tries; in tc2_pm_wait_for_powerdown() local
131 for (tries = 0; tries < TIMEOUT_MSEC / POLL_MSEC; ++tries) { in tc2_pm_wait_for_powerdown()
/linux-5.19.10/drivers/i2c/busses/
Di2c-octeon-core.h141 int tries = 1000; in octeon_i2c_reg_write() local
147 if (--tries < 0) in octeon_i2c_reg_write()
169 int tries = 1000; in octeon_i2c_reg_read() local
175 if (--tries < 0) { in octeon_i2c_reg_read()
/linux-5.19.10/drivers/w1/slaves/
Dw1_ds2430.c69 int tries = W1_F14_READ_RETRIES; in w1_f14_readblock() local
89 } while (--tries); in w1_f14_readblock()
147 int tries = W1_F14_READ_RETRIES; in w1_f14_write() local
177 if (--tries) in w1_f14_write()
Dw1_ds2431.c68 int tries = W1_F2D_READ_RETRIES; in w1_f2d_readblock() local
89 } while (--tries); in w1_f2d_readblock()
147 int tries = W1_F2D_READ_RETRIES; in w1_f2d_write() local
176 if (--tries) in w1_f2d_write()
Dw1_ds2805.c65 int tries = W1_F0D_READ_RETRIES; in w1_f0d_readblock() local
86 } while (--tries); in w1_f0d_readblock()
146 int tries = W1_F0D_READ_RETRIES; in w1_f0d_write() local
174 if (--tries) in w1_f0d_write()
/linux-5.19.10/arch/arm/mach-omap1/
Dboard-htcherald.c448 unsigned int tries = 200; in htcherald_lcd_init() local
458 tries--; in htcherald_lcd_init()
459 if (!tries) in htcherald_lcd_init()
462 if (!tries) in htcherald_lcd_init()
510 unsigned int tries = 20; in htcherald_usb_enable() local
531 --tries); in htcherald_usb_enable()
/linux-5.19.10/drivers/gpu/drm/radeon/
Dradeon_sa.c249 unsigned *tries) in radeon_sa_bo_next_hole() argument
283 if (tries[i] > 2) { in radeon_sa_bo_next_hole()
301 ++tries[best_bo->fence->ring]; in radeon_sa_bo_next_hole()
318 unsigned tries[RADEON_NUM_RINGS]; in radeon_sa_bo_new() local
337 tries[i] = 0; in radeon_sa_bo_new()
350 } while (radeon_sa_bo_next_hole(sa_manager, fences, tries)); in radeon_sa_bo_new()
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c208 unsigned *tries) in amdgpu_sa_bo_next_hole() argument
243 if (tries[i] > 2) { in amdgpu_sa_bo_next_hole()
264 ++tries[idx]; in amdgpu_sa_bo_next_hole()
280 unsigned tries[AMDGPU_SA_NUM_FENCE_LISTS]; in amdgpu_sa_bo_new() local
302 tries[i] = 0; in amdgpu_sa_bo_new()
314 } while (amdgpu_sa_bo_next_hole(sa_manager, fences, tries)); in amdgpu_sa_bo_new()
/linux-5.19.10/drivers/net/ethernet/sun/
Dsunqe.c65 int tries = QEC_RESET_TRIES; in qec_global_reset() local
68 while (--tries) { in qec_global_reset()
76 if (tries) in qec_global_reset()
89 int tries; in qe_stop() local
93 tries = MACE_RESET_RETRIES; in qe_stop()
94 while (--tries) { in qe_stop()
102 if (!tries) { in qe_stop()
108 tries = QE_RESET_RETRIES; in qe_stop()
109 while (--tries) { in qe_stop()
117 if (!tries) { in qe_stop()
[all …]
/linux-5.19.10/tools/testing/selftests/rcutorture/bin/
Dkvm-remote.sh158 tries=0
161 …echo Unable to download $T/binres.tgz to system $i, waiting and then retrying. $tries prior retri…
167 if test "$tries" > 5
173 tries=$((tries+1))
/linux-5.19.10/sound/firewire/
Dlib.c38 int generation, rcode, tries = 0; in snd_fw_transaction() local
57 if (rcode_is_permanent_error(rcode) || ++tries >= 3) { in snd_fw_transaction()
/linux-5.19.10/drivers/mtd/ubi/
Deba.c905 int err, idx = vol_id2idx(ubi, vol_id), tries; in recover_peb() local
913 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in recover_peb()
1010 int err, pnum, tries, vol_id = vol->vol_id; in ubi_eba_write_leb() local
1062 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb()
1113 int err, tries, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local
1151 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb_st()
1191 int err, tries, vol_id = vol->vol_id; in ubi_eba_atomic_leb_change() local
1235 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_atomic_leb_change()
/linux-5.19.10/drivers/net/ethernet/freescale/
Dfec_mpc52xx_phy.c33 int tries = 3; in mpc52xx_fec_mdio_transfer() local
42 while (!(in_be32(&fec->ievent) & FEC_IEVENT_MII) && --tries) in mpc52xx_fec_mdio_transfer()
45 if (!tries) in mpc52xx_fec_mdio_transfer()

12345678910>>...15