Home
last modified time | relevance | path

Searched refs:trials (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/media/pci/mantis/
A Dmantis_i2c.c28 u32 rxd, i, stat, trials; in mantis_i2c_read() local
46 for (trials = 0; trials < TRIALS; trials++) { in mantis_i2c_read()
52 dprintk(MANTIS_TMG, 0, "I2CDONE: trials=%d\n", trials); in mantis_i2c_read()
55 for (trials = 0; trials < TRIALS; trials++) { in mantis_i2c_read()
61 dprintk(MANTIS_TMG, 0, "I2CRACK: trials=%d\n", trials); in mantis_i2c_read()
75 u32 txd = 0, stat, trials; in mantis_i2c_write() local
94 for (trials = 0; trials < TRIALS; trials++) { in mantis_i2c_write()
100 dprintk(MANTIS_TMG, 0, "I2CDONE: trials=%d\n", trials); in mantis_i2c_write()
103 for (trials = 0; trials < TRIALS; trials++) { in mantis_i2c_write()
118 int ret = 0, i = 0, trials; in mantis_i2c_xfer() local
[all …]
/linux/lib/reed_solomon/
A Dtest_rslib.c261 int eras, int trials, struct estat *stat, in test_uc() argument
274 for (j = 0; j < trials; j++) { in test_uc()
310 stat->nwords += trials; in test_uc()
314 int len, int trials, int method) in ex_rs_helper() argument
350 int len, int trials) in exercise_rs() argument
360 retval |= ex_rs_helper(rs, ws, len, trials, i); in exercise_rs()
367 int eras, int trials, struct bcstat *stat, in test_bc() argument
377 for (j = 0; j < trials; j++) { in test_bc()
404 stat->nwords += trials; in test_bc()
408 int len, int trials) in exercise_rs_bc() argument
[all …]
/linux/drivers/net/wireguard/selftest/
A Dratelimiter.c122 int test = 0, trials; in wg_ratelimiter_selftest() local
170 for (trials = TRIALS_BEFORE_GIVING_UP;;) { in wg_ratelimiter_selftest()
175 if (!trials--) { in wg_ratelimiter_selftest()
190 for (trials = TRIALS_BEFORE_GIVING_UP;;) { in wg_ratelimiter_selftest()
194 if (!trials--) { in wg_ratelimiter_selftest()
/linux/init/
A Dcalibrate.c191 int trials = 0, band = 0, trial_in_band = 0; in calibrate_delay_converge() local
207 trials += band; in calibrate_delay_converge()
213 trials -= band; in calibrate_delay_converge()
215 lpj_base = lpj * trials; in calibrate_delay_converge()
/linux/drivers/staging/media/av7110/
A Dsp8870.c465 int trials = 0; in sp8870_set_frontend() local
470 for (trials = 1; trials <= MAXTRIALS; trials++) { in sp8870_set_frontend()
497 if (trials > 1) { in sp8870_set_frontend()
499 printk("%s: recovered after %i trial(s))\n", __func__, trials - 1); in sp8870_set_frontend()
/linux/sound/firewire/bebob/
A Dbebob_stream.c65 unsigned int tx_rate, rx_rate, trials; in snd_bebob_stream_get_rate() local
68 trials = 0; in snd_bebob_stream_get_rate()
72 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate()
76 trials = 0; in snd_bebob_stream_get_rate()
80 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate()
A Dbebob_maudio.c304 int err, trials; in special_get_rate() local
306 trials = 0; in special_get_rate()
310 } while (err == -EAGAIN && ++trials < 3); in special_get_rate()
/linux/drivers/s390/char/
A Dhmcdrv_dev.c203 unsigned trials = HMCDRV_DEV_BUSY_RETRIES; in hmcdrv_dev_transfer() local
213 } while (--trials > 0); in hmcdrv_dev_transfer()
/linux/drivers/net/wireless/microchip/wilc1000/
A Dwlan.c570 u32 trials = 100; in chip_allow_sleep() local
589 while (--trials) { in chip_allow_sleep()
596 if (!trials) in chip_allow_sleep()
626 u32 clk_status_val = 0, trials = 0; in chip_wakeup() local
665 while (trials < WAKE_UP_TRIAL_RETRY) { in chip_wakeup()
675 trials++; in chip_wakeup()
677 if (trials >= WAKE_UP_TRIAL_RETRY) { in chip_wakeup()
/linux/drivers/net/ethernet/smsc/
A Dsmc9194.c984 int trials; in smc_probe() local
986 trials = 3; in smc_probe()
987 while ( trials-- ) { in smc_probe()
A Dsmc911x.c1910 int trials; in smc911x_probe() local
1912 trials = 3; in smc911x_probe()
1913 while (trials--) { in smc911x_probe()
A Dsmc91x.c1948 int trials; in smc_probe() local
1950 trials = 3; in smc_probe()
1951 while (trials--) { in smc_probe()
/linux/drivers/dma/
A Dat_hdmac.c319 u32 ctrla, dscr, trials; in atc_get_bytes_left() local
389 for (trials = 0; trials < ATC_MAX_DSCR_TRIALS; ++trials) { in atc_get_bytes_left()
415 if (unlikely(trials >= ATC_MAX_DSCR_TRIALS)) in atc_get_bytes_left()
/linux/drivers/ata/
A Dlibata-eh.c3411 int *trials = void_arg; in ata_count_probe_trials_cb() local
3417 (*trials)++; in ata_count_probe_trials_cb()
3425 int trials = 0; in ata_eh_schedule_probe() local
3462 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials); in ata_eh_schedule_probe()
3464 if (trials > ATA_EH_PROBE_TRIALS) in ata_eh_schedule_probe()
/linux/tools/memory-model/
A DREADME149 that during two million trials, the state specified in this litmus
/linux/drivers/media/dvb-frontends/
A Dstv090x.c2402 s32 inc, timeout_step, trials, steps_max; in stv090x_sw_algo() local
2448 trials = 0; in stv090x_sw_algo()
2452 trials++; in stv090x_sw_algo()
2455 if (lock || no_signal || (trials == 2)) { in stv090x_sw_algo()
2478 if (trials < 2) { in stv090x_sw_algo()
2490 } while ((!lock) && (trials < 2) && (!no_signal)); in stv090x_sw_algo()
/linux/Documentation/ABI/testing/
A Dsysfs-fs-f2fs118 Description: Controls the number of trials to find a victim segment
288 state. 2048 trials is set by default.
A Dsysfs-driver-ufs1594 trials. Once this threshold hs met, the region is added to the
/linux/Documentation/process/
A Dhowto.rst552 teacher does not want to see the student's trials and errors

Completed in 102 milliseconds