Home
last modified time | relevance | path

Searched full:retries (Results 1 – 25 of 890) sorted by relevance

12345678910>>...36

/linux/drivers/media/pci/tw5864/
H A Dtw5864-util.c6 int retries = 30000; in tw5864_indir_writeb() local
8 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_writeb()
10 if (!retries) in tw5864_indir_writeb()
12 "tw_indir_writel() retries exhausted before writing\n"); in tw5864_indir_writeb()
20 int retries = 30000; in tw5864_indir_readb() local
22 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_readb()
24 if (!retries) in tw5864_indir_readb()
26 "tw_indir_readl() retries exhausted before reading\n"); in tw5864_indir_readb()
30 retries = 30000; in tw5864_indir_readb()
31 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_readb()
[all …]
/linux/drivers/w1/slaves/
H A Dw1_ds2413.c32 unsigned int retries = W1_F3A_RETRIES; in state_read() local
52 while (retries--) { in state_read()
64 "reselecting, retries left: %d\n", retries); in state_read()
71 dev_warn(&sl->dev, "PIO_ACCESS_READ error, retries left: %d\n", retries); in state_read()
76 dev_dbg(&sl->dev, "%s, mutex unlocked, retries: %d\n", in state_read()
77 (bytes_read > 0) ? "succeeded" : "error", retries); in state_read()
89 unsigned int retries = W1_F3A_RETRIES; in output_write() local
108 while (retries--) { in output_write()
121 dev_warn(&sl->dev, "PIO_ACCESS_WRITE error, retries left: %d\n", retries); in output_write()
126 dev_dbg(&sl->dev, "%s, mutex unlocked, retries: %d\n", in output_write()
[all …]
H A Dw1_ds2438.c63 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_page() local
68 while (retries--) { in w1_ds2438_get_page()
95 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_temperature() local
103 while (retries--) { in w1_ds2438_get_temperature()
137 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit() local
142 while (retries--) { in w1_ds2438_change_config_bit()
173 retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit()
174 while (retries--) { in w1_ds2438_change_config_bit()
196 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_change_offset_register() local
204 while (retries--) { in w1_ds2438_change_offset_register()
[all …]
H A Dw1_ds2408.c168 unsigned int retries = W1_F29_RETRIES; in output_write() local
197 } while (--retries); in output_write()
202 dev_dbg(&sl->dev, "%s, mutex unlocked retries:%d\n", in output_write()
203 (bytes_written > 0) ? "succeeded" : "error", retries); in output_write()
217 unsigned int retries = W1_F29_RETRIES; in activity_write() local
227 while (retries--) { in activity_write()
248 unsigned int retries = W1_F29_RETRIES; in status_control_write() local
258 while (retries--) { in status_control_write()
/linux/drivers/pci/controller/dwc/
H A Dpcie-artpec6.c147 unsigned int retries; in artpec6_pcie_wait_for_phy_a6() local
149 retries = 50; in artpec6_pcie_wait_for_phy_a6()
153 retries--; in artpec6_pcie_wait_for_phy_a6()
154 } while (retries && in artpec6_pcie_wait_for_phy_a6()
156 if (!retries) in artpec6_pcie_wait_for_phy_a6()
159 retries = 50; in artpec6_pcie_wait_for_phy_a6()
163 retries--; in artpec6_pcie_wait_for_phy_a6()
164 } while (retries && !(val & PHY_COSPLLLOCK)); in artpec6_pcie_wait_for_phy_a6()
165 if (!retries) in artpec6_pcie_wait_for_phy_a6()
175 unsigned int retries; in artpec6_pcie_wait_for_phy_a7() local
[all …]
/linux/drivers/media/common/b2c2/
H A Dflexcop-sram.c78 int i, retries;
84 retries = 2;
86 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
88 retries--;
91 if (retries == 0)
103 int i, retries;
109 retries = 10000;
111 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
113 retries--;
116 if (retries == 0)
[all …]
H A Dflexcop-eeprom.c17 u32 len, u8 *wbuf, u8 *rbuf, int retries)
21 for (i = 0; i < retries; i++) {
23 if (eeprom_lrc_read(adapter, addr, len, rbuf, retries) == 1)
108 flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) in flexcop_eeprom_request() argument
112 for (i = 0; i < retries; i++) { in flexcop_eeprom_request()
122 u8 *buf, u16 len, int retries) in flexcop_eeprom_lrc_read() argument
124 int ret = flexcop_eeprom_request(fc, FC_READ, addr, buf, len, retries); in flexcop_eeprom_lrc_read()
/linux/drivers/rtc/
H A Drtc-wm8350.c35 int retries = WM8350_GET_TIME_RETRIES, ret; in wm8350_rtc_readtime() local
76 retries, in wm8350_rtc_readtime()
81 } while (retries--); in wm8350_rtc_readtime()
95 int ret, retries = WM8350_SET_TIME_RETRIES; in wm8350_rtc_settime() local
118 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); in wm8350_rtc_settime()
120 if (!retries) { in wm8350_rtc_settime()
187 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_stop_alarm() local
201 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); in wm8350_rtc_stop_alarm()
212 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_start_alarm() local
224 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); in wm8350_rtc_start_alarm()
[all …]
H A Drtc-sun4v.c22 int retries = 10000; in hypervisor_get_time() local
29 if (--retries > 0) { in hypervisor_get_time()
49 int retries = 10000; in hypervisor_set_time() local
56 if (--retries > 0) { in hypervisor_set_time()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c113 int retries = 0; in bcmgenet_poll_wol_status() local
117 retries++; in bcmgenet_poll_wol_status()
118 if (retries > 5) { in bcmgenet_poll_wol_status()
125 return retries; in bcmgenet_poll_wol_status()
142 int retries = 0; in bcmgenet_wol_power_down_cfg() local
181 retries = bcmgenet_poll_wol_status(priv); in bcmgenet_wol_power_down_cfg()
182 if (retries < 0) { in bcmgenet_wol_power_down_cfg()
187 return retries; in bcmgenet_wol_power_down_cfg()
191 retries); in bcmgenet_wol_power_down_cfg()
/linux/include/trace/events/
H A Dfsi_master_ast_cf.h71 TP_PROTO(const struct fsi_master_acf *master, int retries),
72 TP_ARGS(master, retries),
75 __field(int, retries)
79 __entry->retries = retries;
82 __entry->master_idx, __entry->retries
H A Doom.h188 int retries,
192 TP_ARGS(order, priority, result, retries, max_retries, ret),
198 __field( int, retries)
207 __entry->retries = retries;
212 TP_printk("order=%d priority=%s compaction_result=%s retries=%d max_retries=%d should_retry=%d",
216 __entry->retries, __entry->max_retries,
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dpci_vsc.c72 int retries = 0; in mlx5_vsc_gw_lock() local
78 if (retries > VSC_MAX_RETRIES) { in mlx5_vsc_gw_lock()
93 retries++; in mlx5_vsc_gw_lock()
113 retries++; in mlx5_vsc_gw_lock()
182 int retries = 0; in mlx5_vsc_wait_on_flag() local
187 if (retries > VSC_MAX_RETRIES) in mlx5_vsc_wait_on_flag()
194 retries++; in mlx5_vsc_wait_on_flag()
196 if ((retries & 0xf) == 0) in mlx5_vsc_wait_on_flag()
/linux/Documentation/devicetree/bindings/ipmi/
H A Dipmi-ipmb.yaml33 Time between retries of sends, in milliseconds. Defaults to 250.
35 max-retries:
37 description: Number of retries before a failure is declared. Defaults to 1.
65 max-retries = <1>;
/linux/drivers/input/keyboard/
H A Dlm8333.c44 int retries = 0, ret; in lm8333_read8() local
48 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); in lm8333_read8()
55 int retries = 0, ret; in lm8333_write8() local
59 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); in lm8333_write8()
66 int retries = 0, ret; in lm8333_read_block() local
71 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); in lm8333_read_block()
/linux/net/vmw_vsock/
H A Dvmci_transport_notify_qstate.c104 unsigned int retries; in vmci_transport_send_read_notification() local
109 retries = 0; in vmci_transport_send_read_notification()
122 retries < VMCI_TRANSPORT_MAX_DGRAM_RESENDS) { in vmci_transport_send_read_notification()
127 retries++; in vmci_transport_send_read_notification()
130 if (retries >= VMCI_TRANSPORT_MAX_DGRAM_RESENDS && !sent_read) in vmci_transport_send_read_notification()
312 int retries = 0; in vmci_transport_notify_pkt_send_post_enqueue() local
323 retries < VMCI_TRANSPORT_MAX_DGRAM_RESENDS) { in vmci_transport_notify_pkt_send_post_enqueue()
328 retries++; in vmci_transport_notify_pkt_send_post_enqueue()
332 if (retries >= VMCI_TRANSPORT_MAX_DGRAM_RESENDS && !sent_wrote) { in vmci_transport_notify_pkt_send_post_enqueue()
/linux/drivers/char/ipmi/
H A Dipmi_devintf.c142 int retries, in handle_send_req() argument
191 retries, in handle_send_req()
307 int retries; in ipmi_ioctl() local
316 retries = priv->default_retries; in ipmi_ioctl()
320 rv = handle_send_req(priv->user, &req, retries, retry_time_ms); in ipmi_ioctl()
335 req.retries, in ipmi_ioctl()
560 priv->default_retries = parms.retries; in ipmi_ioctl()
572 parms.retries = priv->default_retries; in ipmi_ioctl()
657 compat_int_t retries; member
686 p64->retries = p32->retries; in get_compat_ipmi_req_settime()
[all …]
/linux/drivers/platform/x86/intel/ifs/
H A Druntest.c23 /* Max retries on the same chunk */
102 "Not all scan chunks were executed. Maximum forward progress retries exceeded"); in message_not_tested()
239 int retries; in ifs_test_core() local
260 retries = MAX_IFS_RETRIES; in ifs_test_core()
281 if (--retries == 0) { in ifs_test_core()
287 retries = MAX_IFS_RETRIES; in ifs_test_core()
449 "Not all SBAF bundles executed. Maximum forward progress retries exceeded"); in sbaf_message_not_tested()
548 int retries; in ifs_sbaf_test_core() local
556 retries = MAX_IFS_RETRIES; in ifs_sbaf_test_core()
570 run_params.retry_cnt = &retries; in ifs_sbaf_test_core()
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945-rs.c242 int retries, int idx) in il3945_collect_tx_data() argument
248 if (!retries) { in il3945_collect_tx_data()
249 D_RATE("leave: retries == 0 -- should be at least 1\n"); in il3945_collect_tx_data()
263 while (retries > 0) { in il3945_collect_tx_data()
288 retries--; in il3945_collect_tx_data()
422 * NOTE: Uses il_priv->retry_rate for the # of retries attempted by
430 s8 retries = 0, current_count; in il3945_rs_tx_status() local
439 retries = info->status.rates[0].count; in il3945_rs_tx_status()
440 /* Sanity Check for retries */ in il3945_rs_tx_status()
441 if (retries > RATE_RETRY_TH) in il3945_rs_tx_status()
[all …]
/linux/drivers/s390/cio/
H A Dccwreq.c49 req->retries = req->maxretries; in ccwreq_next_path()
73 * (Re-)Start the operation until retries and paths are exhausted.
83 if (req->retries-- == 0) { in ccwreq_do()
84 /* Retries exhausted, try next path. */ in ccwreq_do()
130 req->retries = req->maxretries; in ccw_request_start()
237 u16 retries; in ccwreq_log_status() member
242 data.retries = req->retries; in ccwreq_log_status()
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_mbox_msr.c35 u32 retries; in isst_if_send_mbox_cmd() local
40 retries = OS_MAILBOX_RETRY_COUNT; in isst_if_send_mbox_cmd()
49 } while (--retries); in isst_if_send_mbox_cmd()
65 retries = OS_MAILBOX_RETRY_COUNT; in isst_if_send_mbox_cmd()
82 } while (--retries); in isst_if_send_mbox_cmd()
/linux/drivers/char/xilinx_hwicap/
H A Dfifo_icap.c218 u32 retries = 0; in fifo_icap_set_configuration() local
241 retries++; in fifo_icap_set_configuration()
242 if (retries > XHI_MAX_RETRIES) in fifo_icap_set_configuration()
263 retries++; in fifo_icap_set_configuration()
264 if (retries > XHI_MAX_RETRIES) in fifo_icap_set_configuration()
294 u32 retries = 0; in fifo_icap_get_configuration() local
326 retries++; in fifo_icap_get_configuration()
327 if (retries > XHI_MAX_RETRIES) in fifo_icap_get_configuration()
/linux/drivers/power/supply/
H A Dsbs-manager.c60 int reg, retries; in sbsm_read_word() local
62 for (retries = SBSM_RETRY_CNT; retries > 0; retries--) { in sbsm_read_word()
78 int ret, retries; in sbsm_write_word() local
80 for (retries = SBSM_RETRY_CNT; retries > 0; retries--) { in sbsm_write_word()
/linux/drivers/nvme/host/
H A Dtrace.h94 __field(u8, retries)
103 __entry->retries = nvme_req(req)->retries;
108 TP_printk("nvme%d: %sqid=%d, cmdid=%u, res=%#llx, retries=%u, flags=0x%x, status=%#x",
111 __entry->retries, __entry->flags, __entry->status)
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Daux.c46 u8 cnt, retries, cmd; in nvkm_i2c_aux_i2c_xfer() local
56 for (retries = 0, cnt = 0; in nvkm_i2c_aux_i2c_xfer()
57 retries < 32 && !cnt; in nvkm_i2c_aux_i2c_xfer()
58 retries++) { in nvkm_i2c_aux_i2c_xfer()
66 AUX_TRACE(aux, "no data after 32 retries"); in nvkm_i2c_aux_i2c_xfer()

12345678910>>...36