| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_clock.c | 45 u32 delta_us, tries; in measure_clock() local 48 tries = MEASURE_CLOCK_RETRIES; in measure_clock() 59 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock() 61 if (!tries) { in measure_clock() 68 tries = MEASURE_CLOCK_RETRIES; in measure_clock() 78 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock() 80 if (!tries) { in measure_clock()
|
| /linux/arch/arm/mach-hisi/ |
| H A 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/drivers/char/hw_random/ |
| H A D | arm_smccc_trng.c | 67 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/drivers/macintosh/ |
| H A 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/drivers/input/touchscreen/ |
| H A 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/drivers/rtc/ |
| H A 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()
|
| H A 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/drivers/input/joystick/ |
| H A 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/drivers/ata/ |
| H A 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()
|
| H A D | pata_hpt37x.c | 624 int tries; in hpt37x_calibrate_dpll() local 626 for (tries = 0; tries < 0x5000; tries++) { in hpt37x_calibrate_dpll() 631 for (tries = 0; tries < 0x1000; tries++) { in hpt37x_calibrate_dpll()
|
| /linux/arch/arm/mach-versatile/ |
| H A 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/drivers/w1/slaves/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /linux/drivers/mtd/ubi/ |
| H A D | eba.c | 902 int err, idx = vol_id2idx(ubi, vol_id), tries; in recover_peb() local 910 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in recover_peb() 1016 int err, pnum, tries, vol_id = vol->vol_id; in ubi_eba_write_leb() local 1068 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb() 1119 int err, tries, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local 1157 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb_st() 1197 int err, tries, vol_id = vol->vol_id; in ubi_eba_atomic_leb_change() local 1241 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_atomic_leb_change()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-octeon-core.h | 165 int tries = 1000; in octeon_i2c_reg_write() local 171 if (--tries < 0) in octeon_i2c_reg_write() 193 int tries = 1000; in octeon_i2c_reg_read() local 199 if (--tries < 0) { in octeon_i2c_reg_read()
|
| /linux/drivers/input/mouse/ |
| H A D | cyapa_gen3.c | 652 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/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-remote.sh | 163 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/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fd_array.c | 303 int tries; in check_fd_array_cnt__referenced_btfs() local 330 for (tries = 100; tries >= 0; tries--) { in check_fd_array_cnt__referenced_btfs() 336 if (tries) in check_fd_array_cnt__referenced_btfs()
|
| /linux/sound/firewire/ |
| H A 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/drivers/iio/humidity/ |
| H A D | si7005.c | 41 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/drivers/regulator/ |
| H A D | tps65090-regulator.c | 135 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()
|
| /linux/drivers/tty/hvc/ |
| H A D | hvsi_lib.c | 183 unsigned int tries; in hvsilib_get_chars() local 200 for (tries = 1; count && tries < 2; tries++) { in hvsilib_get_chars() 223 tries--; in hvsilib_get_chars()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_console.c | 480 s32 bytes_read, tries, total_read; in check_console() local 489 tries = 0; in check_console() 512 tries++; in check_console() 513 } while ((bytes_read > 0) && (tries < 16)); in check_console() 578 s32 bytes_read, tries, total_read; in octeon_get_uboot_version() local 601 tries = 0; in octeon_get_uboot_version() 624 tries++; in octeon_get_uboot_version() 625 } while ((bytes_read > 0) && (tries < 16)); in octeon_get_uboot_version()
|
| /linux/drivers/iio/magnetometer/ |
| H A D | mag3110.c | 70 int ret, tries = 150; in mag3110_request() local 80 while (tries-- > 0) { in mag3110_request() 94 if (tries < 0) { in mag3110_request() 179 int ret, tries = 30; in mag3110_wait_standby() local 186 while (tries-- > 0) { in mag3110_wait_standby() 199 if (tries < 0) { in mag3110_wait_standby()
|