Home
last modified time | relevance | path

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

12345678910>>...47

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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
106 while (retries--) { in output_write()
119 dev_warn(&sl->dev, "PIO_ACCESS_WRITE error, retries left: %d\n", retries); in output_write()
124 dev_dbg(&sl->dev, "%s, mutex unlocked, retries: %d\n", in output_write()
[all …]
H A Dw1_ds2438.c54 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_page() local
59 while (retries--) { in w1_ds2438_get_page()
88 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_temperature() local
96 while (retries--) { in w1_ds2438_get_temperature()
130 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit() local
135 while (retries--) { in w1_ds2438_change_config_bit()
166 retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit()
167 while (retries--) { in w1_ds2438_change_config_bit()
190 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_voltage() local
203 while (retries--) { in w1_ds2438_get_voltage()
/OK3568_Linux_fs/kernel/drivers/char/
H A Ddtlk.c131 int i = 0, retries; in dtlk_read() local
139 for (retries = 0; retries < loops_per_jiffy; retries++) { in dtlk_read()
153 if (retries == loops_per_jiffy) in dtlk_read()
162 int i = 0, retries = 0, ch; in dtlk_write() local
203 for (retries = 0; in dtlk_write()
204 retries < loops_per_jiffy / (4000/HZ); in dtlk_write()
205 retries++) in dtlk_write()
210 retries = 0; in dtlk_write()
219 if (++retries > 10 * HZ) { /* wait no more than 10 sec in dtlk_write()
568 int portval, retries = 0; in dtlk_read_tts() local
[all …]
/OK3568_Linux_fs/kernel/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 …]
H A Dpcie-designware.c233 u32 retries, val; in dw_pcie_prog_outbound_atu_unroll() local
257 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in dw_pcie_prog_outbound_atu_unroll()
272 u32 retries, val; in __dw_pcie_prog_outbound_atu() local
303 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in __dw_pcie_prog_outbound_atu()
348 u32 retries, val; in dw_pcie_prog_inbound_atu_unroll() local
377 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in dw_pcie_prog_inbound_atu_unroll()
395 u32 retries, val; in dw_pcie_prog_inbound_atu() local
427 for (retries = 0; retries < LINK_WAIT_MAX_IATU_RETRIES; retries++) { in dw_pcie_prog_inbound_atu()
471 int retries; in dw_pcie_wait_for_link() local
474 for (retries = 0; retries < LINK_WAIT_MAX_RETRIES; retries++) { in dw_pcie_wait_for_link()
/OK3568_Linux_fs/kernel/drivers/fsi/
H A Dfsi-scom.c63 /* Retries */
64 #define SCOM_MAX_RETRIES 100 /* Retries on busy */
65 #define SCOM_MAX_IND_RETRIES 10 /* Retries indirect not ready */
149 int rc, retries, err = 0; in put_indirect_scom_form0() local
160 for (retries = 0; retries < SCOM_MAX_IND_RETRIES; retries++) { in put_indirect_scom_form0()
192 int rc, retries, err = 0; in get_indirect_scom_form0() local
200 for (retries = 0; retries < SCOM_MAX_IND_RETRIES; retries++) { in get_indirect_scom_form0()
290 int rc, retries; in put_scom() local
292 for (retries = 0; retries < SCOM_MAX_RETRIES; retries++) { in put_scom()
296 if (rc != -ENODEV && retries == 0) { in put_scom()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c100 int retries = 0; in bcmgenet_poll_wol_status() local
104 retries++; in bcmgenet_poll_wol_status()
105 if (retries > 5) { in bcmgenet_poll_wol_status()
112 return retries; in bcmgenet_poll_wol_status()
129 int retries = 0; in bcmgenet_wol_power_down_cfg() local
166 retries = bcmgenet_poll_wol_status(priv); in bcmgenet_wol_power_down_cfg()
167 if (retries < 0) { in bcmgenet_wol_power_down_cfg()
172 return retries; in bcmgenet_wol_power_down_cfg()
176 retries); in bcmgenet_wol_power_down_cfg()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddngl_stats.h223 uint32 retries; /* total number of data pkt retries */ member
224 uint32 retries_short; /* number of short data pkt retries */
225 uint32 retries_long; /* number of long data pkt retries */
234 uint32 retries; /* total number of data pkt retries */ member
235 uint32 retries_short; /* number of short data pkt retries */
236 uint32 retries_long; /* number of long data pkt retries */
287 uint32 retries; /* total number of data pkt retries */ member
288 uint32 retries_short; /* number of short data pkt retries */
289 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddngl_stats.h223 uint32 retries; /* total number of data pkt retries */ member
224 uint32 retries_short; /* number of short data pkt retries */
225 uint32 retries_long; /* number of long data pkt retries */
234 uint32 retries; /* total number of data pkt retries */ member
235 uint32 retries_short; /* number of short data pkt retries */
236 uint32 retries_long; /* number of long data pkt retries */
287 uint32 retries; /* total number of data pkt retries */ member
288 uint32 retries_short; /* number of short data pkt retries */
289 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddngl_stats.h223 uint32 retries; /* total number of data pkt retries */ member
224 uint32 retries_short; /* number of short data pkt retries */
225 uint32 retries_long; /* number of long data pkt retries */
234 uint32 retries; /* total number of data pkt retries */ member
235 uint32 retries_short; /* number of short data pkt retries */
236 uint32 retries_long; /* number of long data pkt retries */
287 uint32 retries; /* total number of data pkt retries */ member
288 uint32 retries_short; /* number of short data pkt retries */
289 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/u-boot/include/
H A Data.h77 #define ATA_CMD_READ 0x20 /* Read Sectors (with retries) */
78 #define ATA_CMD_READN 0x21 /* Read Sectors ( no retries) */
79 #define ATA_CMD_WRITE 0x30 /* Write Sectores (with retries)*/
80 #define ATA_CMD_WRITEN 0x31 /* Write Sectors ( no retries)*/
81 #define ATA_CMD_VRFY 0x40 /* Read Verify (with retries) */
82 #define ATA_CMD_VRFYN 0x41 /* Read verify ( no retries) */
89 #define ATA_CMD_RD_DMA 0xC8 /* Read DMA (with retries) */
90 #define ATA_CMD_RD_DMAN 0xC9 /* Read DMS ( no retries) */
91 #define ATA_CMD_WR_DMA 0xCA /* Write DMA (with retries) */
97 #define ATA_CMD_READ_EXT 0x24 /* Read Sectors (with retries) with 48bit addressing */
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Doom.h160 int retries,
164 TP_ARGS(order, priority, result, retries, max_retries, ret),
170 __field( int, retries)
179 __entry->retries = retries;
184 TP_printk("order=%d priority=%s compaction_result=%s retries=%d max_retries=%d should_retry=%d",
188 __entry->retries, __entry->max_retries,
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
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwifi_stats.h210 uint32 retries; /* total number of data pkt retries */ member
211 uint32 retries_short; /* number of short data pkt retries */
212 uint32 retries_long; /* number of long data pkt retries */
221 uint32 retries; /* total number of data pkt retries */ member
222 uint32 retries_short; /* number of short data pkt retries */
223 uint32 retries_long; /* number of long data pkt retries */
274 uint32 retries; /* total number of data pkt retries */ member
275 uint32 retries_short; /* number of short data pkt retries */
276 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Ddngl_stats.h223 uint32 retries; /* total number of data pkt retries */ member
224 uint32 retries_short; /* number of short data pkt retries */
225 uint32 retries_long; /* number of long data pkt retries */
234 uint32 retries; /* total number of data pkt retries */ member
235 uint32 retries_short; /* number of short data pkt retries */
236 uint32 retries_long; /* number of long data pkt retries */
287 uint32 retries; /* total number of data pkt retries */ member
288 uint32 retries_short; /* number of short data pkt retries */
289 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Ddngl_stats.h223 uint32 retries; /* total number of data pkt retries */ member
224 uint32 retries_short; /* number of short data pkt retries */
225 uint32 retries_long; /* number of long data pkt retries */
234 uint32 retries; /* total number of data pkt retries */ member
235 uint32 retries_short; /* number of short data pkt retries */
236 uint32 retries_long; /* number of long data pkt retries */
287 uint32 retries; /* total number of data pkt retries */ member
288 uint32 retries_short; /* number of short data pkt retries */
289 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwifi_stats.h210 uint32 retries; /* total number of data pkt retries */ member
211 uint32 retries_short; /* number of short data pkt retries */
212 uint32 retries_long; /* number of long data pkt retries */
221 uint32 retries; /* total number of data pkt retries */ member
222 uint32 retries_short; /* number of short data pkt retries */
223 uint32 retries_long; /* number of long data pkt retries */
274 uint32 retries; /* total number of data pkt retries */ member
275 uint32 retries_short; /* number of short data pkt retries */
276 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddngl_stats.h219 uint32 retries; /* total number of data pkt retries */ member
220 uint32 retries_short; /* number of short data pkt retries */
221 uint32 retries_long; /* number of long data pkt retries */
230 uint32 retries; /* total number of data pkt retries */ member
231 uint32 retries_short; /* number of short data pkt retries */
232 uint32 retries_long; /* number of long data pkt retries */
283 uint32 retries; /* total number of data pkt retries */ member
284 uint32 retries_short; /* number of short data pkt retries */
285 uint32 retries_long; /* number of long data pkt retries */
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H 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()
/OK3568_Linux_fs/kernel/drivers/char/ipmi/
H A Dipmi_devintf.c142 int retries, in handle_send_req() argument
191 retries, in handle_send_req()
305 int retries; in ipmi_ioctl() local
314 retries = priv->default_retries; in ipmi_ioctl()
318 rv = handle_send_req(priv->user, &req, retries, retry_time_ms); in ipmi_ioctl()
333 req.retries, in ipmi_ioctl()
559 priv->default_retries = parms.retries; in ipmi_ioctl()
571 parms.retries = priv->default_retries; in ipmi_ioctl()
656 compat_int_t retries; member
685 p64->retries = p32->retries; in get_compat_ipmi_req_settime()
[all …]
/OK3568_Linux_fs/kernel/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 …]

12345678910>>...47