Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/drivers/misc/vmw_vmci/
Dvmci_event.c143 int attempts; in vmci_event_subscribe() local
171 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
/Linux-v4.19/drivers/i2c/busses/
Di2c-stu300.c664 int attempts = 0; in stu300_xfer_msg() local
683 if (attempts) in stu300_xfer_msg()
690 if (attempts) in stu300_xfer_msg()
710 if (attempts) in stu300_xfer_msg()
716 if (attempts) in stu300_xfer_msg()
721 ret = stu300_send_address(dev, msg, attempts != 0); in stu300_xfer_msg()
724 attempts++; in stu300_xfer_msg()
727 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()
730 } while (ret != 0 && attempts < NUM_ADDR_RESEND_ATTEMPTS); in stu300_xfer_msg()
732 if (attempts < NUM_ADDR_RESEND_ATTEMPTS && attempts > 0) { in stu300_xfer_msg()
[all …]
/Linux-v4.19/fs/orangefs/
Dwaitqueue.c180 op->attempts++; in service_operation()
187 op->attempts); in service_operation()
358 op->attempts); in wait_for_matching_downcall()
359 return (op->attempts < ORANGEFS_PURGE_RETRY_COUNT) ? in wait_for_matching_downcall()
369 op->attempts); in wait_for_matching_downcall()
Dorangefs-cache.c135 new_op->attempts = 0; in op_alloc()
/Linux-v4.19/drivers/iio/accel/
Dcros_ec_accel_legacy.c96 int attempts = 0; in read_ec_until_not_busy() local
101 if (attempts++ >= 50) in read_ec_until_not_busy()
105 if (attempts % 5 == 0) in read_ec_until_not_busy()
160 int attempts = 0; in read_ec_accel_data() local
171 if (attempts++ >= 5) in read_ec_accel_data()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_uc.c346 int ret, attempts; in intel_uc_init_hw() local
358 attempts = 3; in intel_uc_init_hw()
360 attempts = 1; in intel_uc_init_hw()
362 while (attempts--) { in intel_uc_init_hw()
383 "retry %d more time(s)\n", ret, attempts); in intel_uc_init_hw()
/Linux-v4.19/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-v4.19/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c215 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local
223 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy()
227 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy()
278 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local
289 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
/Linux-v4.19/drivers/media/cec/
Dcec-adap.c368 data->attempts = 0; in cec_data_cancel()
431 u8 attempts; in cec_thread_func() local
509 attempts = 2; in cec_thread_func()
511 attempts = 4; in cec_thread_func()
514 if (data->attempts) { in cec_thread_func()
527 if (data->attempts == 0) in cec_thread_func()
528 data->attempts = attempts; in cec_thread_func()
531 if (adap->ops->adap_transmit(adap, data->attempts, in cec_thread_func()
592 if (data->attempts > attempts_made && in cec_transmit_done_ts()
595 data->attempts -= attempts_made; in cec_transmit_done_ts()
[all …]
/Linux-v4.19/drivers/gpu/drm/i2c/
Dtda9950.c218 static int tda9950_cec_transmit(struct cec_adapter *adap, u8 attempts, in tda9950_cec_transmit() argument
228 if (attempts > 5) in tda9950_cec_transmit()
229 attempts = 5; in tda9950_cec_transmit()
231 tda9950_write(priv->client, REG_CCONR, attempts); in tda9950_cec_transmit()
/Linux-v4.19/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()
181 mrs->att_hist += mrs->attempts; in minstrel_calc_rate_stats()
188 mrs->last_attempts = mrs->attempts; in minstrel_calc_rate_stats()
190 mrs->attempts = 0; in minstrel_calc_rate_stats()
286 mi->r[ndx].stats.attempts += ar[i].count; in minstrel_tx_status()
/Linux-v4.19/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-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_dp.h53 int attempts);
/Linux-v4.19/drivers/mtd/lpddr/
Dqinfo_probe.c82 int attempts = 20; in lpddr_info_query() local
94 while ((attempts--) > 0) { in lpddr_info_query()
/Linux-v4.19/Documentation/driver-api/80211/
Dintroduction.rst11 books are for kernel developers they attempts to document the
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_iscsi.c1240 unsigned int tag, attempts; in beiscsi_conn_close() local
1247 attempts = 0; in beiscsi_conn_close()
1248 while (attempts++ < 3) { in beiscsi_conn_close()
1265 if (attempts > 3) in beiscsi_conn_close()
1268 attempts = 0; in beiscsi_conn_close()
1269 while (attempts++ < 3) { in beiscsi_conn_close()
1280 if (attempts > 3) in beiscsi_conn_close()
/Linux-v4.19/drivers/media/platform/s5p-cec/
Ds5p_cec.c72 static int s5p_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in s5p_cec_adap_transmit() argument
81 s5p_cec_copy_packet(cec, msg->msg, msg->len, max(1, attempts - 1)); in s5p_cec_adap_transmit()
/Linux-v4.19/include/media/
Dcec.h65 u8 attempts; member
115 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
/Linux-v4.19/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()
/Linux-v4.19/drivers/ssb/
Dpcmcia.c98 int attempts = 0; in ssb_pcmcia_switch_coreidx() local
139 if (attempts++ > SSB_BAR0_MAX_RETRIES) in ssb_pcmcia_switch_coreidx()
168 int attempts = 0; in ssb_pcmcia_switch_segment() local
184 if (unlikely(attempts++ > SSB_BAR0_MAX_RETRIES)) in ssb_pcmcia_switch_segment()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_cec.c263 static int hdmi_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in hdmi_cec_adap_transmit() argument
285 REG_FLD_MOD(core->base, HDMI_CEC_DBG_3, attempts - 1, 6, 4); in hdmi_cec_adap_transmit()
/Linux-v4.19/Documentation/powerpc/
Ddscr.txt65 all mfspr instruction based read attempts will get emulated and returned
66 where as the first mtspr instruction based write attempts will enable
/Linux-v4.19/drivers/gpu/drm/
Ddrm_dp_cec.c112 static int drm_dp_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in drm_dp_cec_adap_transmit() argument
116 unsigned int retries = min(5, attempts - 1); in drm_dp_cec_adap_transmit()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c56 int polarity, int attempts, int delay, u32 *valp) in t3_wait_op_done_val() argument
66 if (--attempts == 0) in t3_wait_op_done_val()
163 int attempts = 10; in t3_mc7_bd_read() local
169 while ((val & F_BUSY) && attempts--) in t3_mc7_bd_read()
616 int attempts = EEPROM_MAX_POLL; in t3_seeprom_read() local
627 } while (!(val & PCI_VPD_ADDR_F) && --attempts); in t3_seeprom_read()
650 int attempts = EEPROM_MAX_POLL; in t3_seeprom_write() local
663 } while ((val & PCI_VPD_ADDR_F) && --attempts); in t3_seeprom_write()
848 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op() argument
859 if (--attempts == 0) in flash_wait_op()
[all …]
/Linux-v4.19/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,

123456789