| /drivers/misc/vmw_vmci/ |
| A D | vmci_event.c | 139 int attempts; in vmci_event_subscribe() local 167 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
|
| /drivers/media/cec/i2c/ |
| A D | tda9950.c | 215 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()
|
| /drivers/gpu/drm/i915/gt/uc/ |
| A D | intel_uc.c | 459 int ret, attempts; in __uc_init_hw() local 487 attempts = 3; in __uc_init_hw() 489 attempts = 1; in __uc_init_hw() 496 while (attempts--) { in __uc_init_hw() 513 ERR_PTR(ret), attempts); in __uc_init_hw()
|
| /drivers/media/cec/core/ |
| A D | cec-adap.c | 380 data->attempts = 0; in cec_data_cancel() 457 u8 attempts; in cec_thread_func() local 552 attempts = 2; in cec_thread_func() 554 attempts = 4; in cec_thread_func() 557 if (data->attempts) { in cec_thread_func() 572 if (data->attempts == 0) in cec_thread_func() 573 data->attempts = attempts; in cec_thread_func() 675 data->attempts -= attempts_made; in cec_transmit_done_ts() 678 msg->len, msg->msg, data->attempts, in cec_transmit_done_ts() 682 msg->len, msg->msg, data->attempts); in cec_transmit_done_ts() [all …]
|
| /drivers/net/ethernet/intel/igc/ |
| A D | igc_nvm.c | 18 u32 attempts = 100000; in igc_poll_eerd_eewr_done() local 21 for (i = 0; i < attempts; i++) { in igc_poll_eerd_eewr_done()
|
| A D | igc_i225.c | 231 u32 attempts = 100000; in igc_write_nvm_srwr() local 251 for (k = 0; k < attempts; k++) { in igc_write_nvm_srwr()
|
| /drivers/iio/common/cros_ec_sensors/ |
| A D | cros_ec_sensors_core.c | 553 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local 561 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy() 565 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy() 628 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local 639 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
|
| /drivers/gpu/drm/display/ |
| A D | drm_hdmi_cec_helper.c | 37 static int drm_connector_hdmi_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in drm_connector_hdmi_cec_adap_transmit() argument 43 return data->funcs->transmit(connector, attempts, signal_free_time, msg); in drm_connector_hdmi_cec_adap_transmit()
|
| A D | drm_dp_cec.c | 120 static int drm_dp_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in drm_dp_cec_adap_transmit() argument 124 unsigned int retries = min(5, attempts - 1); in drm_dp_cec_adap_transmit()
|
| /drivers/scsi/be2iscsi/ |
| A D | be_iscsi.c | 1252 unsigned int tag, attempts; in beiscsi_conn_close() local 1259 attempts = 0; in beiscsi_conn_close() 1260 while (attempts++ < 3) { in beiscsi_conn_close() 1277 if (attempts > 3) in beiscsi_conn_close() 1280 attempts = 0; in beiscsi_conn_close() 1281 while (attempts++ < 3) { in beiscsi_conn_close() 1292 if (attempts > 3) in beiscsi_conn_close()
|
| /drivers/mtd/lpddr/ |
| A D | qinfo_probe.c | 68 int attempts = 20; in lpddr_info_query() local 80 while ((attempts--) > 0) { in lpddr_info_query()
|
| /drivers/mtd/ubi/ |
| A D | fastmap-wl.c | 296 int ret, attempts = 0; in ubi_wl_get_peb() local 321 attempts++; in ubi_wl_get_peb() 322 if (attempts == 10) { in ubi_wl_get_peb()
|
| /drivers/gpu/drm/amd/display/dc/link/protocols/ |
| A D | link_dp_training.c | 1616 int attempts, in perform_link_training_with_retries() argument 1647 while (j < attempts && fail_count < (attempts * 10)) { in perform_link_training_with_retries() 1650 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries() 1723 if (j == (attempts - 1) || (status == LINK_TRAINING_ABORT)) in perform_link_training_with_retries() 1727 if (j == (attempts - 1)) { in perform_link_training_with_retries() 1730 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries() 1736 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
|
| A D | link_dp_capability.h | 105 int attempts);
|
| /drivers/ssb/ |
| A D | pcmcia.c | 98 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()
|
| /drivers/media/cec/platform/s5p/ |
| A D | s5p_cec.c | 71 static int s5p_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in s5p_cec_adap_transmit() argument 80 s5p_cec_copy_packet(cec, msg->msg, msg->len, max(1, attempts - 1)); in s5p_cec_adap_transmit()
|
| /drivers/net/wireless/mediatek/mt76/mt7996/ |
| A D | debugfs.c | 542 u32 attempts, success, per; in mt7996_tx_stats_show_phy() local 548 attempts = mib->tx_mpdu_attempts_cnt; in mt7996_tx_stats_show_phy() 550 per = attempts ? 100 - success * 100 / attempts : 100; in mt7996_tx_stats_show_phy() 551 seq_printf(file, "Tx attempts: %8u (MPDUs)\n", attempts); in mt7996_tx_stats_show_phy()
|
| /drivers/gpu/drm/omapdrm/dss/ |
| A D | hdmi4_cec.c | 266 static int hdmi_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in hdmi_cec_adap_transmit() argument 288 REG_FLD_MOD(core->base, HDMI_CEC_DBG_3, attempts - 1, 6, 4); in hdmi_cec_adap_transmit()
|
| /drivers/gpu/drm/bridge/adv7511/ |
| A D | adv7511_cec.c | 300 int adv7511_cec_transmit(struct drm_bridge *bridge, u8 attempts, in adv7511_cec_transmit() argument 315 0x70, max(1, attempts - 1) << 4); in adv7511_cec_transmit()
|
| /drivers/md/dm-vdo/indexer/ |
| A D | open-chapter.c | 106 unsigned int attempts = 1; in probe_chapter_slots() local 131 slot = (slot + attempts++) % slot_count; in probe_chapter_slots()
|
| /drivers/net/ethernet/chelsio/cxgb/ |
| A D | espi.c | 54 int busy, attempts = TRICN_CMD_ATTEMPTS; in tricn_write() local 66 } while (busy && --attempts); in tricn_write()
|
| A D | subr.c | 53 int attempts, int delay) in t1_wait_op_done() argument 60 if (--attempts == 0) in t1_wait_op_done() 253 int attempts = 100, busy; in mi1_wait_until_ready() local 262 } while (busy && --attempts); in mi1_wait_until_ready()
|
| /drivers/net/ethernet/chelsio/cxgb3/ |
| A D | t3_hw.c | 57 int polarity, int attempts, int delay, u32 *valp) in t3_wait_op_done_val() argument 67 if (--attempts == 0) in t3_wait_op_done_val() 164 int attempts = 10; in t3_mc7_bd_read() local 170 while ((val & F_BUSY) && attempts--) in t3_mc7_bd_read() 794 if (--attempts == 0) in flash_wait_op() 3144 unsigned int width, density, slow, attempts; in mc7_init() local 3225 attempts = 50; in mc7_init() 3229 } while ((val & F_BUSY) && --attempts); in mc7_init() 3311 int err = -EIO, attempts, i; in t3_init_hw() local 3369 attempts = 100; in t3_init_hw() [all …]
|
| A D | common.h | 647 int polarity, int attempts, int delay, u32 *valp); 649 int polarity, int attempts, int delay) in t3_wait_op_done() argument 651 return t3_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t3_wait_op_done()
|
| /drivers/net/ethernet/intel/e1000e/ |
| A D | nvm.c | 124 u32 attempts = 100000; in e1000e_poll_eerd_eewr_done() local 127 for (i = 0; i < attempts; i++) { in e1000e_poll_eerd_eewr_done()
|