/linux-4.1.27/drivers/rtc/ |
H A D | rtc-sun4v.c | 20 int retries = 10000; hypervisor_get_time() local 27 if (--retries > 0) { hypervisor_get_time() 47 int retries = 10000; hypervisor_set_time() local 54 if (--retries > 0) { hypervisor_set_time()
|
H A D | rtc-wm8350.c | 42 int retries = WM8350_GET_TIME_RETRIES, ret; wm8350_rtc_readtime() local 83 retries, wm8350_rtc_readtime() 88 } while (retries--); wm8350_rtc_readtime() 102 int ret, retries = WM8350_SET_TIME_RETRIES; wm8350_rtc_settime() local 125 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); wm8350_rtc_settime() 127 if (!retries) { wm8350_rtc_settime() 194 int retries = WM8350_SET_ALM_RETRIES; wm8350_rtc_stop_alarm() local 208 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); wm8350_rtc_stop_alarm() 219 int retries = WM8350_SET_ALM_RETRIES; wm8350_rtc_start_alarm() local 231 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); wm8350_rtc_start_alarm() 415 int retries; wm8350_rtc_probe() local 424 retries = WM8350_SET_TIME_RETRIES; wm8350_rtc_probe() 428 } while (timectl & WM8350_RTC_STS && --retries); wm8350_rtc_probe() 430 if (retries == 0) { wm8350_rtc_probe()
|
H A D | rtc-tegra.c | 89 int retries = 500; /* ~490 us is the worst case, ~250 us is best. */ tegra_rtc_wait_while_busy() local 94 if (!retries--) tegra_rtc_wait_while_busy()
|
/linux-4.1.27/drivers/media/common/b2c2/ |
H A D | flexcop-eeprom.c | 16 u32 len, u8 *wbuf, u8 *rbuf, int retries) 20 for (i = 0; i < retries; i++) { 22 if (eeprom_lrc_read(adapter, addr, len, rbuf, retries) == 1) 107 flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) flexcop_eeprom_request() 111 for (i = 0; i < retries; i++) { flexcop_eeprom_request() 121 u8 *buf, u16 len, int retries) flexcop_eeprom_lrc_read() 123 int ret = flexcop_eeprom_request(fc, FC_READ, addr, buf, len, retries); flexcop_eeprom_lrc_read() 106 flexcop_eeprom_request(struct flexcop_device *fc, flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) flexcop_eeprom_request() argument 120 flexcop_eeprom_lrc_read(struct flexcop_device *fc, u16 addr, u8 *buf, u16 len, int retries) flexcop_eeprom_lrc_read() argument
|
H A D | flexcop-sram.c | 77 int i, retries; 83 retries = 2; 85 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) { 87 retries--; 90 if (retries == 0) 102 int i, retries; 108 retries = 10000; 110 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) { 112 retries--; 115 if (retries == 0) 120 retries = 10000; 122 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) { 124 retries--; 127 if (retries == 0)
|
/linux-4.1.27/drivers/char/ |
H A D | dtlk.c | 130 int i = 0, retries; dtlk_read() local 138 for (retries = 0; retries < loops_per_jiffy; retries++) { dtlk_read() 152 if (retries == loops_per_jiffy) dtlk_read() 161 int i = 0, retries = 0, ch; dtlk_write() local 202 for (retries = 0; dtlk_write() 203 retries < loops_per_jiffy / (4000/HZ); dtlk_write() 204 retries++) dtlk_write() 209 retries = 0; dtlk_write() 218 if (++retries > 10 * HZ) { /* wait no more than 10 sec dtlk_write() 568 int portval, retries = 0; dtlk_read_tts() local 576 retries++ < DTLK_MAX_RETRIES); dtlk_read_tts() 577 if (retries > DTLK_MAX_RETRIES) dtlk_read_tts() 584 retries = 0; dtlk_read_tts() 588 retries++ < DTLK_MAX_RETRIES); dtlk_read_tts() 589 if (retries > DTLK_MAX_RETRIES) dtlk_read_tts() 598 int retries = 0; dtlk_read_lpc() local 611 retries = (loops_per_jiffy * 20) / (1000000/HZ); dtlk_read_lpc() 612 while (inb_p(dtlk_port_lpc) != 0x7f && --retries > 0); dtlk_read_lpc() 613 if (retries == 0) dtlk_read_lpc() 634 int retries = 0; dtlk_write_tts() local 644 retries++ < DTLK_MAX_RETRIES) /* DT ready? */ dtlk_write_tts() 646 if (retries > DTLK_MAX_RETRIES) dtlk_write_tts() 653 for (retries = 0; retries < loops_per_jiffy / (100000/HZ); retries++) dtlk_write_tts()
|
H A D | tile-srom.c | 89 int retval, retries = SROM_MAX_WAIT_TRY_TIMES; _srom_read() local 97 if (retval == HV_EBUSY && --retries > 0) { _srom_read() 109 int retval, retries = SROM_MAX_WAIT_TRY_TIMES; _srom_write() local 117 if (retval == HV_EBUSY && --retries > 0) { _srom_write()
|
/linux-4.1.27/drivers/media/usb/usbvision/ |
H A D | usbvision-i2c.c | 57 unsigned char addr, int retries) try_write_address() 65 for (i = 0; i <= retries; i++) { try_write_address() 70 if (i == retries) /* no success */ try_write_address() 75 PDEBUG(DBG_I2C, "Needed %d retries for address %#2x", i, addr); try_write_address() 82 unsigned char addr, int retries) try_read_address() 89 for (i = 0; i <= retries; i++) { try_read_address() 94 if (i == retries) /* no success */ try_read_address() 99 PDEBUG(DBG_I2C, "Needed %d retries for address %#2x", i, addr); try_read_address() 106 struct i2c_msg *msg, int retries, usb_find_address() 120 ret = try_read_address(i2c_adap, addr, retries); usb_find_address() 122 ret = try_write_address(i2c_adap, addr, retries); usb_find_address() 142 ret = usb_find_address(i2c_adap, pmsg, i2c_adap->retries, &addr); usbvision_i2c_xfer() 214 usbvision->i2c_adap.retries = 3; /* be replaced by defines */ usbvision_i2c_register() 279 int rc, retries; usbvision_i2c_read_max4() local 281 for (retries = 5;;) { usbvision_i2c_read_max4() 311 if (--retries < 0) usbvision_i2c_read_max4() 344 int rc, retries; usbvision_i2c_write_max4() local 356 for (retries = 5;;) { usbvision_i2c_write_max4() 386 if (--retries < 0) usbvision_i2c_write_max4() 56 try_write_address(struct i2c_adapter *i2c_adap, unsigned char addr, int retries) try_write_address() argument 81 try_read_address(struct i2c_adapter *i2c_adap, unsigned char addr, int retries) try_read_address() argument 105 usb_find_address(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int retries, unsigned char *add) usb_find_address() argument
|
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet_wol.c | 111 int retries = 0; bcmgenet_poll_wol_status() local 115 retries++; bcmgenet_poll_wol_status() 116 if (retries > 5) { bcmgenet_poll_wol_status() 123 return retries; bcmgenet_poll_wol_status() 131 int retries = 0; bcmgenet_wol_power_down_cfg() local 150 retries = bcmgenet_poll_wol_status(priv); bcmgenet_wol_power_down_cfg() 151 if (retries < 0) { bcmgenet_wol_power_down_cfg() 155 return retries; bcmgenet_wol_power_down_cfg() 159 retries); bcmgenet_wol_power_down_cfg()
|
/linux-4.1.27/drivers/w1/slaves/ |
H A D | w1_ds2413.c | 76 unsigned int retries = W1_F3A_RETRIES; output_write() local 92 while (retries--) { output_write() 100 dev_dbg(&sl->dev, "mutex unlocked, retries:%d", retries); output_write() 109 dev_dbg(&sl->dev, "mutex unlocked in error, retries:%d", retries); output_write()
|
H A D | w1_ds2408.c | 154 unsigned int retries = W1_F29_RETRIES; output_write() local 166 while (retries--) { output_write() 203 "mutex unlocked, retries:%d", retries); output_write() 209 dev_dbg(&sl->dev, "mutex unlocked in error, retries:%d", retries); output_write() 223 unsigned int retries = W1_F29_RETRIES; activity_write() local 233 while (retries--) { activity_write() 254 unsigned int retries = W1_F29_RETRIES; status_control_write() local 264 while (retries--) { status_control_write()
|
/linux-4.1.27/include/linux/ |
H A D | zbud.h | 17 int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries);
|
H A D | blk_types.h | 153 __REQ_FAILFAST_DEV, /* no driver retries of device errors */ 154 __REQ_FAILFAST_TRANSPORT, /* no driver retries of transport errors */ 155 __REQ_FAILFAST_DRIVER, /* no driver retries of driver errors */
|
H A D | clockchips.h | 89 * @retries: number of forced programming retries 118 unsigned long retries; member in struct:clock_event_device
|
H A D | ipmi.h | 140 * Like ipmi_request, but lets you specify the number of retries and 141 * the retry time. The retries is the number of times the message 144 * between retries. If set to zero, the default value will be 148 * IPMI over LAN converter; since the LAN stuff does its own retries,
|
H A D | u64_stats_sync.h | 24 * preemptions/interruptions to avoid many retries.
|
H A D | drbd_limits.h | 66 /* active connection retries when C_WF_CONNECTION */
|
H A D | genalloc.h | 9 * is implemented by using atomic operations and retries on any
|
/linux-4.1.27/tools/testing/selftests/powerpc/tm/ |
H A D | tm-syscall.c | 26 unsigned retries = 0; variable 70 retries++; getppid_tm() 113 printf("(There were %d transaction retries.)\n", retries); tm_syscall()
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | lm8333.c | 47 int retries = 0, ret; lm8333_read8() local 51 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); lm8333_read8() 58 int retries = 0, ret; lm8333_write8() local 62 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); lm8333_write8() 69 int retries = 0, ret; lm8333_read_block() local 74 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); lm8333_read_block()
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | early_printk.c | 37 unsigned retries = 1000000; early_printk_uartlite_putc() local 39 while (--retries && (in_be32(base_addr + 8) & (1 << 3))) early_printk_uartlite_putc() 44 if (retries) early_printk_uartlite_putc() 82 unsigned retries = 10000; early_printk_uart16550_putc() local 84 while (--retries && early_printk_uart16550_putc() 88 if (retries) early_printk_uart16550_putc()
|
/linux-4.1.27/drivers/thunderbolt/ |
H A D | cap.c | 85 int retries = 10; tb_find_cap() local 86 while (retries--) { tb_find_cap() 113 "run out of retries while looking for cap %#x in config space %d, last offset: %#x\n", tb_find_cap()
|
/linux-4.1.27/fs/xfs/ |
H A D | kmem.c | 48 int retries = 0; kmem_alloc() local 56 if (!(++retries % 100)) kmem_alloc() 113 int retries = 0; kmem_zone_alloc() local 121 if (!(++retries % 100)) kmem_zone_alloc()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_erp.c | 84 * dasd_default_erp_action just retries the current cqr 94 if (cqr->retries > 0) { dasd_default_erp_action() 96 "default ERP called (%i retries left)", dasd_default_erp_action() 97 cqr->retries); dasd_default_erp_action() 102 pr_err("%s: default ERP has run out of retries and failed\n", dasd_default_erp_action()
|
H A D | dasd_3990_erp.c | 112 erp->retries = 256; dasd_3990_erp_int_req() 168 erp->retries = 10; dasd_3990_erp_alternate_path() 230 dctl_cqr->retries = 2; dasd_3990_erp_DCTL() 275 erp->retries = 10; dasd_3990_erp_action_1() 314 erp->retries = 256; dasd_3990_erp_action_4() 322 "interrupt, %d retries left", dasd_3990_erp_action_4() 323 erp->retries); dasd_3990_erp_action_4() 330 "%d retries left", dasd_3990_erp_action_4() 331 erp->retries); dasd_3990_erp_action_4() 337 "%d retries left", dasd_3990_erp_action_4() 338 erp->retries); dasd_3990_erp_action_4() 358 * NOTE: Further handling is done in xxx_further_erp after the retries. 372 erp->retries = 10; dasd_3990_erp_action_5() 1046 erp->retries = 5; dasd_3990_erp_com_rej() 1086 erp->retries = 256; dasd_3990_erp_bus_out() 1153 /* rest is done when retries == 0 */ dasd_3990_erp_equip_check() 1560 erp->retries = 256; dasd_3990_erp_action_10_32() 1721 erp->retries = 256; dasd_3990_erp_action_1B_32() 1869 erp->retries = 1; dasd_3990_erp_compound_retry() 1873 erp->retries = 2; dasd_3990_erp_compound_retry() 1877 erp->retries = 10; dasd_3990_erp_compound_retry() 1881 erp->retries = 256; dasd_3990_erp_compound_retry() 1955 erp->retries = 1; dasd_3990_erp_compound_code() 2119 case 0x00: /* success - use default ERP for retries */ dasd_3990_erp_inspect_32() 2321 if (cqr->retries <= 0) { dasd_3990_erp_add_erp() 2329 "(%i retries left)", dasd_3990_erp_add_erp() 2330 cqr->retries); dasd_3990_erp_add_erp() 2366 erp->retries = 256; dasd_3990_erp_add_erp() 2540 /* retries have not been successful */ dasd_3990_erp_further_erp() 2588 "ERP %p has run out of retries and failed\n", erp); dasd_3990_erp_further_erp() 2602 * used to handle this error (e.g. retries). 2643 if (erp->retries > 0) { dasd_3990_erp_handle_match_erp() 2647 /* check for special retries */ dasd_3990_erp_handle_match_erp() 2664 "%i retries left for erp %p", dasd_3990_erp_handle_match_erp() 2665 erp->retries, erp); dasd_3990_erp_handle_match_erp()
|
H A D | dasd_ioctl.c | 207 int rc, retries; dasd_format() local 236 retries = 255; dasd_format() 237 /* backup start- and endtrack for retries */ dasd_format() 244 retries--; dasd_format() 254 } while (retries); dasd_format() 256 if (!retries) dasd_format()
|
H A D | dasd_diag.c | 170 if (cqr->retries < 0) { dasd_start_diag() 189 cqr->retries--; dasd_start_diag() 297 "request %p was %d (%d retries left)", cqr, dasd_ext_handler() 298 ext_code.subcode & 0xff, cqr->retries); dasd_ext_handler() 559 cqr->retries = memdev->default_retries; 586 if (cqr->retries < 0) dasd_diag_handle_terminated_request()
|
H A D | scm_blk.h | 37 u8 retries; member in struct:scm_request
|
H A D | scm_blk.c | 233 scmrq->retries = 4; scm_request_init() 380 if (scmrq->retries) __scmrq_log_error() 446 if (scmrq->error && scmrq->retries-- > 0) { scm_blk_tasklet()
|
H A D | dasd.c | 1298 int retries, rc; dasd_term_IO() local 1305 retries = 0; dasd_term_IO() 1307 while ((retries < 5) && (cqr->status == DASD_CQR_IN_IO)) { dasd_term_IO() 1334 /* no retries for invalid devices */ dasd_term_IO() 1335 cqr->retries = -1; dasd_term_IO() 1353 retries++; dasd_term_IO() 1387 if (cqr->retries < 0) { dasd_start_IO() 1388 /* internal error 14 - start_IO run out of retries */ dasd_start_IO() 1397 cqr->retries--; dasd_start_IO() 1678 cqr->retries > 0) { dasd_int_handler() 1682 "(%i retries left)", dasd_int_handler() 1683 cqr->retries); dasd_int_handler() 1842 * run out of retries __dasd_device_check_expire() 1844 cqr->retries++; __dasd_device_check_expire() 1856 "cqr %p timed out (%lus), %i retries " __dasd_device_check_expire() 1858 cqr->retries); __dasd_device_check_expire() 2349 cqr->retries++; _dasd_term_running_cqr() 2676 cqr->retries = 255; __dasd_process_block_ccw_queue() 2928 cqr->retries = -1; dasd_times_out() 2948 searchcqr->retries = -1; dasd_times_out() 3472 cqr->retries++; dasd_generic_last_path_gone() 3754 cqr->retries = 256; dasd_generic_build_rdc()
|
H A D | dasd_eckd.c | 874 cqr->retries = 256; dasd_eckd_fill_rcd_cqr() 922 cqr->retries = 5; dasd_eckd_read_conf_immediately() 1459 cqr->retries = 256; dasd_eckd_read_features() 1534 cqr->retries = 256; dasd_eckd_build_psf_ssc() 1878 cqr->retries = 255; dasd_eckd_analysis_ccw() 1935 init_cqr->retries = 0; dasd_eckd_start_analysis() 2343 fcp->retries = 256; dasd_eckd_build_format() 2465 if (cqr->retries < 0) { dasd_eckd_handle_terminated_request() 2748 cqr->retries = startdev->default_retries; 2923 cqr->retries = startdev->default_retries; 3216 cqr->retries = startdev->default_retries; 3443 cqr->retries = startdev->default_retries; 3643 cqr->retries = 2; /* set retry counter to enable basic ERP */ dasd_eckd_release() 3698 cqr->retries = 2; /* set retry counter to enable basic ERP */ dasd_eckd_reserve() 3752 cqr->retries = 2; /* set retry counter to enable basic ERP */ dasd_eckd_steal_lock() 3813 cqr->retries = 5; dasd_eckd_snid() 3859 cqr->retries = 0; dasd_eckd_performance() 4009 cqr->retries = 3; dasd_symm_io() 4528 cqr->retries = 256; dasd_eckd_read_message_buffer() 4617 cqr->retries = 256; dasd_eckd_psf_cuir_response()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | sierra_ms.c | 128 int result, retries; sierra_ms_init() local 133 retries = 3; sierra_ms_init() 162 retries = 3; sierra_ms_init() 164 retries--; sierra_ms_init() 170 } while (retries && result < 0); sierra_ms_init()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
H A D | 3945-rs.c | 257 int retries, int idx) il3945_collect_tx_data() 263 if (!retries) { il3945_collect_tx_data() 264 D_RATE("leave: retries == 0 -- should be at least 1\n"); il3945_collect_tx_data() 278 while (retries > 0) { il3945_collect_tx_data() 303 retries--; il3945_collect_tx_data() 441 * NOTE: Uses il_priv->retry_rate for the # of retries attempted by 449 s8 retries = 0, current_count; il3945_rs_tx_status() local 458 retries = info->status.rates[0].count; il3945_rs_tx_status() 459 /* Sanity Check for retries */ il3945_rs_tx_status() 460 if (retries > RATE_RETRY_TH) il3945_rs_tx_status() 461 retries = RATE_RETRY_TH; il3945_rs_tx_status() 487 * were Tx'd based on the total number of retries vs. the number il3945_rs_tx_status() 488 * of retries configured for each rate -- currently set to the il3945_rs_tx_status() 495 while (retries > 1) { il3945_rs_tx_status() 496 if ((retries - 1) < il->retry_rate) { il3945_rs_tx_status() 497 current_count = (retries - 1); il3945_rs_tx_status() 504 /* Update this rate accounting for as many retries il3945_rs_tx_status() 508 D_RATE("Update rate %d for %d retries.\n", scale_rate_idx, il3945_rs_tx_status() 511 retries -= current_count; il3945_rs_tx_status() 255 il3945_collect_tx_data(struct il3945_rs_sta *rs_sta, struct il3945_rate_scale_data *win, int success, int retries, int idx) il3945_collect_tx_data() argument
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | sd_ops.c | 61 * @retries: maximum number of retries 69 struct mmc_command *cmd, int retries) mmc_wait_for_app_cmd() 76 BUG_ON(retries < 0); mmc_wait_for_app_cmd() 82 * we cannot use the retries field in mmc_command. mmc_wait_for_app_cmd() 84 for (i = 0;i <= retries;i++) { mmc_wait_for_app_cmd() 98 cmd->retries = 0; mmc_wait_for_app_cmd() 68 mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card, struct mmc_command *cmd, int retries) mmc_wait_for_app_cmd() argument
|
H A D | core.c | 136 if (err && cmd->retries && mmc_host_is_spi(host)) { mmc_request_done() 138 cmd->retries = 0; mmc_request_done() 141 if (err && cmd->retries && !mmc_card_removed(host->card)) { mmc_request_done() 143 * Request starter must handle retries - see mmc_request_done() 391 * Handles command retries. 416 if (!cmd->error || !cmd->retries || mmc_wait_for_data_req_done() 425 cmd->retries--; mmc_wait_for_data_req_done() 468 if (!cmd->error || !cmd->retries || mmc_wait_for_req_done() 474 cmd->retries--; mmc_wait_for_req_done() 686 * @retries: maximum number of retries 692 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) mmc_wait_for_cmd() argument 699 cmd->retries = retries; mmc_wait_for_cmd()
|
H A D | sd.c | 733 int retries = 10; mmc_sd_get_cid() local 737 if (!retries) { mmc_sd_get_cid() 765 if (retries && mmc_host_uhs(host)) mmc_sd_get_cid() 789 retries--; mmc_sd_get_cid() 792 retries = 0; mmc_sd_get_cid()
|
/linux-4.1.27/drivers/media/i2c/smiapp/ |
H A D | smiapp-regs.c | 224 unsigned int retries; smiapp_write_no_quirk() local 261 for (retries = 0; retries < 5; retries++) { smiapp_write_no_quirk() 269 if (retries) smiapp_write_no_quirk() 272 "retries: %d\n", retries); smiapp_write_no_quirk()
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | ccwreq.c | 48 req->retries = req->maxretries; ccwreq_next_path() 72 * (Re-)Start the operation until retries and paths are exhausted. 82 if (req->retries-- == 0) { ccwreq_do() 129 req->retries = req->maxretries; ccw_request_start() 235 u16 retries; ccwreq_log_status() member in struct:__anon8430 240 data.retries = req->retries; ccwreq_log_status()
|
H A D | io_sch.h | 58 * @maxretries: number of retries per I/O operation and path 68 * @retries: current number of retries 86 u16 retries; member in struct:ccw_request
|
H A D | qdio_main.c | 319 int retries = 0, cc; qdio_siga_output() local 338 retries++; qdio_siga_output() 347 if (retries) { qdio_siga_output() 350 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "count:%u", retries); qdio_siga_output() 811 int retries = 0, cc; qdio_kick_outbound_q() local 827 while (++retries < QDIO_BUSY_BIT_RETRIES) { qdio_kick_outbound_q() 844 if (retries) { qdio_kick_outbound_q() 846 DBF_ERROR("count:%u", retries); qdio_kick_outbound_q()
|
/linux-4.1.27/net/vmw_vsock/ |
H A D | vmci_transport_notify_qstate.c | 112 unsigned int retries; vmci_transport_send_read_notification() local 117 retries = 0; vmci_transport_send_read_notification() 130 retries < VMCI_TRANSPORT_MAX_DGRAM_RESENDS) { vmci_transport_send_read_notification() 135 retries++; vmci_transport_send_read_notification() 138 if (retries >= VMCI_TRANSPORT_MAX_DGRAM_RESENDS && !sent_read) vmci_transport_send_read_notification() 320 int retries = 0; vmci_transport_notify_pkt_send_post_enqueue() local 331 retries < VMCI_TRANSPORT_MAX_DGRAM_RESENDS) { vmci_transport_notify_pkt_send_post_enqueue() 336 retries++; vmci_transport_notify_pkt_send_post_enqueue() 340 if (retries >= VMCI_TRANSPORT_MAX_DGRAM_RESENDS && !sent_wrote) { vmci_transport_notify_pkt_send_post_enqueue()
|
H A D | vmci_transport_notify.c | 271 unsigned int retries; vmci_transport_send_read_notification() local 276 retries = 0; vmci_transport_send_read_notification() 289 retries < VMCI_TRANSPORT_MAX_DGRAM_RESENDS) { vmci_transport_send_read_notification() 294 retries++; vmci_transport_send_read_notification() 297 if (retries >= VMCI_TRANSPORT_MAX_DGRAM_RESENDS) vmci_transport_send_read_notification() 563 int retries = 0; vmci_transport_notify_pkt_send_post_enqueue() local 585 retries < VMCI_TRANSPORT_MAX_DGRAM_RESENDS) { vmci_transport_notify_pkt_send_post_enqueue() 590 retries++; vmci_transport_notify_pkt_send_post_enqueue() 593 if (retries >= VMCI_TRANSPORT_MAX_DGRAM_RESENDS) { vmci_transport_notify_pkt_send_post_enqueue()
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
H A D | boot.h | 36 /* delay between retries */
|
/linux-4.1.27/drivers/usb/misc/ |
H A D | rio500.c | 119 int retries; ioctl_rio() local 160 retries = 3; ioctl_rio() 161 while (retries) { ioctl_rio() 171 retries--; ioctl_rio() 176 retries = 0; ioctl_rio() 187 retries = 0; ioctl_rio() 231 retries = 3; ioctl_rio() 232 while (retries) { ioctl_rio() 242 retries--; ioctl_rio() 247 retries = 0; ioctl_rio() 251 retries = 0; ioctl_rio()
|
/linux-4.1.27/drivers/char/xilinx_hwicap/ |
H A D | fifo_icap.c | 218 u32 retries = 0; fifo_icap_set_configuration() local 241 retries++; fifo_icap_set_configuration() 242 if (retries > XHI_MAX_RETRIES) fifo_icap_set_configuration() 263 retries++; fifo_icap_set_configuration() 264 if (retries > XHI_MAX_RETRIES) fifo_icap_set_configuration() 294 u32 retries = 0; fifo_icap_get_configuration() local 326 retries++; fifo_icap_get_configuration() 327 if (retries > XHI_MAX_RETRIES) fifo_icap_get_configuration()
|
H A D | buffer_icap.c | 191 s32 retries = 0; buffer_icap_device_read() local 206 retries++; buffer_icap_device_read() 207 if (retries > XHI_MAX_RETRIES) buffer_icap_device_read() 225 s32 retries = 0; buffer_icap_device_write() local 240 retries++; buffer_icap_device_write() 241 if (retries > XHI_MAX_RETRIES) buffer_icap_device_write()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | g94.c | 106 u32 ctrl, stat, timeout, retries; g94_aux() local 139 for (retries = 0; !ret && retries < 32; retries++) { g94_aux() 143 if (retries) g94_aux() 171 AUX_DBG("%02d 0x%08x 0x%08x\n", retries, ctrl, stat); g94_aux()
|
H A D | gm204.c | 76 u32 ctrl, stat, timeout, retries; gm204_aux() local 109 for (retries = 0; !ret && retries < 32; retries++) { gm204_aux() 113 if (retries) gm204_aux() 141 AUX_DBG("%02d 0x%08x 0x%08x\n", retries, ctrl, stat); gm204_aux()
|
/linux-4.1.27/sound/firewire/dice/ |
H A D | dice-transaction.c | 68 unsigned int retries = 3; set_clock_info() local 112 if (retries-- == 0) { set_clock_info() 237 unsigned int retries; register_notification_address() local 240 retries = (retry) ? 3 : 0; register_notification_address() 273 if (err != -EAGAIN || retries-- > 0) register_notification_address()
|
/linux-4.1.27/include/uapi/rdma/ |
H A D | ib_user_mad.h | 59 * @retries - Number of automatic retries to attempt 76 __u32 retries; member in struct:ib_user_mad_hdr_old 102 * @retries - Number of automatic retries to attempt 120 __u32 retries; member in struct:ib_user_mad_hdr
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | queue.h | 30 u8 retries; member in struct:mmc_packed
|
/linux-4.1.27/drivers/s390/char/ |
H A D | sclp_sdias.c | 61 int retries; sdias_sclp_send() local 64 for (retries = SDIAS_RETRIES; retries; retries--) { sdias_sclp_send()
|
H A D | raw3270.c | 237 int retries; __raw3270_halt_io() local 243 for (retries = 0; retries < 5; retries++) { __raw3270_halt_io() 244 if (retries < 2) __raw3270_halt_io()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
H A D | boot.h | 49 /* delay between retries */
|
/linux-4.1.27/drivers/clk/ti/ |
H A D | clk.c | 74 * ti_clk_retry_init - retries a failed clock init at later phase 177 int retries = 5; ti_dt_clk_init_retry_clks() local 179 while (!list_empty(&retry_list) && retries) { ti_dt_clk_init_retry_clks() 186 retries--; ti_dt_clk_init_retry_clks()
|
H A D | fapll.c | 118 int retries = FAPLL_MAX_RETRIES; ti_fapll_wait_lock() local 125 if (retries-- <= 0) ti_fapll_wait_lock()
|
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/ |
H A D | connector-dvi.c | 149 int r, retries; dvic_ddc_read() local 151 for (retries = 3; retries > 0; retries--) { dvic_ddc_read()
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
H A D | dma_lib.c | 320 int reg, retries; pasemi_dma_stop_chan() local 326 for (retries = 0; retries < MAX_RETRIES; retries++) { pasemi_dma_stop_chan() 337 for (retries = 0; retries < MAX_RETRIES; retries++) { pasemi_dma_stop_chan()
|
/linux-4.1.27/drivers/i2c/algos/ |
H A D | i2c-algo-bit.c | 338 unsigned char addr, int retries) try_address() 343 for (i = 0; i <= retries; i++) { try_address() 345 if (ret == 1 || i == retries) try_address() 486 int ret, retries; bit_doAddress() local 488 retries = nak_ok ? 0 : i2c_adap->retries; bit_doAddress() 495 ret = try_address(i2c_adap, addr, retries); bit_doAddress() 514 ret = try_address(i2c_adap, addr, retries); bit_doAddress() 527 ret = try_address(i2c_adap, addr, retries); bit_doAddress() 637 adap->retries = 3; __i2c_bit_add_bus() 337 try_address(struct i2c_adapter *i2c_adap, unsigned char addr, int retries) try_address() argument
|
/linux-4.1.27/drivers/block/ |
H A D | hd.c | 266 int retries = 100000; controller_busy() local 271 } while ((status & BUSY_STAT) && --retries); controller_busy() 434 int retries; wait_DRQ() local 437 for (retries = 0; retries < 100000; retries++) { wait_DRQ() 449 int i, retries = 100000; read_intr() local 459 } while (--retries > 0); read_intr() 489 int retries = 100000; write_intr() local 499 } while (--retries > 0); write_intr()
|
H A D | swim3.c | 191 int retries; member in struct:floppy_state 383 fs->retries = 0; start_request() 548 if (fs->retries > 5) { act() 586 if (fs->retries > 5) { scan_timeout() 705 if (fs->retries > 5) { swim3_interrupt() 733 ++fs->retries; swim3_interrupt() 782 if (fs->retries < 5) { swim3_interrupt() 783 ++fs->retries; swim3_interrupt() 803 fs->retries = 0; swim3_interrupt()
|
/linux-4.1.27/drivers/char/tpm/ |
H A D | tpm_i2c_nuvoton.c | 270 int expected, status, burst_count, retries, size = 0; i2c_nuvoton_recv() local 277 for (retries = 0; retries < TPM_RETRY; retries++) { i2c_nuvoton_recv() 278 if (retries > 0) { i2c_nuvoton_recv() 354 int burst_count, bytes2write, retries, rc = -EIO; i2c_nuvoton_send() local 356 for (retries = 0; retries < TPM_RETRY; retries++) { i2c_nuvoton_send() 427 /* retries == TPM_RETRY */ i2c_nuvoton_send()
|
H A D | tpm_i2c_infineon.c | 123 * retries should usually not be needed, but are kept just to iic_tpm_read() 408 u8 retries = 0; recv_data() local 427 retries++; recv_data() 430 if (retries > MAX_COUNT_LONG) recv_data() 489 u8 retries = 0; tpm_tis_i2c_send() local 524 retries++; tpm_tis_i2c_send() 527 if (retries > MAX_COUNT_LONG) { tpm_tis_i2c_send()
|
/linux-4.1.27/drivers/char/ipmi/ |
H A D | ipmi_devintf.c | 177 int retries, handle_send_req() 227 retries, handle_send_req() 271 req.retries, ipmi_ioctl() 584 priv->default_retries = parms.retries; ipmi_ioctl() 594 parms.retries = priv->default_retries; ipmi_ioctl() 692 compat_int_t retries; member in struct:compat_ipmi_req_settime 746 __get_user(p64->retries, &p32->retries) || get_compat_ipmi_req_settime() 809 sp.retries, sp.retry_time_ms); compat_ipmi_ioctl() 175 handle_send_req(ipmi_user_t user, struct ipmi_req *req, int retries, unsigned int retry_time_ms) handle_send_req() argument
|
H A D | ipmi_bt_sm.c | 51 * Typical "Get BT Capabilities" values are 2-3 retries, 5-10 seconds, 109 int BT_CAP_retries; /* Recommended retries */ 402 /* Restart if retries are left, or return an error completion code */ 425 * Per the IPMI spec, retries are based on the sequence number error_recovery() 430 printk("%d retries left\n", error_recovery() 436 printk(KERN_WARNING "failed %d retries, sending error response\n", error_recovery() 627 case BT_STATE_RESTART: /* don't reset retries or seq! */ bt_event() 660 printk(KERN_WARNING "IPMI BT: req2rsp=%ld secs retries=%d\n", bt_event()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_dp_mst.c | 32 int retries = 0; radeon_dp_mst_set_be_cntl() local 55 } while ((temp & NI_DIG_SYMCLK_FE_ON) && retries++ < 10000); radeon_dp_mst_set_be_cntl() 56 if (retries == 10000) radeon_dp_mst_set_be_cntl() 70 int retries = 0; radeon_dp_mst_set_stream_attrib() local 93 } while ((temp & 0x1) && retries++ < 10000); radeon_dp_mst_set_stream_attrib() 95 if (retries == 10000) radeon_dp_mst_set_stream_attrib() 160 int retries = 0; radeon_dp_mst_set_vcp_size() local 168 } while ((temp & 0x1) && (retries++ < 10000)); radeon_dp_mst_set_vcp_size() 170 if (retries >= 10000) radeon_dp_mst_set_vcp_size()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-cp2112.c | 80 __be16 retry_time; /* # of retries, 0 = no limit */ 126 __be16 retries; member in struct:cp2112_xfer_status_report 139 transfer to complete. This may need to be changed if SMBUS clock, retries, 456 unsigned int retries; cp2112_i2c_xfer() local 488 for (retries = 0; retries < XFER_STATUS_RETRIES; ++retries) { cp2112_i2c_xfer() 497 if (XFER_STATUS_RETRIES <= retries) { cp2112_i2c_xfer() 543 unsigned int retries; cp2112_xfer() local 632 for (retries = 0; retries < XFER_STATUS_RETRIES; ++retries) { cp2112_xfer() 641 if (XFER_STATUS_RETRIES <= retries) { cp2112_xfer() 1116 be16_to_cpu(xfer->retries), be16_to_cpu(xfer->length)); cp2112_raw_event()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-taskfile.c | 154 int retries = (custom && tf->command == ATA_CMD_INIT_DEV_PARAMS) ? 5 : 1; task_no_data_intr() local 161 if ((stat & ATA_BUSY) == 0 || retries-- == 0) task_no_data_intr() 201 int retries; wait_drive_not_busy() local 208 for (retries = 0; retries < 1000; retries++) { wait_drive_not_busy()
|
H A D | ns87415.c | 41 int retries = SUPERIO_IDE_MAX_RETRIES; superio_ide_inb() local 49 } while (tmp == 0 && retries-- > 0); superio_ide_inb()
|
H A D | ide-cd_verbose.c | 124 { 0x011701, "Recovered data with retries" }, 127 { 0x011704, "Recovered data with retries and/or CIRC applied" }, 130 { 0x011801, "Recovered data with error correction and retries applied"},
|
H A D | ide-floppy.c | 135 if (pc->retries > IDEFLOPPY_MAX_PC_RETRIES) { ide_floppy_issue_pc() 150 ide_debug_log(IDE_DBG_FUNC, "retry #%d", pc->retries); ide_floppy_issue_pc() 152 pc->retries++; ide_floppy_issue_pc()
|
H A D | ide-atapi.c | 553 int retries = 100; ide_wait_ireason() local 555 while (retries-- && ((ireason & ATAPI_COD) == 0 || ide_wait_ireason() 561 if (retries == 0) { ide_wait_ireason()
|
H A D | ide-eh.c | 27 /* retries won't help these */ ide_ata_error() 108 * For normal I/O that may well include retries. We deal with
|
/linux-4.1.27/drivers/mtd/ |
H A D | ar7part.c | 55 int retries = 10; create_mtd_partitions() local 82 } while (retries--); create_mtd_partitions()
|
H A D | mtdswap.c | 553 unsigned int retries = 0; mtdswap_erase_block() local 572 if (retries++ < MTDSWAP_ERASE_RETRIES) { mtdswap_erase_block() 596 if (retries++ < MTDSWAP_ERASE_RETRIES) { mtdswap_erase_block() 731 unsigned int page, retries; mtdswap_move_block() local 736 retries = 0; mtdswap_move_block() 747 retries++; mtdswap_move_block() 748 if (retries < MTDSWAP_IO_RETRIES) mtdswap_move_block() 1132 unsigned int realblock, retries; mtdswap_readsect() local 1160 retries = 0; mtdswap_readsect() 1176 retries++; mtdswap_readsect() 1177 if (retries < MTDSWAP_IO_RETRIES) mtdswap_readsect()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_mbx.h | 112 #define IXGBE_VF_MBX_INIT_TIMEOUT 2000 /* number of retries on mailbox */ 113 #define IXGBE_VF_MBX_INIT_DELAY 500 /* microseconds between retries */
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
H A D | mbx.h | 122 #define IXGBE_VF_MBX_INIT_TIMEOUT 2000 /* number of retries on mailbox */ 123 #define IXGBE_VF_MBX_INIT_DELAY 500 /* microseconds between retries */
|
/linux-4.1.27/drivers/power/ |
H A D | sbs-battery.c | 178 int retries = 1; sbs_read_word_data() local 181 retries = max(chip->pdata->i2c_retry_count + 1, 1); sbs_read_word_data() 183 while (retries > 0) { sbs_read_word_data() 187 retries--; sbs_read_word_data() 273 int retries = 1; sbs_write_word_data() local 276 retries = max(chip->pdata->i2c_retry_count + 1, 1); sbs_write_word_data() 278 while (retries > 0) { sbs_write_word_data() 283 retries--; sbs_write_word_data()
|
H A D | max17042_battery.c | 242 int retries = 8; max17042_write_verify_reg() local 251 retries--; max17042_write_verify_reg() 253 } while (retries && read_value != value); max17042_write_verify_reg()
|
/linux-4.1.27/fs/ext3/ |
H A D | acl.c | 240 int error, retries = 0; ext3_set_acl() local 248 if (error == -ENOSPC && ext3_should_retry_alloc(inode->i_sb, &retries)) ext3_set_acl()
|
H A D | namei.c | 1697 int err, retries = 0; ext3_create() local 1720 if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) ext3_create() 1730 int err, retries = 0; ext3_mknod() local 1757 if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) ext3_mknod() 1766 int err, retries = 0; ext3_tmpfile() local 1791 if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) ext3_tmpfile() 1806 int err, retries = 0; ext3_mkdir() local 1881 if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) ext3_mkdir() 2227 int l, err, retries = 0; ext3_symlink() local 2318 if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) ext3_symlink() 2332 int err, retries = 0; ext3_link() local 2366 if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) ext3_link()
|
/linux-4.1.27/fs/ext4/ |
H A D | acl.c | 240 int error, retries = 0; ext4_set_acl() local 250 if (error == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) ext4_set_acl()
|
H A D | move_extent.c | 271 int i, err2, jblocks, retries = 0; move_extent_per_page() local 416 ext4_should_retry_alloc(sb, &retries)) move_extent_per_page() 420 if (*err == -EBUSY && retries++ < 4 && EXT4_SB(sb)->s_journal && move_extent_per_page()
|
/linux-4.1.27/drivers/net/usb/ |
H A D | cx82310_eth.c | 64 int actual_len, retries, ret; cx82310_cmd() local 88 for (retries = 0; retries < CMD_REPLY_RETRY; retries++) { cx82310_cmd()
|
/linux-4.1.27/drivers/misc/ |
H A D | arm-charlcd.c | 176 int retries = 50; charlcd_4bit_wait_busy() local 179 while (charlcd_4bit_read_bf(lcd) && retries) charlcd_4bit_wait_busy() 180 retries--; charlcd_4bit_wait_busy() 181 if (!retries) charlcd_4bit_wait_busy()
|
H A D | hpilo.c | 230 int retries; ilo_ccb_close() local 240 for (retries = MAX_WAIT; retries > 0; retries--) { ilo_ccb_close() 248 if (retries == 0) ilo_ccb_close()
|
/linux-4.1.27/drivers/ssb/ |
H A D | pcihost_wrapper.c | 90 * PCI Tx retries from interfering with C3 CPU state */ ssb_pcihost_probe()
|
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/ |
H A D | event.c | 101 * "TX retries exceeded" has a different meaning according to mode. wl12xx_process_mailbox_events()
|
H A D | event.h | 79 /* bitmap of stations (by HLID) which exceeded max tx retries */
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
H A D | event.h | 74 /* bitmap of stations (by HLID) which exceeded max tx retries */
|
H A D | event.c | 171 * "TX retries exceeded" has a different meaning according to mode. wl18xx_process_mailbox_events()
|
H A D | tx.c | 110 info->status.rates[0].count = 1; /* no data about retries */ wl18xx_tx_complete_packet()
|
/linux-4.1.27/net/llc/ |
H A D | llc_output.c | 62 * less mode communication; timeout/retries handled by network layer;
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-isch.c | 70 int retries = 0; sch_transaction() local 104 } while ((temp & 0x08) && (retries++ < MAX_RETRIES)); sch_transaction() 107 if (retries > MAX_RETRIES) { sch_transaction()
|
H A D | i2c-pxa.c | 833 for (i = adap->retries; i >= 0; i--) { i2c_pxa_pio_xfer() 842 i2c_pxa_scream_blue_murder(i2c, "exhausted retries"); i2c_pxa_pio_xfer() 1060 for (i = adap->retries; i >= 0; i--) { i2c_pxa_xfer() 1069 i2c_pxa_scream_blue_murder(i2c, "exhausted retries"); i2c_pxa_xfer() 1177 i2c->adap.retries = 5; i2c_pxa_probe()
|
H A D | i2c-sh7760.c | 317 retr = adap->retries; sh7760_i2c_master_xfer() 479 id->adap.retries = 3; sh7760_i2c_probe()
|
/linux-4.1.27/drivers/scsi/device_handler/ |
H A D | scsi_dh_hp_sw.c | 44 int retries; member in struct:hp_sw_dh_data 300 h->retry_cnt = h->retries; hp_sw_activate() 352 h->retries = HP_SW_RETRIES; hp_sw_bus_attach()
|
/linux-4.1.27/drivers/net/ethernet/apple/ |
H A D | mace.h | 59 #define MORE 0x10 /* 2 or more retries needed to xmit frame */ 63 #define RTRY 0x01 /* too many retries (transmission aborted) */ 67 #define RETRY_MASK 0x0f /* number of retries (0 - 15) */
|
/linux-4.1.27/arch/s390/pci/ |
H A D | pci_clp.c | 202 int rc, retries = 100; clp_set_pci_fn() local 219 retries--; clp_set_pci_fn() 220 if (retries < 0) clp_set_pci_fn()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-firmware.c | 385 int sz, retries; cx18_firmware_init() local 424 for (retries = 0; cx18_firmware_init() 425 retries < 50 && (cx18_read_reg(cx, CX18_PROC_SOFT_RESET) & 1) == 1; cx18_firmware_init() 426 retries++) cx18_firmware_init() 431 if (retries == 50 && cx18_firmware_init()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_device.h | 386 int retries, struct scsi_mode_data *data, 390 int timeout, int retries, 394 int retries, struct scsi_sense_hdr *sshdr); 423 unsigned char *sense, int timeout, int retries, 428 int retries, int *resid, u64 flags); scsi_execute_req() 432 int retries, int *resid) scsi_execute_req() 435 bufflen, sshdr, timeout, retries, resid, 0); scsi_execute_req() 429 scsi_execute_req(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, int retries, int *resid) scsi_execute_req() argument
|
H A D | libfc.h | 186 * @retries: The retry count for the current state 191 * @retry_work: Handle for retries 206 unsigned int retries; member in struct:fc_rport_priv 314 * @recov_retry: Number of recovery retries 777 * @retry_count: Number of retries 836 * @retry_count: Number of retries in the current state
|
/linux-4.1.27/include/uapi/linux/ |
H A D | hdreg.h | 153 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */ 155 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */ 168 #define WIN_WRITE_ONCE 0x31 /* 28-Bit without retries */ 170 #define WIN_WRITE_LONG_ONCE 0x33 /* 28-Bit without retries */ 185 #define WIN_VERIFY_ONCE 0x41 /* 28-Bit - without retries */ 222 #define WIN_READDMA_ONCE 0xC9 /* 28-Bit - without retries */ 224 #define WIN_WRITEDMA_ONCE 0xCB /* 28-Bit - without retries */
|
H A D | wireless.h | 517 #define IW_RETRY_LIMIT 0x1000 /* Maximum number of retries*/ 518 #define IW_RETRY_LIFETIME 0x2000 /* Maximum duration of retries in us */ 714 __u8 qual; /* link quality (%retries, SNR, 733 __u32 retries; /* Tx : Max MAC retries num reached */ member in struct:iw_discarded 1054 __s32 min_retry; /* Minimal number of retries */ 1055 __s32 max_retry; /* Maximal number of retries */
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | device-init.c | 650 unsigned int retries; ps3_find_and_add_device() local 657 for (retries = 0; retries < 10; retries++) { ps3_find_and_add_device() 671 if (retries) ps3_find_and_add_device() 672 pr_debug("%s:%u: device %llu:%llu found after %u retries\n", ps3_find_and_add_device() 673 __func__, __LINE__, bus_id, dev_id, retries); ps3_find_and_add_device()
|
/linux-4.1.27/net/ipv4/ |
H A D | tcp_timer.c | 85 /* Calculate maximal number or retries on an orphaned socket. */ tcp_orphan_retries() 88 int retries = sysctl_tcp_orphan_retries; /* May be zero. */ tcp_orphan_retries() local 92 retries = 0; tcp_orphan_retries() 95 * number of retries. 8 corresponds to >100 seconds with minimal tcp_orphan_retries() 97 if (retries == 0 && alive) tcp_orphan_retries() 98 retries = 8; tcp_orphan_retries() 99 return retries; tcp_orphan_retries()
|
/linux-4.1.27/sound/ppc/ |
H A D | snd_ps3.c | 122 int dma_ch, done, retries, stop_forced = 0; snd_ps3_verify_dma_stop() local 126 retries = count; snd_ps3_verify_dma_stop() 141 } while (!done && --retries); snd_ps3_verify_dma_stop() 142 if (!retries && force_stop) { snd_ps3_verify_dma_stop() 392 int ret, retries, i; snd_ps3_change_avsetting() local 413 retries = 1000; snd_ps3_change_avsetting() 419 --retries) { snd_ps3_change_avsetting()
|
/linux-4.1.27/net/irda/irnet/ |
H A D | irnet.h | 59 * o Connection retries (may be too hard to do) 182 * o Enable IrDA connect retries in ppp_irnet_send(). The good thing 183 * is that IrDA connect retries are directly driven by PPP LCP 184 * retries (we retry for each LCP packet), so that everything 187 * o Test and fixups to eliminate side effects of retries 216 * o Oops ! v10 fix disabled IrNET retries and passive behaviour.
|
/linux-4.1.27/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 1266 unsigned int sta, retries; pasemi_mac_pause_txchan() local 1272 for (retries = 0; retries < MAX_RETRIES; retries++) { pasemi_mac_pause_txchan() 1288 unsigned int sta, retries; pasemi_mac_pause_rxchan() local 1293 for (retries = 0; retries < MAX_RETRIES; retries++) { pasemi_mac_pause_rxchan() 1308 unsigned int sta, retries; pasemi_mac_pause_rxint() local 1312 for (retries = 0; retries < MAX_RETRIES; retries++) { pasemi_mac_pause_rxint()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-firmware.c | 55 int retries = 3; load_fw_direct() local 58 if (retries && request_firmware(&fw, fn, &itv->pdev->dev) == 0) { load_fw_direct() 70 retries--; load_fw_direct()
|
H A D | ivtv-mailbox.c | 165 int retries = 100; get_mailbox() local 173 for (i = 0; i < retries; i++) { get_mailbox() 181 then + msecs_to_jiffies(10*retries))) get_mailbox()
|
/linux-4.1.27/drivers/net/wireless/zd1211rw/ |
H A D | zd_mac.c | 451 const struct tx_retry_rate *retries; zd_mac_tx_status() local 470 retries = &zd_retry_rates[first_idx]; zd_mac_tx_status() 471 ZD_ASSERT(1 <= retry && retry <= retries->count); zd_mac_tx_status() 473 info->status.rates[0].idx = retries->rate[0]; zd_mac_tx_status() 477 info->status.rates[i].idx = retries->rate[i]; zd_mac_tx_status() 481 info->status.rates[i].idx = retries->rate[retry - 1]; zd_mac_tx_status() 519 const struct tx_retry_rate *retries; skb_queue_walk() local 543 retries = &zd_retry_rates[first_idx]; skb_queue_walk() 544 if (retry <= 0 || retry > retries->count) skb_queue_walk() 547 final_idx = retries->rate[retry - 1]; skb_queue_walk() 1416 * Tell mac80211 that we support multi rate retries zd_mac_alloc_hw() 1419 hw->max_rate_tries = 18; /* 9 rates * 2 retries/rate */ zd_mac_alloc_hw()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pci-dra7xx.c | 97 unsigned int retries = 1000; dra7xx_pcie_establish_link() local 109 while (retries--) { dra7xx_pcie_establish_link() 116 if (retries == 0) { dra7xx_pcie_establish_link()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bcdc.c | 95 #define RETRIES 2 /* # of retries to retrieve matching dcmd response */ 165 int ret = 0, retries = 0; brcmf_proto_bcdc_query_dcmd() local 186 if ((id < bcdc->reqid) && (++retries < RETRIES)) brcmf_proto_bcdc_query_dcmd()
|
/linux-4.1.27/drivers/firewire/ |
H A D | sbp2.c | 148 int retries; member in struct:sbp2_logical_unit 202 #define SBP2_RETRY_LIMIT 0xf /* 15 retries */ 834 if (lu->retries++ < 5) { sbp2_login() 855 dev_notice(tgt_dev(tgt), "logged in to LUN %04x (%d retries)\n", sbp2_login() 856 lu->lun, lu->retries); sbp2_login() 946 lu->retries++ >= 5) { sbp2_reconnect() 948 lu->retries = 0; sbp2_reconnect() 961 dev_notice(tgt_dev(tgt), "reconnected to LUN %04x (%d retries)\n", sbp2_reconnect() 962 lu->lun, lu->retries); sbp2_reconnect() 997 lu->retries = 0; sbp2_add_logical_unit() 1194 /* Do the login in a workqueue so we can easily reschedule retries. */ sbp2_probe() 1222 lu->retries = 0; sbp2_update()
|
/linux-4.1.27/drivers/hv/ |
H A D | connection.c | 424 int retries = 0; vmbus_post_msg() local 435 while (retries < 20) { vmbus_post_msg() 457 retries++; vmbus_post_msg()
|
/linux-4.1.27/include/net/ |
H A D | ieee80211_radiotap.h | 175 * Number of rts retries a transmitted frame used. 179 * Number of unicast retries a transmitted frame used. 264 * retries */
|
H A D | mac802154.h | 100 /* Indicates that transceiver will support csma (max_be, min_be, csma retries) 103 /* Indicates that transceiver will support ARET frame retries setting. */ 223 u8 min_be, u8 max_be, u8 retries); 225 s8 retries);
|
H A D | llc_conn.h | 42 u8 retry_count; /* number of retries */
|
/linux-4.1.27/drivers/mtd/tests/ |
H A D | torturetest.c | 102 int err, retries = 0; check_eraseblock() local 134 if (retries++ < RETRIES) { check_eraseblock() 147 if (retries != 0) check_eraseblock() 149 retries); check_eraseblock()
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
H A D | defines.h | 118 #define E1000_VF_INIT_TIMEOUT 200 /* Number of retries to clear RSTI */
|
H A D | mbx.h | 57 #define E1000_VF_MBX_INIT_DELAY 500 /* usec delay between retries */
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | memstick.c | 230 if ((*mrq) && (*mrq)->error && host->retries) { memstick_next_req() 232 host->retries--; memstick_next_req() 240 host->retries = cmd_retries > 1 ? cmd_retries - 1 : 1; memstick_next_req() 255 host->retries = cmd_retries; memstick_new_req()
|
/linux-4.1.27/drivers/scsi/ |
H A D | sr_ioctl.c | 181 /* We do our own retries because we want to know what the specific 189 int result, err = 0, retries = 0; sr_do_ioctl() local 223 if (retries++ < 10) sr_do_ioctl() 234 if (retries++ < 10) { sr_do_ioctl()
|
H A D | scsi_lib.c | 208 * @retries: number of times to retry request 217 unsigned char *sense, int timeout, int retries, u64 flags, scsi_execute() 237 req->retries = retries; scsi_execute() 267 struct scsi_sense_hdr *sshdr, int timeout, int retries, scsi_execute_req_flags() 279 sense, timeout, retries, flags, resid); scsi_execute_req_flags() 1242 cmd->allowed = req->retries; scsi_setup_blk_pc_cmnd() 2336 * @retries: number of retries before failing 2347 unsigned char *buffer, int len, int timeout, int retries, scsi_mode_select() 2398 sshdr, timeout, retries, NULL); scsi_mode_select() 2412 * @retries: number of retries before failing 2423 unsigned char *buffer, int len, int timeout, int retries, scsi_mode_sense() 2463 sshdr, timeout, retries, NULL); scsi_mode_sense() 2518 * @retries: number of retries before failing 2527 scsi_test_unit_ready(struct scsi_device *sdev, int timeout, int retries, scsi_test_unit_ready() argument 2541 /* try to eat the UNIT_ATTENTION if there are enough retries */ scsi_test_unit_ready() 2544 timeout, retries, NULL); scsi_test_unit_ready() 2549 sshdr->sense_key == UNIT_ATTENTION && --retries); scsi_test_unit_ready() 215 scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, unsigned char *sense, int timeout, int retries, u64 flags, int *resid) scsi_execute() argument 265 scsi_execute_req_flags(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, int retries, int *resid, u64 flags) scsi_execute_req_flags() argument 2346 scsi_mode_select(struct scsi_device *sdev, int pf, int sp, int modepage, unsigned char *buffer, int len, int timeout, int retries, struct scsi_mode_data *data, struct scsi_sense_hdr *sshdr) scsi_mode_select() argument 2422 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, unsigned char *buffer, int len, int timeout, int retries, struct scsi_mode_data *data, struct scsi_sense_hdr *sshdr) scsi_mode_sense() argument
|
H A D | scsi_ioctl.c | 89 int timeout, int retries) ioctl_internal_command() 98 &sshdr, timeout, retries, NULL); ioctl_internal_command() 88 ioctl_internal_command(struct scsi_device *sdev, char *cmd, int timeout, int retries) ioctl_internal_command() argument
|
H A D | gdth.c | 663 u32 retries,id; gdth_init_eisa() local 674 retries = INIT_RETRIES; gdth_init_eisa() 677 if (--retries == 0) { gdth_init_eisa() 682 TRACE2(("wait for DEINIT: retries=%d\n",retries)); gdth_init_eisa() 705 retries = INIT_RETRIES; gdth_init_eisa() 708 if (--retries == 0) { gdth_init_eisa() 760 u32 retries; gdth_init_isa() local 805 retries = INIT_RETRIES; gdth_init_isa() 808 if (--retries == 0) { gdth_init_isa() 837 retries = INIT_RETRIES; gdth_init_isa() 840 if (--retries == 0) { gdth_init_isa() 862 u32 retries; gdth_init_pci() local 940 retries = INIT_RETRIES; gdth_init_pci() 943 if (--retries == 0) { gdth_init_pci() 969 retries = INIT_RETRIES; gdth_init_pci() 972 if (--retries == 0) { gdth_init_pci() 1052 retries = INIT_RETRIES; gdth_init_pci() 1055 if (--retries == 0) { gdth_init_pci() 1082 retries = INIT_RETRIES; gdth_init_pci() 1085 if (--retries == 0) { gdth_init_pci() 1167 retries = INIT_RETRIES; gdth_init_pci() 1170 if (--retries == 0) { gdth_init_pci() 1195 retries = INIT_RETRIES; gdth_init_pci() 1198 if (--retries == 0) { gdth_init_pci() 1210 retries = INIT_RETRIES; gdth_init_pci() 1213 if (--retries == 0) { gdth_init_pci() 1477 int retries,index; gdth_internal_cmd() local 1485 for (retries = INIT_RETRIES;;) { gdth_internal_cmd() 1539 if (ha->status != S_BSY || --retries == 0) gdth_internal_cmd()
|
H A D | gdth_proc.c | 237 /* 2.a statistics (and retries/reassigns) */ gdth_show_info() 294 /* search retries/reassigns */ gdth_show_info() 300 pds->list[k].retries, gdth_show_info()
|
H A D | sd.c | 1452 int retries, res; sd_sync_cache() local 1461 for (retries = 3; retries > 0; --retries) { sd_sync_cache() 1749 int retries, spintime; sd_spinup_disk() local 1759 retries = 0; sd_spinup_disk() 1780 retries++; sd_spinup_disk() 1781 } while (retries < 3 && sd_spinup_disk() 1946 int retries = 3, reset_retries = READ_CAPACITY_RETRIES_ON_RESET; read_capacity_16() local 1986 retries--; read_capacity_16() 1988 } while (the_result && retries); read_capacity_16() 2042 int retries = 3, reset_retries = READ_CAPACITY_RETRIES_ON_RESET; read_capacity_10() local 2068 retries--; read_capacity_10() 2070 } while (the_result && retries); read_capacity_10()
|
H A D | u14-34f.c | 192 * Number of internal retries is now limited. 600 unsigned int retries; /* Number of internal retries */ member in struct:hostdata 1421 HD(j)->retries = 0; u14_34f_eh_host_reset() 1842 if (HD(j)->last_retried_pid == SCpnt->serial_number) HD(j)->retries = 0; ihdlr() 1856 /* Perform a limited number of internal retries */ ihdlr() 1870 && HD(j)->retries < MAX_INTERNAL_RETRIES) { ihdlr() 1878 HD(j)->retries++; ihdlr()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | events.c | 493 int retries; ptlrpc_ni_fini() local 500 for (retries = 0;; retries++) { ptlrpc_ni_fini() 511 if (retries != 0) ptlrpc_ni_fini()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | cyttsp_core.h | 41 #define CY_NUM_RETRY 16 /* max number of retries for read ops */
|
H A D | edt-ft5x06.c | 490 int retries = EDT_SWITCH_MODE_RETRIES; edt_ft5x06_factory_mode() local 524 } while (--retries > 0); edt_ft5x06_factory_mode() 526 if (retries == 0) { edt_ft5x06_factory_mode() 552 int retries = EDT_SWITCH_MODE_RETRIES; edt_ft5x06_work_mode() local 573 } while (--retries > 0); edt_ft5x06_work_mode() 575 if (retries == 0) { edt_ft5x06_work_mode() 638 int retries = EDT_RAW_DATA_RETRIES; edt_ft5x06_debugfs_raw_data_read() local 667 } while (--retries > 0); edt_ft5x06_debugfs_raw_data_read() 676 if (retries == 0) { edt_ft5x06_debugfs_raw_data_read()
|
H A D | cyttsp4_spi.c | 110 * allow silent retries cyttsp_spi_xfer()
|
H A D | cyttsp_spi.c | 107 * allow silent retries cyttsp_spi_xfer()
|
/linux-4.1.27/drivers/media/common/saa7146/ |
H A D | saa7146_i2c.c | 293 static int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg *msgs, int num, int retries) saa7146_i2c_transfer() argument 353 } while (err != num && retries--); saa7146_i2c_transfer() 390 return saa7146_i2c_transfer(dev, msg, num, adapter->retries); saa7146_i2c_xfer() 419 i2c_adapter->retries = SAA7146_I2C_RETRIES; saa7146_i2c_adapter_prepare()
|
/linux-4.1.27/net/wireless/ |
H A D | wext-proc.c | 63 stats->discard.fragment, stats->discard.retries, wireless_seq_printf_stats()
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-mux.c | 145 priv->adap.retries = parent->retries; i2c_add_mux_adapter()
|
/linux-4.1.27/drivers/mfd/ |
H A D | mfd-core.c | 38 /* if the enable hook failed, decrement counter to allow retries */ mfd_cell_enable() 55 /* if the disable hook failed, increment to allow retries */ mfd_cell_disable()
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
H A D | islpci_hotplug.c | 128 * The RETRY_TIMEOUT is used to set the number of retries that the core, as a prism54_probe() 133 * execute more retries. prism54_probe()
|
/linux-4.1.27/fs/nfs/filelayout/ |
H A D | filelayoutdev.c | 294 "retries a request before it attempts further " 299 " data server before it retries an NFS request.");
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | ad9389b.c | 75 /* Number of EDID read retries left */ 450 const int retries = 20; ad9389b_s_power() local 466 for (i = 0; i < retries; i++) { ad9389b_s_power() 473 if (i == retries) { ad9389b_s_power() 480 "needed %d retries to powerup the ad9389b\n", i); ad9389b_s_power() 514 int retries = 100; ad9389b_set_isr() local 534 } while (retries-- && irqs_rd != irqs); ad9389b_set_isr() 1031 v4l2_dbg(1, debug, sd, "%s: edid ready (retries: %d)\n", ad9389b_check_edid_status()
|
H A D | adv7511.c | 81 /* Number of EDID read retries left */ 171 v4l_err(client, "read ok after %d retries\n", i); adv_smbus_read_byte_data() 497 const int retries = 20; adv7511_s_power() local 513 for (i = 0; i < retries; i++) { adv7511_s_power() 520 if (i == retries) { adv7511_s_power() 526 v4l2_dbg(1, debug, sd, "%s: needed %d retries to powerup the adv7511\n", __func__, i); adv7511_s_power() 550 int retries = 100; adv7511_set_isr() local 572 } while (retries-- && irqs_rd != irqs); adv7511_set_isr() 1237 v4l2_dbg(1, debug, sd, "%s: edid ready (retries: %d)\n", adv7511_check_edid_status()
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
H A D | usbgecko_udbg.c | 109 * It silently fails if the TX fifo is not ready after a number of retries. 150 * It fails if the RX fifo is not ready after a number of retries.
|
/linux-4.1.27/kernel/time/ |
H A D | timer_list.c | 264 SEQ_printf(m, " retries: %lu\n", dev->retries); print_tickdevice()
|
/linux-4.1.27/include/linux/mmc/ |
H A D | core.h | 81 unsigned int retries; /* max number of retries */ member in struct:mmc_command
|
/linux-4.1.27/drivers/net/ieee802154/ |
H A D | at86rf230.c | 57 /* tx retries to access the TX_ON state 549 * Additional we do several retries to try to get into at86rf230_async_state_assert() 550 * TX_ON state without forcing. If the retries are at86rf230_async_state_assert() 1283 u8 retries) at86rf230_set_csma_params() 1296 return at86rf230_write_subreg(lp, SR_MAX_CSMA_RETRIES, retries); at86rf230_set_csma_params() 1300 at86rf230_set_frame_retries(struct ieee802154_hw *hw, s8 retries) at86rf230_set_frame_retries() argument 1305 lp->tx_aret = retries >= 0; at86rf230_set_frame_retries() 1306 lp->max_frame_retries = retries; at86rf230_set_frame_retries() 1308 if (retries >= 0) at86rf230_set_frame_retries() 1309 rc = at86rf230_write_subreg(lp, SR_MAX_FRAME_RETRIES, retries); at86rf230_set_frame_retries() 1282 at86rf230_set_csma_params(struct ieee802154_hw *hw, u8 min_be, u8 max_be, u8 retries) at86rf230_set_csma_params() argument
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_init.c | 551 int retries = QLCNIC_CMDPEG_CHECK_RETRY_COUNT; qlcnic_cmd_peg_ready() local 568 } while (--retries); qlcnic_cmd_peg_ready() 583 int retries = QLCNIC_RCVPEG_CHECK_RETRY_COUNT; qlcnic_receive_peg_ready() local 593 } while (--retries); qlcnic_receive_peg_ready() 595 if (!retries) { qlcnic_receive_peg_ready() 1073 int retries = QLCNIC_HEARTBEAT_CHECK_RETRY_COUNT; qlcnic_check_fw_hearbeat() local 1086 } while (--retries); qlcnic_check_fw_hearbeat()
|
H A D | qlcnic_83xx_init.c | 1579 int retries, ret = -EIO, err = 0; qlcnic_83xx_check_heartbeat() local 1581 retries = QLCNIC_HEARTBEAT_CHECK_RETRY_COUNT; qlcnic_83xx_check_heartbeat() 1593 } while (--retries); qlcnic_83xx_check_heartbeat() 1623 int retries = QLCNIC_CMDPEG_CHECK_RETRY_COUNT; qlcnic_83xx_check_cmd_peg_status() local 1631 } while (--retries); qlcnic_83xx_check_cmd_peg_status() 1657 u8 retries; qlcnic_83xx_poll_reg() local 1662 retries = duration / 10; qlcnic_83xx_poll_reg() 1675 } while (retries--); qlcnic_83xx_poll_reg()
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | txrx.c | 132 /* Decrease number of retries for the initial rate */ tx_policy_build() 176 register unsigned rateid, off, shift, retries; tx_policy_build() local 182 retries = rates[i].count; tx_policy_build() 183 if (retries > 0x0F) { tx_policy_build() 185 retries = 0x0F; tx_policy_build() 187 policy->tbl[off] |= __cpu_to_le32(retries << shift); tx_policy_build() 188 policy->retry_count += retries; tx_policy_build()
|
/linux-4.1.27/drivers/tty/ |
H A D | isicom.c | 240 unsigned int retries, a; lock_card() local 242 for (retries = 0; retries < 10; retries++) { lock_card() 404 unsigned int retries; isicom_tx() local 427 for (retries = 0; retries < 100; retries++) { isicom_tx() 432 if (retries >= 100) isicom_tx()
|
/linux-4.1.27/drivers/iio/common/ssp_sensors/ |
H A D | ssp_dev.c | 127 int retries = 0; ssp_check_fwbl() local 129 while (retries++ < 5) { ssp_check_fwbl() 134 "Invalid revision, trying %d time\n", retries); ssp_check_fwbl()
|
/linux-4.1.27/drivers/misc/eeprom/ |
H A D | at25.c | 178 unsigned long timeout, retries; at25_ee_write() local 229 retries = 0; at25_ee_write() 242 } while (retries++ < 3 || time_before_eq(jiffies, timeout)); at25_ee_write()
|
/linux-4.1.27/drivers/scsi/bfa/ |
H A D | bfa_defs_fcs.h | 168 u32 ns_retries; /* NS command retries */ 211 u32 ms_retries; /* MS command retries */ 288 u32 fdisc_retries; /* fdisc retries */
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | serial2002.c | 168 int retries = 0; serial2002_tty_read() local 171 retries++; serial2002_tty_read() 172 if (retries >= timeout) serial2002_tty_read()
|
H A D | jr3_pci.c | 122 int retries; member in struct:jr3_pci_subdev_private 487 spriv->retries = 0; jr3_pci_poll_subdevice() 492 spriv->retries++; jr3_pci_poll_subdevice() 493 if (spriv->retries < 10) { jr3_pci_poll_subdevice()
|
/linux-4.1.27/drivers/w1/masters/ |
H A D | ds2482.c | 219 int retries = 0; ds2482_wait_1wire_idle() local 225 (++retries < DS2482_WAIT_IDLE_TIMEOUT)); ds2482_wait_1wire_idle() 228 if (retries >= DS2482_WAIT_IDLE_TIMEOUT) ds2482_wait_1wire_idle()
|
/linux-4.1.27/drivers/iio/accel/ |
H A D | mma9551_core.c | 125 int ret, retries; mma9551_transfer() local 156 retries = MMA9551_I2C_READ_RETRIES; mma9551_transfer() 173 } while (--retries > 0); mma9551_transfer() 175 if (retries == 0) { mma9551_transfer()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | multicast.c | 112 int retries; member in struct:mcast_group 555 if (status && group->retries > 0 && leave_handler() 557 group->retries--; leave_handler() 582 group->retries = 3; acquire_group()
|
/linux-4.1.27/drivers/media/pci/mantis/ |
H A D | mantis_i2c.c | 235 i2c_adapter->retries = 3; mantis_i2c_init()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | desc.c | 95 * - Zero retries don't make sense. ath5k_hw_setup_2word_tx_desc() 100 ATH5K_ERR(ah, "zero retries\n"); ath5k_hw_setup_2word_tx_desc() 266 * - Zero retries don't make sense. ath5k_hw_setup_4word_tx_desc() 271 ATH5K_ERR(ah, "zero retries\n"); ath5k_hw_setup_4word_tx_desc()
|
H A D | pci.c | 229 * PCI Tx retries from interfering with C3 CPU state. ath5k_pci_probe() 321 * PCI Tx retries from interfering with C3 CPU state ath5k_pci_resume()
|
/linux-4.1.27/drivers/message/fusion/lsi/ |
H A D | mpi_log_fc.h | 44 MPI_IOCLOGINFO_FC_INIT_ERROR_RX_OTHER = 0x20000005, /* Other errors caught by IOC which require retries */
|
/linux-4.1.27/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.h | 62 #define SEEQ_TSTAT_R16 0x004 /* Did 16 retries to tx a frame */
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | mac80211_hwsim.h | 165 * always report the rate and number of retries used.
|
H A D | rayctl.h | 491 UCHAR retries; member in struct:tx_requested_cmd 500 UCHAR retries; member in struct:tx_requested_cmd_4
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_user_pages.c | 96 * have to bother with retries or mapping a dummy page to insure we
|
/linux-4.1.27/arch/x86/include/asm/uv/ |
H A D | uv_bau.h | 131 * delay for 'plugged' timeout retries, in microseconds 493 unsigned long s_retriesok; /* successful retries */ 550 by retries */ 551 unsigned long d_nocanceled; /* retries that found nothing
|
/linux-4.1.27/block/ |
H A D | scsi_ioctl.c | 360 rq->retries = 0; sg_io() 472 rq->retries = 5; sg_scsi_ioctl() 478 rq->retries = 1; sg_scsi_ioctl() 491 rq->retries = 1; sg_scsi_ioctl()
|
/linux-4.1.27/fs/ncpfs/ |
H A D | ncp_fs_sb.h | 141 int timeout_retries; /* DGRAM only: retries left */
|
/linux-4.1.27/include/net/caif/ |
H A D | caif_hsi.h | 121 int retries; member in struct:cfhsi_rx_state
|
/linux-4.1.27/arch/mips/mti-malta/ |
H A D | malta-init.c | 262 /* Don't handle target retries indefinitely. */ prom_init()
|
/linux-4.1.27/net/ceph/crush/ |
H A D | mapper.c | 396 * @local_retries: localized retries 397 * @local_fallback_retries: localized fallback retries 764 * counted "retries" and not "tries"). add one. crush_do_rule() 769 * the local tries values were counted as "retries", though, crush_do_rule()
|
/linux-4.1.27/net/ieee802154/ |
H A D | trace.h | 203 ", max frame retries: %d", WPAN_PHY_PR_ARG,
|
/linux-4.1.27/mm/ |
H A D | page_counter.c | 82 * counter has changed and retries. page_counter_try_charge()
|
H A D | zbud.c | 475 * a user defined number of retries. 489 int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries) zbud_reclaim_page() argument 497 retries == 0) { zbud_reclaim_page() 501 for (i = 0; i < retries; i++) { zbud_reclaim_page()
|
/linux-4.1.27/include/linux/crush/ |
H A D | crush.h | 172 /* choose local retries before re-descent */
|
/linux-4.1.27/drivers/hwmon/ |
H A D | abituguru.c | 92 /* Maximum 3 retries on timedout reads/writes, delay 200 ms before retrying */ 341 u8 bank_addr, u8 sensor_addr, int retries) abituguru_send_address() 345 * any retries, and thus be quiet. abituguru_send_address() 347 int report_errors = retries; abituguru_send_address() 364 if (retries) { abituguru_send_address() 367 "tries remaining\n", retries); abituguru_send_address() 370 retries--; abituguru_send_address() 386 * result in buf, retry the send address part of the read retries times. 389 u8 bank_addr, u8 sensor_addr, u8 *buf, int count, int retries) abituguru_read() 394 i = abituguru_send_address(data, bank_addr, sensor_addr, retries); abituguru_read() 401 ABIT_UGURU_DEBUG(retries ? 1 : 3, abituguru_read() 340 abituguru_send_address(struct abituguru_data *data, u8 bank_addr, u8 sensor_addr, int retries) abituguru_send_address() argument 388 abituguru_read(struct abituguru_data *data, u8 bank_addr, u8 sensor_addr, u8 *buf, int count, int retries) abituguru_read() argument
|
H A D | sch56xx-common.c | 164 pr_err("Max retries exceeded reading virtual register 0x%04hx (%d)\n", sch56xx_send_cmd() 185 pr_err("Max retries exceeded reading virtual register 0x%04hx (%d)\n", sch56xx_send_cmd()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.h | 262 #define FM10K_MBX_INIT_TIMEOUT 2000 /* number of retries on mailbox */ 263 #define FM10K_MBX_INIT_DELAY 500 /* microseconds between retries */
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
H A D | netcp_xgbepcsr.c | 402 int retries = 0, link_up; netcp_xgbe_serdes_check_lane() local 425 if (++retries > 1) { netcp_xgbe_serdes_check_lane()
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_res.c | 168 "vNIC plogi retries %d plogi timeout %d\n", fnic_get_vnic_config() 174 "vNIC port dn io retries %d port dn timeout %d\n", fnic_get_vnic_config()
|
/linux-4.1.27/drivers/s390/scsi/ |
H A D | zfcp_dbf.h | 202 * @scsi_allowed: allowed retries 334 else if (scmd->retries > 0) zfcp_dbf_scsi_result()
|
/linux-4.1.27/drivers/ata/ |
H A D | pata_ns87415.c | 229 int retries = SUPERIO_IDE_MAX_RETRIES; ns87560_read_buggy() local 235 } while(retries-- > 0); ns87560_read_buggy()
|
/linux-4.1.27/drivers/usb/musb/ |
H A D | musb_virthub.c | 93 int retries = 10000; musb_port_suspend() local 103 if (retries-- < 1) musb_port_suspend()
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.h | 919 IPW_ORD_STAT_TX_RETRIES, // # of Tx retries 920 IPW_ORD_STAT_TX_RETRY1, // # of Tx retries at 1MBPS 921 IPW_ORD_STAT_TX_RETRY2, // # of Tx retries at 2MBPS 922 IPW_ORD_STAT_TX_RETRY5_5, // # of Tx retries at 5.5MBPS 923 IPW_ORD_STAT_TX_RETRY11, // # of Tx retries at 11MBPS 1009 IPW_ORD_STAT_PERCENT_RETRIES, // current calculation of % missed tx retries
|
/linux-4.1.27/drivers/net/wan/ |
H A D | cosa.c | 1567 int retries = 1000; get_wait_data() 1569 while (--retries) { get_wait_data() 1575 pr_info("get_wait_data returning after %d retries\n", get_wait_data() 1576 999-retries); get_wait_data() 1595 int retries = 1000; put_wait_data() 1596 while (--retries) { put_wait_data() 1601 pr_info("Putdata: %d retries\n", 999-retries); put_wait_data() 1976 pr_info("cosa%d: unknown status 0x%02x in IRQ after %d retries\n", cosa_interrupt() 1562 int retries = 1000; get_wait_data() local 1590 int retries = 1000; put_wait_data() local
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.c | 680 int retries = CRB_CMDPEG_CHECK_RETRY_COUNT; qla4_83xx_check_cmd_peg_status() local 692 } while (--retries); qla4_83xx_check_cmd_peg_status() 712 uint8_t retries; qla4_83xx_poll_reg() local 719 retries = duration / 10; qla4_83xx_poll_reg() 732 } while (retries--); qla4_83xx_poll_reg()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | usb.c | 839 u32 retries = USB8XXX_FW_MAX_RETRY, dlen; mwifiex_prog_fw_w_helper() local 883 while (retries--) { mwifiex_prog_fw_w_helper() 941 retries = USB8XXX_FW_MAX_RETRY; mwifiex_prog_fw_w_helper() 945 } while ((dnld_cmd != FW_HAS_LAST_BLOCK) && retries); mwifiex_prog_fw_w_helper() 954 if (retries) mwifiex_prog_fw_w_helper()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | smp_64.c | 623 int retries, this_cpu, prev_sent, i, saw_cpu_error; hypervisor_xcall_deliver() local 632 retries = 0; hypervisor_xcall_deliver() 692 if (unlikely(++retries > 10000)) hypervisor_xcall_deliver() 715 " progress after %d retries.\n", hypervisor_xcall_deliver() 716 this_cpu, retries); hypervisor_xcall_deliver()
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | ipaq.c | 523 int retries = connect_retries; ipaq_open() local 534 while (retries) { ipaq_open() 535 retries--; ipaq_open() 544 if (!retries && result) { ipaq_open() 615 "Maximum number of connect retries (one second each)");
|
/linux-4.1.27/drivers/scsi/ufs/ |
H A D | ufshcd.c | 52 /* NOP OUT retries waiting for NOP IN response */ 57 /* Query request retries */ 65 /* maximum number of link-startup retries */ 68 /* maximum number of reset retries before giving up */ 2461 int i, retries, err = 0; ufshcd_complete_dev_init() local 2464 for (retries = QUERY_REQ_RETRIES; retries > 0; retries--) { ufshcd_complete_dev_init() 2481 for (retries = QUERY_REQ_RETRIES; retries > 0; retries--) { ufshcd_complete_dev_init() 2640 int retries = DME_LINKSTARTUP_RETRIES; ufshcd_link_startup() local 2662 } while (ret && retries--); ufshcd_link_startup() 2695 int retries; ufshcd_verify_dev_init() local 2699 for (retries = NOP_OUT_RETRIES; retries > 0; retries--) { ufshcd_verify_dev_init() 3884 int retries = MAX_HOST_RESET_RETRIES; ufshcd_reset_and_restore() local 3888 } while (err && --retries); ufshcd_reset_and_restore()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_dp_helper.c | 221 DRM_DEBUG_KMS("too many retries, giving up\n"); drm_dp_dpcd_access() 512 DRM_DEBUG_KMS("too many retries, giving up\n"); drm_dp_i2c_do_msg() 630 aux->ddc.retries = 3; drm_dp_aux_register()
|
/linux-4.1.27/drivers/crypto/nx/ |
H A D | nx.c | 51 * the thread, limit the number of retries to 10 here. 57 int rc, retries = 10; nx_hcall_sync() local 64 } while (rc == -EBUSY && !may_sleep && retries--); nx_hcall_sync()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | hdmi5_core.c | 144 const int retries = 1000; hdmi_core_ddc_edid() local 168 for (i = 0; i < retries; ++i) { hdmi_core_ddc_edid() 186 if (i == retries) { hdmi_core_ddc_edid()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | smu.h | 151 * 0xfe result. OF does a loop of up to 64 retries, waiting 20ms and 152 * doing the above again until either the retries expire or the result 512 int retries; member in struct:smu_i2c_cmd
|
/linux-4.1.27/sound/arm/ |
H A D | aaci.c | 113 int timeout, retries = 10; aaci_ac97_read() local 166 } else if (--retries) { aaci_ac97_read() 176 } while (retries); aaci_ac97_read()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | sunqe.h | 67 #define CREG_STAT_ERETRIES 0x04000000 /* More than 16 retries */ 170 #define MREGS_TXFSTAT_MRETRY 0x10 /* TX > 1 retries */
|
/linux-4.1.27/arch/x86/platform/uv/ |
H A D | tlb_uv.c | 85 "retries: destination timeout retries sent", 101 "canc: number messages canceled by retries", 102 "nocan: number retries that found nothing to cancel", 538 * Our retries may be blocked by all destination uv1_wait_completion() 637 * Our retries may be blocked by all destination uv2_3_wait_completion() 701 * Our retries are blocked by all destination sw ack resources being 1374 "numuvhubs4 numuvhubs2 numuvhubs1 dto snacks retries "); ptc_seq_show()
|
/linux-4.1.27/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 346 int retries; /* The number of retries left for this command. */ member in struct:mtip_cmd
|