Home
last modified time | relevance | path

Searched refs:tries (Results 1 – 25 of 194) sorted by relevance

12345678

/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_sd7220.c177 int ret, pat, tries, chn; in qib_resync_ibepb() local
182 for (tries = 0; tries < (4 * IBSD_RESYNC_TRIES); ++tries) { in qib_resync_ibepb()
189 if (ret != 0xF0 && ret != 0x55 && tries == 0) in qib_resync_ibepb()
618 int tries; in epb_trans() local
625 for (tries = EPB_TRANS_TRIES; tries; --tries) { in epb_trans()
633 if (tries > 0 && o_vp) in epb_trans()
635 return tries; in epb_trans()
657 int tries, ret; in qib_sd7220_reg_mod() local
686 for (tries = EPB_TRANS_TRIES; tries; --tries) { in qib_sd7220_reg_mod()
693 if (tries > 0) { in qib_sd7220_reg_mod()
[all …]
/linux-3.4.99/drivers/rtc/
Drtc-dm355evm.c41 int tries = 0; in dm355evm_rtc_read_time() local
52 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time()
59 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time()
66 if (tries && time.bytes[2] == status) in dm355evm_rtc_read_time()
73 if (tries && time.bytes[3] == status) in dm355evm_rtc_read_time()
77 } while (++tries < 5); in dm355evm_rtc_read_time()
/linux-3.4.99/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c191 int tries; in pseries_cpu_die() local
197 for (tries = 0; tries < 5000; tries++) { in pseries_cpu_die()
206 for (tries = 0; tries < 25; tries++) { in pseries_cpu_die()
/linux-3.4.99/drivers/input/touchscreen/
Dzylonite-wm97xx.c95 static u16 last, tries; in wm97xx_acc_pen_down() local
104 if (tries > 5) { in wm97xx_acc_pen_down()
105 tries = 0; in wm97xx_acc_pen_down()
111 tries++; in wm97xx_acc_pen_down()
132 tries = 0; in wm97xx_acc_pen_down()
Dmainstone-wm97xx.c66 static u16 last, tries; variable
138 if (tries > 5) { in wm97xx_acc_pen_down()
139 tries = 0; in wm97xx_acc_pen_down()
145 tries++; in wm97xx_acc_pen_down()
166 tries = 0; in wm97xx_acc_pen_down()
Dcyttsp_core.c84 int tries; in ttsp_read_block_data() local
86 for (tries = 0; tries < CY_NUM_RETRY; tries++) { in ttsp_read_block_data()
101 int tries; in ttsp_write_block_data() local
103 for (tries = 0; tries < CY_NUM_RETRY; tries++) { in ttsp_write_block_data()
/linux-3.4.99/drivers/input/joystick/
Dgrip_mp.c322 int flags, tries = 0, bads = 0; in dig_mode_start() local
333 while (tries < 64 && bads < 8) { /* Reset multiport and try getting a packet */ in dig_mode_start()
341 tries++; in dig_mode_start()
479 int dig_mode, initialized = 0, tries = 0; in multiport_init() local
483 while (!dig_mode && tries < 4) { in multiport_init()
485 tries++; in multiport_init()
496 for (tries = 0; tries < 4096; tries++) { in multiport_init()
/linux-3.4.99/drivers/ata/
Dpata_hpt3x2n.c388 int tries; in hpt3xn_calibrate_dpll() local
390 for (tries = 0; tries < 0x5000; tries++) { in hpt3xn_calibrate_dpll()
395 for (tries = 0; tries < 0x1000; tries++) { in hpt3xn_calibrate_dpll()
Dpata_hpt37x.c682 int tries; in hpt37x_calibrate_dpll() local
684 for (tries = 0; tries < 0x5000; tries++) { in hpt37x_calibrate_dpll()
689 for (tries = 0; tries < 0x1000; tries++) { in hpt37x_calibrate_dpll()
/linux-3.4.99/drivers/bluetooth/
Dbtmrvl_sdio.c203 unsigned int tries; in btmrvl_sdio_poll_card_status() local
207 for (tries = 0; tries < MAX_POLL_TRIES * 1000; tries++) { in btmrvl_sdio_poll_card_status()
230 unsigned int tries; in btmrvl_sdio_verify_fw_download() local
233 for (tries = 0; tries < pollnum; tries++) { in btmrvl_sdio_verify_fw_download()
353 unsigned int tries, offset; in btmrvl_sdio_download_fw_w_helper() local
401 for (tries = 0; tries < MAX_POLL_TRIES; tries++) { in btmrvl_sdio_download_fw_w_helper()
/linux-3.4.99/drivers/isdn/sc/
Dmessage.c180 int tries; in send_and_receive() local
198 tries = 0; in send_and_receive()
200 while (tries < timeout) { in send_and_receive()
224 tries++; in send_and_receive()
/linux-3.4.99/arch/arm/mach-omap1/
Dboard-htcherald.c464 unsigned int tries = 200; in htcherald_lcd_init() local
474 tries--; in htcherald_lcd_init()
475 if (!tries) in htcherald_lcd_init()
478 if (!tries) in htcherald_lcd_init()
527 unsigned int tries = 20; in htcherald_usb_enable() local
548 --tries); in htcherald_usb_enable()
/linux-3.4.99/drivers/net/ethernet/sun/
Dsunqe.c64 int tries = QEC_RESET_TRIES; in qec_global_reset() local
67 while (--tries) { in qec_global_reset()
75 if (tries) in qec_global_reset()
88 int tries; in qe_stop() local
92 tries = MACE_RESET_RETRIES; in qe_stop()
93 while (--tries) { in qe_stop()
101 if (!tries) { in qe_stop()
107 tries = QE_RESET_RETRIES; in qe_stop()
108 while (--tries) { in qe_stop()
116 if (!tries) { in qe_stop()
[all …]
/linux-3.4.99/sound/firewire/
Dlib.c59 int generation, rcode, tries = 0; in snd_fw_transaction() local
72 if (rcode_is_permanent_error(rcode) || ++tries >= 3) { in snd_fw_transaction()
/linux-3.4.99/drivers/w1/slaves/
Dw1_ds2431.c70 int tries = W1_F2D_READ_RETRIES; in w1_f2d_readblock() local
91 } while (--tries); in w1_f2d_readblock()
149 int tries = W1_F2D_READ_RETRIES; in w1_f2d_write() local
178 if (--tries) in w1_f2d_write()
/linux-3.4.99/drivers/net/ethernet/freescale/
Dfec_mpc52xx_phy.c33 int tries = 3; in mpc52xx_fec_mdio_transfer() local
42 while (!(in_be32(&fec->ievent) & FEC_IEVENT_MII) && --tries) in mpc52xx_fec_mdio_transfer()
45 if (!tries) in mpc52xx_fec_mdio_transfer()
/linux-3.4.99/drivers/media/video/s5p-tv/
Dsii9234_drv.c112 int ret, tries; in sii9234_reset() local
127 for (tries = 0; tries < 100 ; ++tries) { in sii9234_reset()
137 if (tries == 100) { in sii9234_reset()
Dsdo_drv.c211 int tries; in sdo_streamoff() local
216 for (tries = 100; tries; --tries) { in sdo_streamoff()
221 if (tries == 0) in sdo_streamoff()
223 return tries ? 0 : -EIO; in sdo_streamoff()
/linux-3.4.99/arch/powerpc/kernel/
Dcrash.c110 int tries = 0; in crash_kexec_prepare_cpus() local
143 if ((panic_timeout > 0) || (tries > 0)) in crash_kexec_prepare_cpus()
174 tries++; in crash_kexec_prepare_cpus()
/linux-3.4.99/drivers/tty/hvc/
Dhvsi_lib.c183 unsigned int tries, read = 0; in hvsilib_get_chars() local
199 for (tries = 1; count && tries < 2; tries++) { in hvsilib_get_chars()
222 tries--; in hvsilib_get_chars()
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dsdio.c572 u32 tries; in mwifiex_sdio_poll_card_status() local
575 for (tries = 0; tries < MAX_POLL_TRIES; tries++) { in mwifiex_sdio_poll_card_status()
584 dev_err(adapter->dev, "poll card status failed, tries = %d\n", tries); in mwifiex_sdio_poll_card_status()
701 u32 txlen, tx_blocks = 0, tries; in mwifiex_prog_fw_w_helper() local
737 for (tries = 0; tries < MAX_POLL_TRIES; tries++) { in mwifiex_prog_fw_w_helper()
841 u32 tries; in mwifiex_check_fw_status() local
845 for (tries = 0; tries < poll_num; tries++) { in mwifiex_check_fw_status()
/linux-3.4.99/drivers/net/ethernet/8390/
Dne2.c615 int addr, tries = 20; in ne_block_input() local
624 } while (--tries > 0); in ne_block_input()
625 if (tries <= 0) in ne_block_input()
704 int addr, tries = 20; in ne_block_output() local
711 } while (--tries > 0); in ne_block_output()
712 if (tries <= 0) { in ne_block_output()
Dne-h8300.c486 int addr, tries = 20; in ne_block_input() local
495 } while (--tries > 0); in ne_block_input()
496 if (tries <= 0) in ne_block_input()
580 int addr, tries = 20; in ne_block_output() local
587 } while (--tries > 0); in ne_block_output()
589 if (tries <= 0) in ne_block_output()
/linux-3.4.99/drivers/gpu/drm/gma500/
Dcdv_intel_crt.c158 int i, tries = 0, ret = false; in cdv_intel_crt_detect_hotplug() local
171 tries = 2; in cdv_intel_crt_detect_hotplug()
180 for (i = 0; i < tries ; i++) { in cdv_intel_crt_detect_hotplug()
/linux-3.4.99/drivers/gpu/drm/radeon/
Datombios_dp.c710 u8 tries; member
846 dp_info->tries = 0; in radeon_dp_link_train_cr()
874 ++dp_info->tries; in radeon_dp_link_train_cr()
875 if (dp_info->tries == 5) { in radeon_dp_link_train_cr()
880 dp_info->tries = 0; in radeon_dp_link_train_cr()
911 dp_info->tries = 0; in radeon_dp_link_train_ce()
930 if (dp_info->tries > 5) { in radeon_dp_link_train_ce()
939 dp_info->tries++; in radeon_dp_link_train_ce()

12345678