Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_clock.c44 u32 delta_us, tries; in measure_clock() local
47 tries = MEASURE_CLOCK_RETRIES; in measure_clock()
58 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
60 if (!tries) { in measure_clock()
67 tries = MEASURE_CLOCK_RETRIES; in measure_clock()
77 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
79 if (!tries) { in measure_clock()
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/char/hw_random/
Darm_smccc_trng.c67 int tries = 0; in smccc_trng_read() local
79 tries = 0; in smccc_trng_read()
84 tries++; in smccc_trng_read()
85 if (tries >= SMCCC_TRNG_MAX_TRIES) in smccc_trng_read()
/linux-6.6.21/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-6.6.21/drivers/input/touchscreen/
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()
Dcyttsp_core.c82 int tries; in ttsp_read_block_data() local
84 for (tries = 0; tries < CY_NUM_RETRY; tries++) { in ttsp_read_block_data()
100 int tries; in ttsp_write_block_data() local
102 for (tries = 0; tries < CY_NUM_RETRY; tries++) { in ttsp_write_block_data()
/linux-6.6.21/drivers/rtc/
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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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_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()
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()
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/
Ddrm_suballoc.c226 unsigned int *tries) in drm_suballoc_next_hole() argument
262 if (tries[i] > 2) in drm_suballoc_next_hole()
280 ++tries[best_idx]; in drm_suballoc_next_hole()
317 unsigned int tries[DRM_SUBALLOC_MAX_QUEUES]; in drm_suballoc_new() local
341 tries[i] = 0; in drm_suballoc_new()
353 } while (drm_suballoc_next_hole(sa_manager, fences, tries)); in drm_suballoc_new()
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/
Dkvm-remote.sh163 tries=0
166 …echo Unable to download $T/binres.tgz to system $i, waiting and then retrying. $tries prior retri…
172 if test "$tries" > 5
178 tries=$((tries+1))
/linux-6.6.21/drivers/net/ethernet/freescale/
Dfec_mpc52xx_phy.c34 int tries = 3; in mpc52xx_fec_mdio_transfer() local
43 while (!(in_be32(&fec->ievent) & FEC_IEVENT_MII) && --tries) in mpc52xx_fec_mdio_transfer()
46 if (!tries) in mpc52xx_fec_mdio_transfer()
/linux-6.6.21/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()
1019 int err, pnum, tries, vol_id = vol->vol_id; in ubi_eba_write_leb() local
1071 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb()
1122 int err, tries, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local
1160 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb_st()
1200 int err, tries, vol_id = vol->vol_id; in ubi_eba_atomic_leb_change() local
1244 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_atomic_leb_change()
/linux-6.6.21/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-6.6.21/drivers/iio/humidity/
Dsi7005.c41 int tries = 50; in si7005_read_measurement() local
52 while (tries-- > 0) { in si7005_read_measurement()
60 if (tries < 0) { in si7005_read_measurement()
/linux-6.6.21/drivers/input/mouse/
Dcyapa_gen3.c652 int tries; in cyapa_gen3_write_fw_block() local
672 tries = 11; /* Programming for one block can take about 100ms. */ in cyapa_gen3_write_fw_block()
681 } while ((status[REG_BL_STATUS] & BL_STATUS_BUSY) && --tries); in cyapa_gen3_write_fw_block()
804 int tries; in cyapa_gen3_show_baseline() local
827 tries = 3; /* Try for 30 to 60 ms */ in cyapa_gen3_show_baseline()
839 } while (--tries); in cyapa_gen3_show_baseline()
841 if (tries == 0) { in cyapa_gen3_show_baseline()
912 int tries; in cyapa_gen3_set_power_mode() local
920 tries = SET_POWER_MODE_TRIES; in cyapa_gen3_set_power_mode()
921 while (tries--) { in cyapa_gen3_set_power_mode()
[all …]
/linux-6.6.21/drivers/regulator/
Dtps65090-regulator.c135 int ret, tries; in tps65090_fet_enable() local
141 tries = 0; in tps65090_fet_enable()
146 if (ret != -ENOTRECOVERABLE || tries == MAX_FET_ENABLE_TRIES) in tps65090_fet_enable()
155 tries++; in tps65090_fet_enable()
158 if (tries) in tps65090_fet_enable()
160 rdev->desc->enable_reg, tries); in tps65090_fet_enable()

12345678910>>...16