/drivers/misc/vmw_vmci/ |
D | vmci_event.c | 135 int attempts; in vmci_event_subscribe() local 163 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
|
/drivers/gpu/drm/i2c/ |
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/media/cec/core/ |
D | cec-adap.c | 379 data->attempts = 0; in cec_data_cancel() 456 u8 attempts; in cec_thread_func() local 542 attempts = 2; in cec_thread_func() 544 attempts = 4; in cec_thread_func() 547 if (data->attempts) { in cec_thread_func() 562 if (data->attempts == 0) in cec_thread_func() 563 data->attempts = attempts; in cec_thread_func() 567 if (call_op(adap, adap_transmit, data->attempts, in cec_thread_func() 636 if (!aborted && data->attempts > attempts_made && !done) { in cec_transmit_done_ts() 638 data->attempts -= attempts_made; in cec_transmit_done_ts() [all …]
|
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_uc.c | 450 int ret, attempts; in __uc_init_hw() local 477 attempts = 3; in __uc_init_hw() 479 attempts = 1; in __uc_init_hw() 483 while (attempts--) { in __uc_init_hw() 500 "retry %d more time(s)\n", ret, attempts); in __uc_init_hw()
|
/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors_core.c | 546 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local 554 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy() 558 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy() 621 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local 632 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
|
/drivers/net/ethernet/intel/igc/ |
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()
|
D | igc_i225.c | 230 u32 attempts = 100000; in igc_write_nvm_srwr() local 250 for (k = 0; k < attempts; k++) { in igc_write_nvm_srwr()
|
/drivers/mtd/ubi/ |
D | fastmap-wl.c | 232 int ret, attempts = 0; in ubi_wl_get_peb() local 257 attempts++; in ubi_wl_get_peb() 258 if (attempts == 10) { in ubi_wl_get_peb()
|
/drivers/scsi/be2iscsi/ |
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/ |
D | qinfo_probe.c | 68 int attempts = 20; in lpddr_info_query() local 80 while ((attempts--) > 0) { in lpddr_info_query()
|
/drivers/gpu/drm/amd/display/dc/inc/ |
D | dc_link_dp.h | 63 int attempts); 80 int attempts,
|
/drivers/ssb/ |
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/ |
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/gpu/drm/omapdrm/dss/ |
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/display/ |
D | drm_dp_cec.c | 118 static int drm_dp_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in drm_dp_cec_adap_transmit() argument 122 unsigned int retries = min(5, attempts - 1); in drm_dp_cec_adap_transmit()
|
/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_cec.c | 292 static int adv7511_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in adv7511_cec_adap_transmit() argument 307 0x70, max(1, attempts - 1) << 4); in adv7511_cec_adap_transmit()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 54 int busy, attempts = TRICN_CMD_ATTEMPTS; in tricn_write() local 66 } while (busy && --attempts); in tricn_write()
|
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/ |
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() 783 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op() argument 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 [all …]
|
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/ |
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()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs.c | 637 int scale_index, int attempts, int successes, in _rs_collect_tx_data() argument 654 while (attempts > 0) { in _rs_collect_tx_data() 678 attempts--; in _rs_collect_tx_data() 703 int scale_index, int attempts, int successes, in rs_collect_tpc_data() argument 712 return _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tpc_data() 749 int scale_index, int attempts, int successes) in rs_collect_tlc_data() argument 759 pers->tx_stats[tbl->column][scale_index].total += attempts; in rs_collect_tlc_data() 767 return _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tlc_data() 3067 int attempts, success; in __iwl_mvm_rs_tx_status() local 3076 attempts = info->status.ampdu_len; in __iwl_mvm_rs_tx_status() [all …]
|
/drivers/staging/media/deprecated/saa7146/av7110/ |
D | video-fopen.rst | 74 user can open the Video Device in O_RDWR mode. All other attempts to
|
D | audio-fopen.rst | 73 in O_RDWR mode. All other attempts to open the device in this mode will
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 129 u32 attempts = 100000; in igb_poll_eerd_eewr_done() local 133 for (i = 0; i < attempts; i++) { in igb_poll_eerd_eewr_done()
|