Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/pci/mantis/
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()
109 dprintk(MANTIS_TMG, 0, "I2CRACK: trials=%d\n", trials); in mantis_i2c_write()
[all …]
/Linux-v5.10/lib/reed_solomon/
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
331 test_uc(rs, len, errs, eras, trials, &stat, ws, method); in ex_rs_helper()
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()
[all …]
/Linux-v5.10/drivers/net/wireguard/selftest/
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-v5.10/init/
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-v5.10/drivers/media/dvb-frontends/
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()
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-v5.10/sound/firewire/bebob/
Dbebob_stream.c66 unsigned int tx_rate, rx_rate, trials; in snd_bebob_stream_get_rate() local
69 trials = 0; in snd_bebob_stream_get_rate()
73 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate()
77 trials = 0; in snd_bebob_stream_get_rate()
81 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate()
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-v5.10/drivers/s390/char/
Dhmcdrv_dev.c203 unsigned trials = HMCDRV_DEV_BUSY_RETRIES; in hmcdrv_dev_transfer() local
213 } while (--trials > 0); in hmcdrv_dev_transfer()
/Linux-v5.10/drivers/net/ethernet/smsc/
Dsmc9194.c984 int trials; in smc_probe() local
986 trials = 3; in smc_probe()
987 while ( trials-- ) { in smc_probe()
Dsmc91x.c1945 int trials; in smc_probe() local
1947 trials = 3; in smc_probe()
1948 while (trials--) { in smc_probe()
Dsmc911x.c1905 int trials; in smc911x_probe() local
1907 trials = 3; in smc911x_probe()
1908 while (trials--) { in smc911x_probe()
/Linux-v5.10/drivers/dma/
Dat_hdmac.c300 u32 ctrla, dscr, trials; in atc_get_bytes_left() local
370 for (trials = 0; trials < ATC_MAX_DSCR_TRIALS; ++trials) { in atc_get_bytes_left()
396 if (unlikely(trials >= ATC_MAX_DSCR_TRIALS)) in atc_get_bytes_left()
/Linux-v5.10/drivers/ata/
Dlibata-eh.c3403 int *trials = void_arg; in ata_count_probe_trials_cb() local
3409 (*trials)++; in ata_count_probe_trials_cb()
3417 int trials = 0; in ata_eh_schedule_probe() local
3454 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials); in ata_eh_schedule_probe()
3456 if (trials > ATA_EH_PROBE_TRIALS) in ata_eh_schedule_probe()
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-fs-f2fs119 Description: Controls the number of trials to find a victim segment
262 state. 2048 trials is set by default.
/Linux-v5.10/tools/memory-model/
DREADME149 that during two million trials, the state specified in this litmus
/Linux-v5.10/Documentation/process/
Dhowto.rst553 teacher does not want to see the student's trials and errors