Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/mantis/
H 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 …]
/openbmc/linux/lib/reed_solomon/
H 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 …]
/openbmc/linux/drivers/net/wireguard/selftest/
H A Dratelimiter.c122 int test = 0, trials; in wg_ratelimiter_selftest() local
170 for (trials = TRIALS_BEFORE_GIVING_UP; IS_ENABLED(DEBUG_RATELIMITER_TIMINGS);) { in wg_ratelimiter_selftest()
175 if (!trials--) { in wg_ratelimiter_selftest()
189 for (trials = TRIALS_BEFORE_GIVING_UP;;) { in wg_ratelimiter_selftest()
193 if (!trials--) { in wg_ratelimiter_selftest()
/openbmc/linux/init/
H 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()
/openbmc/linux/drivers/staging/media/av7110/
H 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()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_gsc_uc_heci_cmd_submit.c135 int err, trials = 0; in intel_gsc_uc_heci_cmd_submit_nonpriv() local
202 if (++trials < 10) in intel_gsc_uc_heci_cmd_submit_nonpriv()
/openbmc/linux/sound/firewire/bebob/
H 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()
H 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()
/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_dev.c203 unsigned trials = HMCDRV_DEV_BUSY_RETRIES; in hmcdrv_dev_transfer() local
213 } while (--trials > 0); in hmcdrv_dev_transfer()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H 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
660 while (trials < WAKE_UP_TRIAL_RETRY) { in chip_wakeup()
670 trials++; in chip_wakeup()
672 if (trials >= WAKE_UP_TRIAL_RETRY) { in chip_wakeup()
/openbmc/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_tee.c367 int ret, trials = 0; in intel_pxp_tee_end_arb_fw_session() local
386 if ((ret || msg_out.header.status != 0x0) && ++trials < 3) in intel_pxp_tee_end_arb_fw_session()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc9194.c986 int trials; in smc_probe() local
988 trials = 3; in smc_probe()
989 while ( trials-- ) { in smc_probe()
H A Dsmc91x.c1948 int trials; in smc_probe() local
1950 trials = 3; in smc_probe()
1951 while (trials--) { in smc_probe()
/openbmc/linux/drivers/ata/
H A Dlibata-eh.c3557 int *trials = void_arg; in ata_count_probe_trials_cb() local
3563 (*trials)++; in ata_count_probe_trials_cb()
3571 int trials = 0; in ata_eh_schedule_probe() local
3608 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials); in ata_eh_schedule_probe()
3610 if (trials > ATA_EH_PROBE_TRIALS) in ata_eh_schedule_probe()
/openbmc/linux/tools/memory-model/
H A DREADME150 that during two million trials, the state specified in this litmus
/openbmc/linux/drivers/media/dvb-frontends/
H 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()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs165 Description: Controls the number of trials to find a victim segment
334 state. 2048 trials is set by default.
/openbmc/linux/Documentation/process/
H A Dhowto.rst552 teacher does not want to see the student's trials and errors