Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/linux/drivers/char/
A Ddtlk.c131 int i = 0, retries; in dtlk_read() local
139 for (retries = 0; retries < loops_per_jiffy; retries++) { in dtlk_read()
203 for (retries = 0; in dtlk_write()
205 retries++) in dtlk_write()
210 retries = 0; in dtlk_write()
568 int portval, retries = 0; in dtlk_read_tts() local
584 retries = 0; in dtlk_read_tts()
598 int retries = 0; in dtlk_read_lpc() local
613 if (retries == 0) in dtlk_read_lpc()
634 int retries = 0; in dtlk_write_tts() local
[all …]
/linux/drivers/media/pci/tw5864/
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()
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()
30 retries = 30000; in tw5864_indir_readb()
31 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_readb()
33 if (!retries) in tw5864_indir_readb()
/linux/drivers/w1/slaves/
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()
77 (bytes_read > 0) ? "succeeded" : "error", retries); in state_read()
89 unsigned int retries = W1_F3A_RETRIES; in output_write() local
106 while (retries--) { in output_write()
119 dev_warn(&sl->dev, "PIO_ACCESS_WRITE error, retries left: %d\n", retries); in output_write()
125 (bytes_written > 0) ? "succeeded" : "error", retries); in output_write()
A Dw1_ds2438.c63 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_page() local
68 while (retries--) { in w1_ds2438_get_page()
97 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_temperature() local
105 while (retries--) { in w1_ds2438_get_temperature()
139 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit() local
144 while (retries--) { in w1_ds2438_change_config_bit()
175 retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit()
176 while (retries--) { in w1_ds2438_change_config_bit()
198 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_change_offset_register() local
206 while (retries--) { in w1_ds2438_change_offset_register()
[all …]
/linux/drivers/pci/controller/dwc/
A Dpcie-artpec6.c149 retries = 50; in artpec6_pcie_wait_for_phy_a6()
153 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()
165 if (!retries) in artpec6_pcie_wait_for_phy_a6()
177 retries = 50; in artpec6_pcie_wait_for_phy_a7()
181 retries--; in artpec6_pcie_wait_for_phy_a7()
184 if (!retries) in artpec6_pcie_wait_for_phy_a7()
187 retries = 50; in artpec6_pcie_wait_for_phy_a7()
[all …]
A Dpcie-designware.c274 u32 retries, val; in dw_pcie_prog_outbound_atu_unroll() local
302 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in dw_pcie_prog_outbound_atu_unroll()
317 u32 retries, val; in __dw_pcie_prog_outbound_atu() local
355 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in __dw_pcie_prog_outbound_atu()
400 u32 retries, val; in dw_pcie_prog_inbound_atu_unroll() local
429 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in dw_pcie_prog_inbound_atu_unroll()
447 u32 retries, val; in dw_pcie_prog_inbound_atu() local
479 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in dw_pcie_prog_inbound_atu()
513 int retries; in dw_pcie_wait_for_link() local
516 for (retries = 0; retries < LINK_WAIT_MAX_RETRIES; retries++) { in dw_pcie_wait_for_link()
/linux/drivers/media/common/b2c2/
A Dflexcop-sram.c78 int i, retries;
84 retries = 2;
88 retries--;
91 if (retries == 0)
103 int i, retries;
109 retries = 10000;
113 retries--;
116 if (retries == 0)
121 retries = 10000;
125 retries--;
[all …]
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/
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
120 if (!retries) { in wm8350_rtc_settime()
187 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_stop_alarm() local
212 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_start_alarm() local
404 int retries; in wm8350_rtc_probe() local
413 retries = WM8350_SET_TIME_RETRIES; in wm8350_rtc_probe()
417 } while (timectl & WM8350_RTC_STS && --retries); in wm8350_rtc_probe()
[all …]
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/
A Dbcmgenet_wol.c92 int retries = 0; in bcmgenet_poll_wol_status() local
96 retries++; in bcmgenet_poll_wol_status()
97 if (retries > 5) { in bcmgenet_poll_wol_status()
104 return retries; in bcmgenet_poll_wol_status()
121 int retries = 0; in bcmgenet_wol_power_down_cfg() local
158 retries = bcmgenet_poll_wol_status(priv); in bcmgenet_wol_power_down_cfg()
159 if (retries < 0) { in bcmgenet_wol_power_down_cfg()
164 return retries; in bcmgenet_wol_power_down_cfg()
168 retries); in bcmgenet_wol_power_down_cfg()
/linux/drivers/char/xilinx_hwicap/
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()
A Dbuffer_icap.c191 s32 retries = 0; in buffer_icap_device_read() local
206 retries++; in buffer_icap_device_read()
207 if (retries > XHI_MAX_RETRIES) in buffer_icap_device_read()
225 s32 retries = 0; in buffer_icap_device_write() local
240 retries++; in buffer_icap_device_write()
241 if (retries > XHI_MAX_RETRIES) in buffer_icap_device_write()
/linux/net/vmw_vsock/
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/net/ethernet/mellanox/mlx5/core/lib/
A Dpci_vsc.c67 int retries = 0; in mlx5_vsc_gw_lock() local
73 if (retries > VSC_MAX_RETRIES) { in mlx5_vsc_gw_lock()
84 retries++; in mlx5_vsc_gw_lock()
104 retries++; in mlx5_vsc_gw_lock()
173 int retries = 0; in mlx5_vsc_wait_on_flag() local
178 if (retries > VSC_MAX_RETRIES) in mlx5_vsc_wait_on_flag()
185 retries++; in mlx5_vsc_wait_on_flag()
187 if ((retries & 0xf) == 0) in mlx5_vsc_wait_on_flag()
/linux/include/trace/events/
A Doom.h160 int retries,
164 TP_ARGS(order, priority, result, retries, max_retries, ret),
170 __field( int, retries)
179 __entry->retries = retries;
188 __entry->retries, __entry->max_retries,
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
/linux/drivers/input/keyboard/
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/drivers/platform/x86/intel/speed_select_if/
A Disst_if_mbox_msr.c37 u32 retries; in isst_if_send_mbox_cmd() local
42 retries = OS_MAILBOX_RETRY_COUNT; in isst_if_send_mbox_cmd()
51 } while (--retries); in isst_if_send_mbox_cmd()
67 retries = OS_MAILBOX_RETRY_COUNT; in isst_if_send_mbox_cmd()
84 } while (--retries); in isst_if_send_mbox_cmd()
/linux/drivers/char/ipmi/
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()
335 req.retries, in ipmi_ioctl()
657 compat_int_t retries; member
686 p64->retries = p32->retries; in get_compat_ipmi_req_settime()
729 int retries; in compat_ipmi_ioctl() local
738 retries = priv->default_retries; in compat_ipmi_ioctl()
743 retries, retry_time_ms); in compat_ipmi_ioctl()
[all …]
/linux/Documentation/devicetree/bindings/ipmi/
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.
57 max-retries = <1>;
/linux/drivers/usb/storage/
A Dsierra_ms.c129 int result, retries; in sierra_ms_init() local
133 retries = 3; in sierra_ms_init()
159 retries = 3; in sierra_ms_init()
161 retries--; in sierra_ms_init()
167 } while (retries && result < 0); in sierra_ms_init()
/linux/drivers/thermal/intel/int340x_thermal/
A Dprocessor_thermal_mbox.c30 u32 retries, data; in send_mbox_cmd() local
37 retries = MBOX_RETRY_COUNT; in send_mbox_cmd()
46 } while (--retries); in send_mbox_cmd()
59 retries = MBOX_RETRY_COUNT; in send_mbox_cmd()
83 } while (--retries); in send_mbox_cmd()
/linux/drivers/power/supply/
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/i2c/algos/
A Di2c-algo-bit.c335 unsigned char addr, int retries) in try_address() argument
340 for (i = 0; i <= retries; i++) { in try_address()
342 if (ret == 1 || i == retries) in try_address()
484 int ret, retries; in bit_doAddress() local
486 retries = nak_ok ? 0 : i2c_adap->retries; in bit_doAddress()
493 ret = try_address(i2c_adap, addr, retries); in bit_doAddress()
512 ret = try_address(i2c_adap, addr, retries); in bit_doAddress()
523 ret = try_address(i2c_adap, addr, retries); in bit_doAddress()
660 adap->retries = 3; in __i2c_bit_add_bus()

Completed in 45 milliseconds

12345678910>>...21