/linux-5.19.10/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 177 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/ |
D | rtc-dm355evm.c | 37 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()
|
D | rtc-cadence.c | 157 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()
|
D | rtc-rtd119x.c | 88 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/ |
D | platmcpm.c | 194 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/ |
D | arm_smccc_trng.c | 67 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/ |
D | zylonite-wm97xx.c | 89 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()
|
D | mainstone-wm97xx.c | 119 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/ |
D | windfarm_fcu_controls.c | 89 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/ |
D | grip_mp.c | 322 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/ |
D | run_vmtests.sh | 35 tries=2 36 while [ "$tries" -gt 0 ] && [ "$freepgs" -lt "$needpgs" ]; do 48 tries=$((tries - 1))
|
/linux-5.19.10/drivers/ata/ |
D | pata_hpt3x2n.c | 383 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/ |
D | tc2_pm.c | 126 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/ |
D | i2c-octeon-core.h | 141 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/ |
D | w1_ds2430.c | 69 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()
|
D | w1_ds2431.c | 68 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()
|
D | w1_ds2805.c | 65 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/ |
D | board-htcherald.c | 448 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/ |
D | radeon_sa.c | 249 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/ |
D | amdgpu_sa.c | 208 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/ |
D | sunqe.c | 65 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/ |
D | kvm-remote.sh | 158 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/ |
D | lib.c | 38 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/ |
D | eba.c | 905 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/ |
D | fec_mpc52xx_phy.c | 33 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()
|