Home
last modified time | relevance | path

Searched refs:attempts (Results 1 – 25 of 231) sorted by relevance

12345678910

/Linux-v5.4/drivers/i2c/busses/
Di2c-stu300.c651 int attempts = 0; in stu300_xfer_msg() local
670 if (attempts) in stu300_xfer_msg()
677 if (attempts) in stu300_xfer_msg()
697 if (attempts) in stu300_xfer_msg()
703 if (attempts) in stu300_xfer_msg()
708 ret = stu300_send_address(dev, msg, attempts != 0); in stu300_xfer_msg()
711 attempts++; in stu300_xfer_msg()
714 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()
717 } while (ret != 0 && attempts < NUM_ADDR_RESEND_ATTEMPTS); in stu300_xfer_msg()
719 if (attempts < NUM_ADDR_RESEND_ATTEMPTS && attempts > 0) { in stu300_xfer_msg()
[all …]
/Linux-v5.4/drivers/misc/vmw_vmci/
Dvmci_event.c135 int attempts; in vmci_event_subscribe() local
163 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
/Linux-v5.4/fs/orangefs/
Dwaitqueue.c178 op->attempts++; in service_operation()
185 op->attempts); in service_operation()
360 op->attempts); in wait_for_matching_downcall()
361 return (op->attempts < ORANGEFS_PURGE_RETRY_COUNT) ? in wait_for_matching_downcall()
371 op->attempts); in wait_for_matching_downcall()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_dp.h44 int attempts);
58 int attempts);
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-devices-lpss_ltr19 is not "active", attempts to read from this attribute cause
31 is not "active", attempts to read from this attribute cause
43 is not "active", attempts to read from this attribute cause
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Dqos_mc_aware.sh294 local attempts=50
298 for ((i = 0; i < attempts; ++i)); do
314 ((attempts == passes))
322 echo " sent $attempts BC ARPs, got $passes responses"
/Linux-v5.4/tools/testing/selftests/cgroup/
Dcgroup_util.c211 int attempts; in cg_wait_for_proc_count() local
214 for (attempts = 10; attempts >= 0; attempts--) { in cg_wait_for_proc_count()
Dtest_freezer.c119 int attempts; in cg_enter_and_wait_for_frozen() local
129 for (attempts = 0; attempts < 10; attempts++) { in cg_enter_and_wait_for_frozen()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_cgroup_attach.c466 int attempts; in test_autodetach() local
519 for (attempts = 5; attempts >= 0; attempts--) { in test_autodetach()
528 if (!attempts) in test_autodetach()
/Linux-v5.4/net/mac80211/
Drc80211_minstrel.c164 if (unlikely(mrs->attempts > 0)) { in minstrel_calc_rate_stats()
166 cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_calc_rate_stats()
175 mrs->att_hist += mrs->attempts; in minstrel_calc_rate_stats()
182 mrs->last_attempts = mrs->attempts; in minstrel_calc_rate_stats()
184 mrs->attempts = 0; in minstrel_calc_rate_stats()
280 mi->r[ndx].stats.attempts += ar[i].count; in minstrel_tx_status()
Drc80211_minstrel.h37 u16 attempts, last_attempts; member
/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_uc.c417 int ret, attempts; in intel_uc_init_hw() local
447 attempts = 3; in intel_uc_init_hw()
449 attempts = 1; in intel_uc_init_hw()
451 while (attempts--) { in intel_uc_init_hw()
468 "retry %d more time(s)\n", ret, attempts); in intel_uc_init_hw()
/Linux-v5.4/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c306 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local
314 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy()
318 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy()
381 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local
392 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
/Linux-v5.4/drivers/gpu/drm/i2c/
Dtda9950.c215 static int tda9950_cec_transmit(struct cec_adapter *adap, u8 attempts, in tda9950_cec_transmit() argument
225 if (attempts > 5) in tda9950_cec_transmit()
226 attempts = 5; in tda9950_cec_transmit()
228 tda9950_write(priv->client, REG_CCONR, attempts); in tda9950_cec_transmit()
/Linux-v5.4/drivers/media/cec/
Dcec-adap.c392 data->attempts = 0; in cec_data_cancel()
455 u8 attempts; in cec_thread_func() local
535 attempts = 2; in cec_thread_func()
537 attempts = 4; in cec_thread_func()
540 if (data->attempts) { in cec_thread_func()
555 if (data->attempts == 0) in cec_thread_func()
556 data->attempts = attempts; in cec_thread_func()
559 if (adap->ops->adap_transmit(adap, data->attempts, in cec_thread_func()
625 if (data->attempts > attempts_made && in cec_transmit_done_ts()
628 data->attempts -= attempts_made; in cec_transmit_done_ts()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_nvm.c18 u32 attempts = 100000; in igc_poll_eerd_eewr_done() local
21 for (i = 0; i < attempts; i++) { in igc_poll_eerd_eewr_done()
/Linux-v5.4/drivers/mtd/ubi/
Dfastmap-wl.c199 int ret, attempts = 0; in ubi_wl_get_peb() local
224 attempts++; in ubi_wl_get_peb()
225 if (attempts == 10) { in ubi_wl_get_peb()
/Linux-v5.4/arch/arm/mm/
Dpmsa-v7.c194 int attempts = MPU_MAX_REGIONS; in allocate_region() local
221 if (!attempts) in allocate_region()
224 attempts--; in allocate_region()
/Linux-v5.4/net/netfilter/
Dnf_nat_core.c405 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
493 attempts = range_size; in nf_nat_l4proto_unique_tuple()
494 if (attempts > max_attempts) in nf_nat_l4proto_unique_tuple()
495 attempts = max_attempts; in nf_nat_l4proto_unique_tuple()
504 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple()
510 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple()
512 attempts /= 2; in nf_nat_l4proto_unique_tuple()
/Linux-v5.4/drivers/mtd/lpddr/
Dqinfo_probe.c68 int attempts = 20; in lpddr_info_query() local
80 while ((attempts--) > 0) { in lpddr_info_query()
/Linux-v5.4/Documentation/driver-api/80211/
Dintroduction.rst11 books are for kernel developers they attempts to document the
/Linux-v5.4/Documentation/filesystems/
Dmandatory-locking.txt47 block attempts by a process to write to a file that another process holds a
48 "read" -or- "shared" lock on, and block attempts to both read and write to a
124 processes attempts to write to the region it will block until the lock is
130 attempts to read or write to that region block until the lock is released,
180 with this disabled will reject attempts to mount filesystems with the
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_iscsi.c1238 unsigned int tag, attempts; in beiscsi_conn_close() local
1245 attempts = 0; in beiscsi_conn_close()
1246 while (attempts++ < 3) { in beiscsi_conn_close()
1263 if (attempts > 3) in beiscsi_conn_close()
1266 attempts = 0; in beiscsi_conn_close()
1267 while (attempts++ < 3) { in beiscsi_conn_close()
1278 if (attempts > 3) in beiscsi_conn_close()
/Linux-v5.4/drivers/media/platform/s5p-cec/
Ds5p_cec.c68 static int s5p_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in s5p_cec_adap_transmit() argument
77 s5p_cec_copy_packet(cec, msg->msg, msg->len, max(1, attempts - 1)); in s5p_cec_adap_transmit()
/Linux-v5.4/drivers/gpu/drm/bridge/adv7511/
Dadv7511_cec.c247 static int adv7511_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in adv7511_cec_adap_transmit() argument
263 0x70, max(1, attempts - 1) << 4); in adv7511_cec_adap_transmit()

12345678910