| /linux/drivers/media/pci/tw5864/ |
| H A D | tw5864-util.c | 6 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 D | w1_ds2413.c | 32 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 D | w1_ds2438.c | 63 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 D | w1_ds2408.c | 168 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/char/ |
| H A D | dtlk.c | 130 int i = 0, retries; in dtlk_read() local 138 for (retries = 0; retries < loops_per_jiffy; retries++) { in dtlk_read() 152 if (retries == loops_per_jiffy) in dtlk_read() 161 int i = 0, retries = 0, ch; in dtlk_write() local 202 for (retries = 0; in dtlk_write() 203 retries < loops_per_jiffy / (4000/HZ); in dtlk_write() 204 retries++) in dtlk_write() 209 retries = 0; in dtlk_write() 218 if (++retries > 10 * HZ) { /* wait no more than 10 sec in dtlk_write() 567 int portval, retries = 0; in dtlk_read_tts() local [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-artpec6.c | 147 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/rtc/ |
| H A D | rtc-wm8350.c | 35 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 D | rtc-sun4v.c | 22 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/media/common/b2c2/ |
| H A D | flexcop-eeprom.c | 17 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/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet_wol.c | 121 int retries = 0; in bcmgenet_poll_wol_status() local 125 retries++; in bcmgenet_poll_wol_status() 126 if (retries > 5) { in bcmgenet_poll_wol_status() 133 return retries; in bcmgenet_poll_wol_status() 149 int retries = 0; in bcmgenet_wol_power_down_cfg() local 171 retries = bcmgenet_poll_wol_status(priv); in bcmgenet_wol_power_down_cfg() 172 if (retries < 0) { in bcmgenet_wol_power_down_cfg() 177 return retries; in bcmgenet_wol_power_down_cfg() 181 retries); in bcmgenet_wol_power_down_cfg()
|
| /linux/include/trace/events/ |
| H A D | fsi_master_ast_cf.h | 71 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 D | oom.h | 188 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 D | pci_vsc.c | 72 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/net/vmw_vsock/ |
| H A D | vmci_transport_notify_qstate.c | 104 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/input/keyboard/ |
| H A D | lm8333.c | 44 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/net/wireless/intel/iwlegacy/ |
| H A D | 3945-rs.c | 243 int retries, int idx) in il3945_collect_tx_data() argument 249 if (!retries) { in il3945_collect_tx_data() 250 D_RATE("leave: retries == 0 -- should be at least 1\n"); in il3945_collect_tx_data() 264 while (retries > 0) { in il3945_collect_tx_data() 289 retries--; in il3945_collect_tx_data() 423 * NOTE: Uses il_priv->retry_rate for the # of retries attempted by 431 s8 retries = 0, current_count; in il3945_rs_tx_status() local 440 retries = info->status.rates[0].count; in il3945_rs_tx_status() 441 /* Sanity Check for retries */ in il3945_rs_tx_status() 442 if (retries > RATE_RETRY_TH) in il3945_rs_tx_status() [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_sensorhub.c | 58 int ret, i, retries; in cros_ec_sensorhub_register() local 70 retries = CROS_EC_CMD_INFO_RETRIES; in cros_ec_sensorhub_register() 76 retries--; in cros_ec_sensorhub_register() 78 } while (ret == -EBUSY && retries); in cros_ec_sensorhub_register() 85 if (retries < CROS_EC_CMD_INFO_RETRIES) { in cros_ec_sensorhub_register() 86 dev_warn(dev, "%d retries needed to bring up sensor %d\n", in cros_ec_sensorhub_register() 87 CROS_EC_CMD_INFO_RETRIES - retries, i); in cros_ec_sensorhub_register()
|
| /linux/Documentation/devicetree/bindings/ipmi/ |
| H A D | ipmi-ipmb.yaml | 33 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/s390/cio/ |
| H A D | ccwreq.c | 49 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/char/xilinx_hwicap/ |
| H A D | fifo_icap.c | 218 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/nvme/host/ |
| H A D | trace.h | 94 __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/s390/block/ |
| H A D | dasd_erp.c | 81 * dasd_default_erp_action just retries the current cqr 91 if (cqr->retries > 0) { in dasd_default_erp_action() 93 "default ERP called (%i retries left)", in dasd_default_erp_action() 94 cqr->retries); in dasd_default_erp_action() 99 pr_err("%s: default ERP has run out of retries and failed\n", in dasd_default_erp_action()
|
| /linux/include/uapi/rdma/ |
| H A D | ib_user_mad.h | 60 * @retries - Number of automatic retries to attempt 77 __u32 retries; member 103 * @retries - Number of automatic retries to attempt 121 __u32 retries; member
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-syscall.c | 31 unsigned retries = 0; variable 66 retries++; in getppid_tm() 120 printf("(There were %d transaction retries.)\n", retries); in tm_syscall()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| H A D | rpc.c | 208 r535_gsp_msgq_peek(struct nvkm_gsp *gsp, u32 gsp_rpc_len, int *retries) in r535_gsp_msgq_peek() argument 213 ret = r535_gsp_msgq_wait(gsp, gsp_rpc_len, retries); in r535_gsp_msgq_peek() 223 int *retries; member 244 ret = r535_gsp_msgq_wait(gsp, expected, info->retries); in r535_gsp_msgq_recv_one_elem() 287 r535_gsp_msgq_recv(struct nvkm_gsp *gsp, u32 gsp_rpc_len, int *retries) in r535_gsp_msgq_recv() argument 307 info.retries = retries; in r535_gsp_msgq_recv() 326 rpc = r535_gsp_msgq_peek(gsp, sizeof(*rpc), info.retries); in r535_gsp_msgq_recv() 458 int retries = 4000000, i; in r535_gsp_msg_recv() local 461 rpc = r535_gsp_msgq_peek(gsp, sizeof(*rpc), &retries); in r535_gsp_msg_recv() 465 rpc = r535_gsp_msgq_recv(gsp, gsp_rpc_len, &retries); in r535_gsp_msg_recv()
|