tries 54 arch/arc/plat-eznps/mtm.c int i, tries = 5; tries 66 arch/arc/plat-eznps/mtm.c for (i = 0; i < tries; i++) { tries 80 arch/arc/plat-eznps/mtm.c if (i == tries) tries 165 arch/arm/mach-exynos/mcpm-exynos.c unsigned int tries = 100; tries 173 arch/arm/mach-exynos/mcpm-exynos.c while (tries--) { tries 194 arch/arm/mach-hisi/platmcpm.c unsigned int data, tries, count; tries 204 arch/arm/mach-hisi/platmcpm.c for (tries = 0; tries < count; tries++) { tries 216 arch/arm/mach-hisi/platmcpm.c if (tries >= count) tries 221 arch/arm/mach-hisi/platmcpm.c for (tries = 0; tries < count; tries++) { tries 227 arch/arm/mach-hisi/platmcpm.c if (tries >= count) tries 448 arch/arm/mach-omap1/board-htcherald.c unsigned int tries = 200; tries 458 arch/arm/mach-omap1/board-htcherald.c tries--; tries 459 arch/arm/mach-omap1/board-htcherald.c if (!tries) tries 462 arch/arm/mach-omap1/board-htcherald.c if (!tries) tries 510 arch/arm/mach-omap1/board-htcherald.c unsigned int tries = 20; tries 531 arch/arm/mach-omap1/board-htcherald.c --tries); tries 537 arch/arm/mach-sunxi/mc_smp.c unsigned int tries, count; tries 553 arch/arm/mach-sunxi/mc_smp.c for (tries = 0; tries < count; tries++) { tries 573 arch/arm/mach-sunxi/mc_smp.c if (tries >= count) { tries 128 arch/arm/mach-vexpress/tc2_pm.c unsigned tries; tries 133 arch/arm/mach-vexpress/tc2_pm.c for (tries = 0; tries < TIMEOUT_MSEC / POLL_MSEC; ++tries) { tries 108 arch/powerpc/kernel/crash.c int tries = 0; tries 144 arch/powerpc/kernel/crash.c if ((panic_timeout > 0) || (tries > 0)) tries 175 arch/powerpc/kernel/crash.c tries++; tries 147 arch/powerpc/kernel/rtas.c int tries; tries 157 arch/powerpc/kernel/rtas.c for (tries = 0; tries < 16; tries++) { tries 199 arch/powerpc/platforms/pseries/hotplug-cpu.c int tries; tries 205 arch/powerpc/platforms/pseries/hotplug-cpu.c for (tries = 0; tries < 5000; tries++) { tries 214 arch/powerpc/platforms/pseries/hotplug-cpu.c for (tries = 0; tries < 25; tries++) { tries 2854 drivers/ata/libata-core.c int tries[ATA_MAX_DEVICES]; tries 2859 drivers/ata/libata-core.c tries[dev->devno] = ATA_PROBE_MAX_TRIES; tries 2899 drivers/ata/libata-core.c if (tries[dev->devno]) tries 2946 drivers/ata/libata-core.c tries[dev->devno]--; tries 2951 drivers/ata/libata-core.c tries[dev->devno] = 0; tries 2956 drivers/ata/libata-core.c tries[dev->devno] = min(tries[dev->devno], 1); tries 2959 drivers/ata/libata-core.c if (tries[dev->devno] == 1) { tries 2968 drivers/ata/libata-core.c if (!tries[dev->devno]) tries 3862 drivers/ata/libata-core.c int tries = ATA_LINK_RESUME_TRIES; tries 3889 drivers/ata/libata-core.c } while ((scontrol & 0xf0f) != 0x300 && --tries); tries 3897 drivers/ata/libata-core.c if (tries < ATA_LINK_RESUME_TRIES) tries 3899 drivers/ata/libata-core.c ATA_LINK_RESUME_TRIES - tries); tries 3151 drivers/ata/libata-eh.c ehc->tries[dev->devno] && tries 3533 drivers/ata/libata-eh.c if (!dev || ehc->tries[dev->devno] <= 2) { tries 3667 drivers/ata/libata-eh.c ehc->tries[dev->devno]--; tries 3676 drivers/ata/libata-eh.c ehc->tries[dev->devno] = min(ehc->tries[dev->devno], 1); tries 3679 drivers/ata/libata-eh.c if (ehc->tries[dev->devno] == 1) { tries 3689 drivers/ata/libata-eh.c if (ata_dev_enabled(dev) && !ehc->tries[dev->devno]) { tries 3699 drivers/ata/libata-eh.c ehc->tries[dev->devno] = ATA_EH_DEV_TRIES; tries 3760 drivers/ata/libata-eh.c ehc->tries[dev->devno] = 1; tries 3762 drivers/ata/libata-eh.c ehc->tries[dev->devno] = ATA_EH_DEV_TRIES; tries 758 drivers/ata/libata-pmp.c int tries = ATA_EH_PMP_TRIES; tries 802 drivers/ata/libata-pmp.c tries--; tries 808 drivers/ata/libata-pmp.c tries = min(tries, 2); tries 811 drivers/ata/libata-pmp.c if (tries) { tries 4575 drivers/ata/libata-scsi.c int tries = 5; tries 4633 drivers/ata/libata-scsi.c if (--tries) { tries 679 drivers/ata/pata_hpt37x.c int tries; tries 681 drivers/ata/pata_hpt37x.c for (tries = 0; tries < 0x5000; tries++) { tries 686 drivers/ata/pata_hpt37x.c for (tries = 0; tries < 0x1000; tries++) { tries 388 drivers/ata/pata_hpt3x2n.c int tries; tries 390 drivers/ata/pata_hpt3x2n.c for (tries = 0; tries < 0x5000; tries++) { tries 395 drivers/ata/pata_hpt3x2n.c for (tries = 0; tries < 0x1000; tries++) { tries 255 drivers/ata/pata_legacy.c int tries = 5; tries 274 drivers/ata/pata_legacy.c while ((inb(0x1F2) & 0x80) && --tries); tries 471 drivers/bluetooth/btmrvl_sdio.c unsigned int tries; tries 475 drivers/bluetooth/btmrvl_sdio.c for (tries = 0; tries < MAX_POLL_TRIES * 1000; tries++) { tries 497 drivers/bluetooth/btmrvl_sdio.c int tries, ret; tries 500 drivers/bluetooth/btmrvl_sdio.c for (tries = 0; tries < pollnum; tries++) { tries 619 drivers/bluetooth/btmrvl_sdio.c unsigned int tries, offset; tries 667 drivers/bluetooth/btmrvl_sdio.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 1340 drivers/bluetooth/btmrvl_sdio.c int ret, tries; tries 1351 drivers/bluetooth/btmrvl_sdio.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 193 drivers/clk/bcm/clk-kona.c unsigned int tries; tries 196 drivers/clk/bcm/clk-kona.c for (tries = 0; tries < CLK_GATE_DELAY_LOOP; tries++) { tries 1160 drivers/dma/ste_dma40.c int tries; tries 1182 drivers/dma/ste_dma40.c for (tries = 0 ; tries < D40_SUSPEND_MAX_IT; tries++) { tries 1198 drivers/dma/ste_dma40.c if (tries == D40_SUSPEND_MAX_IT) { tries 1212 drivers/dma/ste_dma40.c tries = 100; tries 1213 drivers/dma/ste_dma40.c while (--tries) { tries 1222 drivers/dma/ste_dma40.c if (tries != 99) tries 1226 drivers/dma/ste_dma40.c 100 - tries); tries 1228 drivers/dma/ste_dma40.c WARN_ON(!tries); tries 208 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned *tries) tries 243 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c if (tries[i] > 2) { tries 264 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c ++tries[idx]; tries 280 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned tries[AMDGPU_SA_NUM_FENCE_LISTS]; tries 302 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c tries[i] = 0; tries 314 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c } while (amdgpu_sa_bo_next_hole(sa_manager, fences, tries)); tries 488 drivers/gpu/drm/amd/amdgpu/atombios_dp.c u8 tries; tries 603 drivers/gpu/drm/amd/amdgpu/atombios_dp.c dp_info->tries = 0; tries 629 drivers/gpu/drm/amd/amdgpu/atombios_dp.c ++dp_info->tries; tries 630 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (dp_info->tries == 5) { tries 635 drivers/gpu/drm/amd/amdgpu/atombios_dp.c dp_info->tries = 0; tries 668 drivers/gpu/drm/amd/amdgpu/atombios_dp.c dp_info->tries = 0; tries 685 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (dp_info->tries > 5) { tries 695 drivers/gpu/drm/amd/amdgpu/atombios_dp.c dp_info->tries++; tries 125 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c unsigned int tries = 0; tries 141 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c } while (++tries < 50); tries 150 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c unsigned int tries = 0; tries 167 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c } while (++tries < 300); tries 976 drivers/gpu/drm/exynos/exynos_drm_g2d.c unsigned int tries = 10; tries 993 drivers/gpu/drm/exynos/exynos_drm_g2d.c while (tries-- && (g2d->runqueue_node == runqueue_node)) tries 1179 drivers/gpu/drm/exynos/exynos_hdmi.c int tries; tries 1181 drivers/gpu/drm/exynos/exynos_hdmi.c for (tries = 0; tries < 10; ++tries) { tries 1187 drivers/gpu/drm/exynos/exynos_hdmi.c tries); tries 687 drivers/gpu/drm/exynos/exynos_mixer.c unsigned int tries = 100; tries 690 drivers/gpu/drm/exynos/exynos_mixer.c while (--tries) { tries 696 drivers/gpu/drm/exynos/exynos_mixer.c WARN(tries == 0, "failed to reset Video Processor\n"); tries 381 drivers/gpu/drm/gma500/cdv_device.c int tries = 5; tries 390 drivers/gpu/drm/gma500/cdv_device.c while (tries--) { tries 403 drivers/gpu/drm/gma500/cdv_device.c int tries = 5; tries 412 drivers/gpu/drm/gma500/cdv_device.c while (tries--) { tries 139 drivers/gpu/drm/gma500/cdv_intel_crt.c int i, tries = 0, ret = false; tries 146 drivers/gpu/drm/gma500/cdv_intel_crt.c tries = 2; tries 155 drivers/gpu/drm/gma500/cdv_intel_crt.c for (i = 0; i < tries ; i++) { tries 1506 drivers/gpu/drm/gma500/cdv_intel_dp.c int tries; tries 1528 drivers/gpu/drm/gma500/cdv_intel_dp.c tries = 0; tries 1573 drivers/gpu/drm/gma500/cdv_intel_dp.c ++tries; tries 1574 drivers/gpu/drm/gma500/cdv_intel_dp.c if (tries == 5) tries 1577 drivers/gpu/drm/gma500/cdv_intel_dp.c tries = 0; tries 1598 drivers/gpu/drm/gma500/cdv_intel_dp.c int tries, cr_tries; tries 1603 drivers/gpu/drm/gma500/cdv_intel_dp.c tries = 0; tries 1656 drivers/gpu/drm/gma500/cdv_intel_dp.c if (tries > 5) { tries 1659 drivers/gpu/drm/gma500/cdv_intel_dp.c tries = 0; tries 1666 drivers/gpu/drm/gma500/cdv_intel_dp.c ++tries; tries 527 drivers/gpu/drm/i915/display/intel_crt.c int i, tries = 0; tries 541 drivers/gpu/drm/i915/display/intel_crt.c tries = 2; tries 543 drivers/gpu/drm/i915/display/intel_crt.c tries = 1; tries 545 drivers/gpu/drm/i915/display/intel_crt.c for (i = 0; i < tries ; i++) { tries 4485 drivers/gpu/drm/i915/display/intel_display.c u32 temp, tries; tries 4524 drivers/gpu/drm/i915/display/intel_display.c for (tries = 0; tries < 5; tries++) { tries 4534 drivers/gpu/drm/i915/display/intel_display.c if (tries == 5) tries 4554 drivers/gpu/drm/i915/display/intel_display.c for (tries = 0; tries < 5; tries++) { tries 4564 drivers/gpu/drm/i915/display/intel_display.c if (tries == 5) tries 285 drivers/gpu/drm/i915/display/intel_dp_link_training.c int tries; tries 302 drivers/gpu/drm/i915/display/intel_dp_link_training.c for (tries = 0; tries < 5; tries++) { tries 336 drivers/gpu/drm/i915/display/intel_dp_link_training.c if (tries == 5) { tries 43 drivers/gpu/drm/i915/display/intel_hdcp.c int ret, i, tries = 2; tries 46 drivers/gpu/drm/i915/display/intel_hdcp.c for (i = 0; i < tries; i++) { tries 53 drivers/gpu/drm/i915/display/intel_hdcp.c if (i == tries) { tries 499 drivers/gpu/drm/i915/display/intel_hdcp.c int ret, i, tries = 3; tries 550 drivers/gpu/drm/i915/display/intel_hdcp.c for (i = 0; i < tries; i++) { tries 558 drivers/gpu/drm/i915/display/intel_hdcp.c if (i == tries) { tries 581 drivers/gpu/drm/i915/display/intel_hdcp.c int ret, i, tries = 2; tries 681 drivers/gpu/drm/i915/display/intel_hdcp.c tries = 3; tries 687 drivers/gpu/drm/i915/display/intel_hdcp.c for (i = 0; i < tries; i++) { tries 700 drivers/gpu/drm/i915/display/intel_hdcp.c if (i == tries) { tries 759 drivers/gpu/drm/i915/display/intel_hdcp.c int i, ret, tries = 3; tries 781 drivers/gpu/drm/i915/display/intel_hdcp.c for (i = 0; i < tries; i++) { tries 794 drivers/gpu/drm/i915/display/intel_hdcp.c DRM_DEBUG_KMS("HDCP authentication failed (%d tries/%d)\n", tries, ret); tries 1272 drivers/gpu/drm/i915/display/intel_hdcp.c int tries = HDCP2_LC_RETRY_CNT, ret, i; tries 1274 drivers/gpu/drm/i915/display/intel_hdcp.c for (i = 0; i < tries; i++) { tries 1556 drivers/gpu/drm/i915/display/intel_hdcp.c int ret, i, tries = 3; tries 1558 drivers/gpu/drm/i915/display/intel_hdcp.c for (i = 0; i < tries; i++) { tries 1565 drivers/gpu/drm/i915/display/intel_hdcp.c i + 1, tries, ret); tries 1570 drivers/gpu/drm/i915/display/intel_hdcp.c if (i != tries) { tries 181 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c u32 tries, val; tries 183 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c tries = nb_tries; tries 184 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c while (tries--) { tries 196 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c tries = nb_tries; tries 197 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c while (tries--) { tries 594 drivers/gpu/drm/msm/edp/edp_ctrl.c int tries; tries 609 drivers/gpu/drm/msm/edp/edp_ctrl.c tries = 0; tries 630 drivers/gpu/drm/msm/edp/edp_ctrl.c tries++; tries 631 drivers/gpu/drm/msm/edp/edp_ctrl.c if (tries >= 5) { tries 636 drivers/gpu/drm/msm/edp/edp_ctrl.c tries = 0; tries 652 drivers/gpu/drm/msm/edp/edp_ctrl.c int tries = 0; tries 681 drivers/gpu/drm/msm/edp/edp_ctrl.c tries++; tries 682 drivers/gpu/drm/msm/edp/edp_ctrl.c if (tries > 10) { tries 158 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c int tries = 0, i; tries 166 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if ((tries && tries 180 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c } while (!eq_done && cr_done && ++tries <= 5); tries 190 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c int tries = 0, i; tries 212 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c tries = 0; tries 214 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c } while (!cr_done && !abort && ++tries < 5); tries 550 drivers/gpu/drm/radeon/atombios_dp.c u8 tries; tries 682 drivers/gpu/drm/radeon/atombios_dp.c dp_info->tries = 0; tries 708 drivers/gpu/drm/radeon/atombios_dp.c ++dp_info->tries; tries 709 drivers/gpu/drm/radeon/atombios_dp.c if (dp_info->tries == 5) { tries 714 drivers/gpu/drm/radeon/atombios_dp.c dp_info->tries = 0; tries 745 drivers/gpu/drm/radeon/atombios_dp.c dp_info->tries = 0; tries 762 drivers/gpu/drm/radeon/atombios_dp.c if (dp_info->tries > 5) { tries 771 drivers/gpu/drm/radeon/atombios_dp.c dp_info->tries++; tries 249 drivers/gpu/drm/radeon/radeon_sa.c unsigned *tries) tries 283 drivers/gpu/drm/radeon/radeon_sa.c if (tries[i] > 2) { tries 301 drivers/gpu/drm/radeon/radeon_sa.c ++tries[best_bo->fence->ring]; tries 318 drivers/gpu/drm/radeon/radeon_sa.c unsigned tries[RADEON_NUM_RINGS]; tries 337 drivers/gpu/drm/radeon/radeon_sa.c tries[i] = 0; tries 350 drivers/gpu/drm/radeon/radeon_sa.c } while (radeon_sa_bo_next_hole(sa_manager, fences, tries)); tries 698 drivers/hid/i2c-hid/i2c-hid-core.c int tries = 3; tries 713 drivers/hid/i2c-hid/i2c-hid-core.c } while (tries-- > 0 && ret); tries 702 drivers/i2c/busses/i2c-octeon-core.c int tries; tries 707 drivers/i2c/busses/i2c-octeon-core.c for (tries = 10; tries && status != STAT_IDLE; tries--) { tries 141 drivers/i2c/busses/i2c-octeon-core.h int tries = 1000; tries 147 drivers/i2c/busses/i2c-octeon-core.h if (--tries < 0) tries 169 drivers/i2c/busses/i2c-octeon-core.h int tries = 1000; tries 175 drivers/i2c/busses/i2c-octeon-core.h if (--tries < 0) { tries 223 drivers/i2c/busses/i2c-s3c2410.c int tries; tries 225 drivers/i2c/busses/i2c-s3c2410.c for (tries = 50; tries; --tries) { tries 503 drivers/i2c/busses/i2c-xiic.c int tries = 3; tries 514 drivers/i2c/busses/i2c-xiic.c while (err && tries--) { tries 61 drivers/iio/accel/mma7455_core.c int tries = 3; tries 64 drivers/iio/accel/mma7455_core.c while (tries-- > 0) { tries 190 drivers/iio/accel/mma8452.c int tries = 150; tries 192 drivers/iio/accel/mma8452.c while (tries-- > 0) { tries 171 drivers/iio/chemical/ccs811.c int ret, tries = 11; tries 174 drivers/iio/chemical/ccs811.c while (tries-- > 0) { tries 179 drivers/iio/chemical/ccs811.c if ((ret & CCS811_STATUS_DATA_READY) || tries == 0) tries 191 drivers/iio/chemical/sps30.c int i, ret, tries = 5; tries 202 drivers/iio/chemical/sps30.c while (tries--) { tries 214 drivers/iio/chemical/sps30.c if (tries == -1) tries 78 drivers/iio/dac/mcp4725.c int tries = 20; tries 103 drivers/iio/dac/mcp4725.c while (tries--) { tries 115 drivers/iio/dac/mcp4725.c if (tries < 0) { tries 41 drivers/iio/humidity/si7005.c int tries = 50; tries 52 drivers/iio/humidity/si7005.c while (tries-- > 0) { tries 60 drivers/iio/humidity/si7005.c if (tries < 0) { tries 71 drivers/iio/light/adjd_s311.c int tries = 10; tries 78 drivers/iio/light/adjd_s311.c while (tries--) { tries 87 drivers/iio/light/adjd_s311.c if (tries < 0) { tries 89 drivers/iio/light/isl29125.c int tries = 5; tries 99 drivers/iio/light/isl29125.c while (tries--) { tries 108 drivers/iio/light/isl29125.c if (tries < 0) { tries 326 drivers/iio/light/ltr501.c int tries = 100; tries 329 drivers/iio/light/ltr501.c while (tries--) { tries 94 drivers/iio/light/tcs3414.c int tries = 25; tries 102 drivers/iio/light/tcs3414.c while (tries--) { tries 116 drivers/iio/light/tcs3414.c if (tries < 0) { tries 118 drivers/iio/light/tcs3472.c int tries = 50; tries 121 drivers/iio/light/tcs3472.c while (tries--) { tries 130 drivers/iio/light/tcs3472.c if (tries < 0) { tries 195 drivers/iio/light/vcnl4000.c int tries = 20; tries 206 drivers/iio/light/vcnl4000.c while (tries--) { tries 215 drivers/iio/light/vcnl4000.c if (tries < 0) { tries 210 drivers/iio/light/vl6180.c int tries = 20, ret; tries 220 drivers/iio/light/vl6180.c while (tries--) { tries 230 drivers/iio/light/vl6180.c if (tries < 0) { tries 185 drivers/iio/light/zopt2201.c int tries = 10; tries 194 drivers/iio/light/zopt2201.c while (tries--) { tries 208 drivers/iio/light/zopt2201.c if (tries < 0) { tries 150 drivers/iio/magnetometer/hmc5843_core.c int tries = 150; tries 154 drivers/iio/magnetometer/hmc5843_core.c while (tries-- > 0) { tries 163 drivers/iio/magnetometer/hmc5843_core.c if (tries < 0) { tries 63 drivers/iio/magnetometer/mag3110.c int ret, tries = 150; tries 73 drivers/iio/magnetometer/mag3110.c while (tries-- > 0) { tries 87 drivers/iio/magnetometer/mag3110.c if (tries < 0) { tries 177 drivers/iio/magnetometer/mag3110.c int ret, tries = 30; tries 184 drivers/iio/magnetometer/mag3110.c while (tries-- > 0) { tries 197 drivers/iio/magnetometer/mag3110.c if (tries < 0) { tries 263 drivers/iio/magnetometer/mmc35240.c int ret, tries = 100; tries 271 drivers/iio/magnetometer/mmc35240.c while (tries-- > 0) { tries 282 drivers/iio/magnetometer/mmc35240.c if (tries < 0) { tries 161 drivers/iio/magnetometer/rm3100-core.c int tries = 20; tries 198 drivers/iio/magnetometer/rm3100-core.c } while (--tries); tries 199 drivers/iio/magnetometer/rm3100-core.c if (!tries) tries 46 drivers/iio/pressure/mpl3115.c int ret, tries = 15; tries 54 drivers/iio/pressure/mpl3115.c while (tries-- > 0) { tries 64 drivers/iio/pressure/mpl3115.c if (tries < 0) { tries 152 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c int tries = 10; tries 164 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c while (tries--) { tries 116 drivers/iio/proximity/rfd77402.c int tries = 10; tries 129 drivers/iio/proximity/rfd77402.c while (tries-- > 0) { tries 138 drivers/iio/proximity/rfd77402.c if (tries < 0) { tries 45 drivers/iio/proximity/vl53l0x-i2c.c u16 tries = 20; tries 63 drivers/iio/proximity/vl53l0x-i2c.c } while (--tries); tries 64 drivers/iio/proximity/vl53l0x-i2c.c if (!tries) tries 176 drivers/iio/temperature/mlx90632.c int ret, tries = 100; tries 184 drivers/iio/temperature/mlx90632.c while (tries-- > 0) { tries 194 drivers/iio/temperature/mlx90632.c if (tries < 0) { tries 52 drivers/iio/temperature/tmp006.c int tries = 50; tries 54 drivers/iio/temperature/tmp006.c while (tries-- > 0) { tries 64 drivers/iio/temperature/tmp006.c if (tries < 0) tries 76 drivers/iio/temperature/tmp007.c int tries = 50; tries 78 drivers/iio/temperature/tmp007.c while (tries-- > 0) { tries 89 drivers/iio/temperature/tmp007.c if (tries < 0) tries 7623 drivers/infiniband/hw/hfi1/chip.c int tries; tries 7629 drivers/infiniband/hw/hfi1/chip.c tries = 0; tries 7636 drivers/infiniband/hw/hfi1/chip.c if (++tries < 1000) { tries 7742 drivers/infiniband/hw/qib/qib_iba7322.c int tries; tries 7749 drivers/infiniband/hw/qib/qib_iba7322.c for (tries = 1; tries < AHB_TRANS_TRIES; ++tries) { tries 7754 drivers/infiniband/hw/qib/qib_iba7322.c if (tries >= AHB_TRANS_TRIES) { tries 7768 drivers/infiniband/hw/qib/qib_iba7322.c for (tries = 1; tries < AHB_TRANS_TRIES; ++tries) { tries 7773 drivers/infiniband/hw/qib/qib_iba7322.c if (tries >= AHB_TRANS_TRIES) { tries 7791 drivers/infiniband/hw/qib/qib_iba7322.c for (tries = 1; tries < AHB_TRANS_TRIES; ++tries) { tries 7796 drivers/infiniband/hw/qib/qib_iba7322.c if (tries >= AHB_TRANS_TRIES) { tries 177 drivers/infiniband/hw/qib/qib_sd7220.c int ret, pat, tries, chn; tries 182 drivers/infiniband/hw/qib/qib_sd7220.c for (tries = 0; tries < (4 * IBSD_RESYNC_TRIES); ++tries) { tries 189 drivers/infiniband/hw/qib/qib_sd7220.c if (ret != 0xF0 && ret != 0x55 && tries == 0) tries 623 drivers/infiniband/hw/qib/qib_sd7220.c int tries; tries 630 drivers/infiniband/hw/qib/qib_sd7220.c for (tries = EPB_TRANS_TRIES; tries; --tries) { tries 638 drivers/infiniband/hw/qib/qib_sd7220.c if (tries > 0 && o_vp) tries 640 drivers/infiniband/hw/qib/qib_sd7220.c return tries; tries 662 drivers/infiniband/hw/qib/qib_sd7220.c int tries, ret; tries 691 drivers/infiniband/hw/qib/qib_sd7220.c for (tries = EPB_TRANS_TRIES; tries; --tries) { tries 698 drivers/infiniband/hw/qib/qib_sd7220.c if (tries > 0) { tries 699 drivers/infiniband/hw/qib/qib_sd7220.c tries = 1; /* to make read-skip work */ tries 706 drivers/infiniband/hw/qib/qib_sd7220.c tries = epb_trans(dd, trans, transval, &transval); tries 708 drivers/infiniband/hw/qib/qib_sd7220.c if (tries > 0 && mask != 0) { tries 714 drivers/infiniband/hw/qib/qib_sd7220.c tries = epb_trans(dd, trans, transval, &transval); tries 728 drivers/infiniband/hw/qib/qib_sd7220.c if (tries <= 0) tries 753 drivers/infiniband/hw/qib/qib_sd7220.c int tries; tries 793 drivers/infiniband/hw/qib/qib_sd7220.c for (tries = EPB_TRANS_TRIES; tries; --tries) { tries 801 drivers/infiniband/hw/qib/qib_sd7220.c if (tries > 0) { tries 811 drivers/infiniband/hw/qib/qib_sd7220.c tries = epb_trans(dd, trans, transval, &transval); tries 812 drivers/infiniband/hw/qib/qib_sd7220.c while (tries > 0 && sofar < cnt) { tries 818 drivers/infiniband/hw/qib/qib_sd7220.c tries = epb_trans(dd, trans, transval, tries 820 drivers/infiniband/hw/qib/qib_sd7220.c if (tries <= 0) tries 824 drivers/infiniband/hw/qib/qib_sd7220.c tries = epb_trans(dd, trans, transval, tries 826 drivers/infiniband/hw/qib/qib_sd7220.c if (tries <= 0) tries 834 drivers/infiniband/hw/qib/qib_sd7220.c tries = epb_trans(dd, trans, transval, &transval); tries 835 drivers/infiniband/hw/qib/qib_sd7220.c if (tries <= 0) tries 843 drivers/infiniband/hw/qib/qib_sd7220.c tries = epb_trans(dd, trans, transval, &transval); tries 852 drivers/infiniband/hw/qib/qib_sd7220.c if (tries <= 0) tries 322 drivers/input/joystick/grip_mp.c int flags, tries = 0, bads = 0; tries 333 drivers/input/joystick/grip_mp.c while (tries < 64 && bads < 8) { /* Reset multiport and try getting a packet */ tries 341 drivers/input/joystick/grip_mp.c tries++; tries 479 drivers/input/joystick/grip_mp.c int dig_mode, initialized = 0, tries = 0; tries 483 drivers/input/joystick/grip_mp.c while (!dig_mode && tries < 4) { tries 485 drivers/input/joystick/grip_mp.c tries++; tries 496 drivers/input/joystick/grip_mp.c for (tries = 0; tries < 4096; tries++) { tries 282 drivers/input/mouse/cyapa.c int tries = timeout / 100; tries 290 drivers/input/mouse/cyapa.c } while (tries--); tries 652 drivers/input/mouse/cyapa_gen3.c int tries; tries 672 drivers/input/mouse/cyapa_gen3.c tries = 11; /* Programming for one block can take about 100ms. */ tries 681 drivers/input/mouse/cyapa_gen3.c } while ((status[REG_BL_STATUS] & BL_STATUS_BUSY) && --tries); tries 804 drivers/input/mouse/cyapa_gen3.c int tries; tries 827 drivers/input/mouse/cyapa_gen3.c tries = 3; /* Try for 30 to 60 ms */ tries 839 drivers/input/mouse/cyapa_gen3.c } while (--tries); tries 841 drivers/input/mouse/cyapa_gen3.c if (tries == 0) { tries 912 drivers/input/mouse/cyapa_gen3.c int tries; tries 920 drivers/input/mouse/cyapa_gen3.c tries = SET_POWER_MODE_TRIES; tries 921 drivers/input/mouse/cyapa_gen3.c while (tries--) { tries 941 drivers/input/mouse/cyapa_gen3.c tries = SET_POWER_MODE_TRIES; tries 942 drivers/input/mouse/cyapa_gen3.c while (tries--) { tries 572 drivers/input/mouse/cyapa_gen5.c int tries; tries 585 drivers/input/mouse/cyapa_gen5.c tries = timeout / 5; tries 595 drivers/input/mouse/cyapa_gen5.c } while (--tries > 0); tries 596 drivers/input/mouse/cyapa_gen5.c if ((error || *resp_len == 0) || tries <= 0) tries 64 drivers/input/mouse/cypress_ps2.c int tries = CYTP_PS2_CMD_TRIES; tries 91 drivers/input/mouse/cypress_ps2.c } while (--tries > 0); tries 172 drivers/input/mouse/cypress_ps2.c int tries = CYTP_PS2_CMD_TRIES; tries 196 drivers/input/mouse/cypress_ps2.c } while (--tries > 0); tries 637 drivers/input/mouse/cypress_ps2.c int tries = CYTP_PS2_CMD_TRIES; tries 643 drivers/input/mouse/cypress_ps2.c } while (rc && (--tries > 0)); tries 647 drivers/input/mouse/elan_i2c_core.c int tries = 20; tries 685 drivers/input/mouse/elan_i2c_core.c } while (--tries); tries 687 drivers/input/mouse/elan_i2c_core.c if (tries == 0) { tries 74 drivers/input/mouse/elantech.c int tries = ETP_PS2_COMMAND_TRIES; tries 80 drivers/input/mouse/elantech.c tries--; tries 82 drivers/input/mouse/elantech.c command, tries); tries 84 drivers/input/mouse/elantech.c } while (tries > 0); tries 962 drivers/input/mouse/elantech.c int tries = ETP_READ_BACK_TRIES; tries 1017 drivers/input/mouse/elantech.c tries--; tries 1018 drivers/input/mouse/elantech.c elantech_debug("retrying read (%d).\n", tries); tries 1020 drivers/input/mouse/elantech.c } while (tries > 0); tries 1077 drivers/input/touchscreen/atmel_mxt_ts.c u8 tries = 2; tries 1086 drivers/input/touchscreen/atmel_mxt_ts.c } while (--tries); tries 74 drivers/input/touchscreen/cyttsp_core.c int tries; tries 76 drivers/input/touchscreen/cyttsp_core.c for (tries = 0; tries < CY_NUM_RETRY; tries++) { tries 92 drivers/input/touchscreen/cyttsp_core.c int tries; tries 94 drivers/input/touchscreen/cyttsp_core.c for (tries = 0; tries < CY_NUM_RETRY; tries++) { tries 71 drivers/input/touchscreen/egalax_ts.c int tries = 0; tries 77 drivers/input/touchscreen/egalax_ts.c } while (ret == -EAGAIN && tries++ < EGALAX_MAX_TRIES); tries 60 drivers/input/touchscreen/mainstone-wm97xx.c static u16 last, tries; tries 132 drivers/input/touchscreen/mainstone-wm97xx.c if (tries > 5) { tries 133 drivers/input/touchscreen/mainstone-wm97xx.c tries = 0; tries 139 drivers/input/touchscreen/mainstone-wm97xx.c tries++; tries 160 drivers/input/touchscreen/mainstone-wm97xx.c tries = 0; tries 143 drivers/input/touchscreen/raydium_i2c_ts.c int tries = 0; tries 159 drivers/input/touchscreen/raydium_i2c_ts.c } while (++tries < RM_MAX_RETRIES); tries 90 drivers/input/touchscreen/zylonite-wm97xx.c static u16 last, tries; tries 99 drivers/input/touchscreen/zylonite-wm97xx.c if (tries > 5) { tries 100 drivers/input/touchscreen/zylonite-wm97xx.c tries = 0; tries 106 drivers/input/touchscreen/zylonite-wm97xx.c tries++; tries 127 drivers/input/touchscreen/zylonite-wm97xx.c tries = 0; tries 89 drivers/macintosh/windfarm_fcu_controls.c int tries, nr, nw; tries 94 drivers/macintosh/windfarm_fcu_controls.c tries = 0; tries 97 drivers/macintosh/windfarm_fcu_controls.c if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) tries 100 drivers/macintosh/windfarm_fcu_controls.c ++tries; tries 107 drivers/macintosh/windfarm_fcu_controls.c tries = 0; tries 110 drivers/macintosh/windfarm_fcu_controls.c if (nr > 0 || (nr < 0 && nr != -ENODEV) || tries >= 100) tries 113 drivers/macintosh/windfarm_fcu_controls.c ++tries; tries 125 drivers/macintosh/windfarm_fcu_controls.c int tries, nw; tries 131 drivers/macintosh/windfarm_fcu_controls.c tries = 0; tries 134 drivers/macintosh/windfarm_fcu_controls.c if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) tries 137 drivers/macintosh/windfarm_fcu_controls.c ++tries; tries 43 drivers/macintosh/windfarm_lm87_sensor.c int rc, tries = 0; tries 58 drivers/macintosh/windfarm_lm87_sensor.c if (++tries > 10) { tries 502 drivers/media/dvb-frontends/dib9000.c u16 tries = 1000; tries 516 drivers/media/dvb-frontends/dib9000.c } while ((reset_reg & 0x8000) && --tries); tries 102 drivers/media/dvb-frontends/lgs8gxx.c u8 val, u8 delay, u8 tries) tries 107 drivers/media/dvb-frontends/lgs8gxx.c for (i = 0; i < tries; i++) { tries 735 drivers/media/platform/aspeed-video.c int tries = 0; tries 747 drivers/media/platform/aspeed-video.c if (tries) { tries 811 drivers/media/platform/aspeed-video.c } while (invalid_resolution && (tries++ < INVALID_RESOLUTION_RETRIES)); tries 417 drivers/media/usb/dvb-usb/technisat-usb2.c u16 offset, u8 *b, u16 length, u8 tries) tries 433 drivers/media/usb/dvb-usb/technisat-usb2.c while (tries--) { tries 229 drivers/media/usb/gspca/mr97310a.c int tries = 0; tries 271 drivers/media/usb/gspca/mr97310a.c while (status != 0x0a && tries < 256) { tries 274 drivers/media/usb/gspca/mr97310a.c tries++; tries 281 drivers/media/usb/gspca/mr97310a.c tries = 0; tries 282 drivers/media/usb/gspca/mr97310a.c while (tries < 4) { tries 291 drivers/media/usb/gspca/mr97310a.c tries++; tries 54 drivers/misc/vexpress-syscfg.c int tries; tries 80 drivers/misc/vexpress-syscfg.c tries = 100; tries 98 drivers/misc/vexpress-syscfg.c } while (--tries && !(status & SYS_CFGSTAT_COMPLETE)); tries 99 drivers/misc/vexpress-syscfg.c if (WARN_ON_ONCE(!tries)) tries 235 drivers/mmc/core/core.c int tries = 500; /* Wait aprox 500ms at maximum */ tries 237 drivers/mmc/core/core.c while (host->ops->card_busy(host) && --tries) tries 240 drivers/mmc/core/core.c if (tries == 0) { tries 906 drivers/mtd/ubi/eba.c int err, idx = vol_id2idx(ubi, vol_id), tries; tries 914 drivers/mtd/ubi/eba.c for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { tries 1011 drivers/mtd/ubi/eba.c int err, pnum, tries, vol_id = vol->vol_id; tries 1063 drivers/mtd/ubi/eba.c for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { tries 1114 drivers/mtd/ubi/eba.c int err, tries, data_size = len, vol_id = vol->vol_id; tries 1152 drivers/mtd/ubi/eba.c for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { tries 1192 drivers/mtd/ubi/eba.c int err, tries, vol_id = vol->vol_id; tries 1236 drivers/mtd/ubi/eba.c for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { tries 288 drivers/mtd/ubi/vtbl.c int err, tries = 0; tries 336 drivers/mtd/ubi/vtbl.c if (err == -EIO && ++tries <= 5) { tries 660 drivers/net/ethernet/8390/ne.c int addr, tries = 20; tries 669 drivers/net/ethernet/8390/ne.c } while (--tries > 0); tries 670 drivers/net/ethernet/8390/ne.c if (tries <= 0) tries 752 drivers/net/ethernet/8390/ne.c int addr, tries = 20; tries 759 drivers/net/ethernet/8390/ne.c } while (--tries > 0); tries 761 drivers/net/ethernet/8390/ne.c if (tries <= 0) tries 1189 drivers/net/ethernet/8390/pcnet_cs.c int addr, tries = 20; tries 1198 drivers/net/ethernet/8390/pcnet_cs.c } while (--tries > 0); tries 1199 drivers/net/ethernet/8390/pcnet_cs.c if (tries <= 0) tries 1263 drivers/net/ethernet/8390/pcnet_cs.c int addr, tries = 20; tries 1270 drivers/net/ethernet/8390/pcnet_cs.c } while (--tries > 0); tries 1271 drivers/net/ethernet/8390/pcnet_cs.c if (tries <= 0) { tries 481 drivers/net/ethernet/cavium/liquidio/octeon_console.c s32 bytes_read, tries, total_read; tries 490 drivers/net/ethernet/cavium/liquidio/octeon_console.c tries = 0; tries 513 drivers/net/ethernet/cavium/liquidio/octeon_console.c tries++; tries 514 drivers/net/ethernet/cavium/liquidio/octeon_console.c } while ((bytes_read > 0) && (tries < 16)); tries 579 drivers/net/ethernet/cavium/liquidio/octeon_console.c s32 bytes_read, tries, total_read; tries 602 drivers/net/ethernet/cavium/liquidio/octeon_console.c tries = 0; tries 625 drivers/net/ethernet/cavium/liquidio/octeon_console.c tries++; tries 626 drivers/net/ethernet/cavium/liquidio/octeon_console.c } while ((bytes_read > 0) && (tries < 16)); tries 32 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c int tries = 3; tries 41 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c while (!(in_be32(&fec->ievent) & FEC_IEVENT_MII) && --tries) tries 44 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c if (!tries) tries 5176 drivers/net/ethernet/intel/e1000e/netdev.c u32 dmoff_exit_timeout = 100, tries = 0; tries 5206 drivers/net/ethernet/intel/e1000e/netdev.c if (tries++ == dmoff_exit_timeout) { tries 1183 drivers/net/ethernet/nvidia/forcedeth.c unsigned int tries = 0; tries 1197 drivers/net/ethernet/nvidia/forcedeth.c if (tries++ > 100) tries 1194 drivers/net/ethernet/sfc/falcon/falcon.c static bool falcon_xmac_link_ok_retry(struct ef4_nic *efx, int tries) tries 1205 drivers/net/ethernet/sfc/falcon/falcon.c while (!mac_up && tries) { tries 1211 drivers/net/ethernet/sfc/falcon/falcon.c --tries; tries 75 drivers/net/ethernet/sfc/falcon/mdio_10g.c int tries = MDIO45_RESET_ITERS; tries 79 drivers/net/ethernet/sfc/falcon/mdio_10g.c while (tries) { tries 101 drivers/net/ethernet/sfc/falcon/mdio_10g.c tries--; tries 414 drivers/net/ethernet/sfc/falcon/txc43128_phy.c int tries = 50; tries 418 drivers/net/ethernet/sfc/falcon/txc43128_phy.c while (--tries) { tries 424 drivers/net/ethernet/sfc/falcon/txc43128_phy.c if (!tries) tries 362 drivers/net/ethernet/sgi/ioc3-eth.c int tries = 2; /* There may be some problem with the battery? */ tries 368 drivers/net/ethernet/sgi/ioc3-eth.c while (tries--) { tries 374 drivers/net/ethernet/sgi/ioc3-eth.c if (tries < 0) { tries 707 drivers/net/ethernet/smsc/smsc911x.c unsigned int tries; tries 712 drivers/net/ethernet/smsc/smsc911x.c for (tries = 0; tries < 10; tries++) { tries 533 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c int ret, tries = 256; tries 542 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c while (--tries) { tries 544 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c bd_addr[ETH_ALEN - 1] = tries; tries 549 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (!tries) tries 579 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c int ret, tries = 256; tries 586 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c while (--tries) { tries 588 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c bd_addr[ETH_ALEN - 1] = tries; tries 593 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (!tries) tries 623 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c int ret, tries = 256; tries 632 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c while (--tries) { tries 634 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c mc_addr[ETH_ALEN - 1] = tries; tries 639 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (!tries) tries 669 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c int ret, tries = 256; tries 678 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c while (--tries) { tries 680 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c uc_addr[ETH_ALEN - 1] = tries; tries 685 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (!tries) tries 82 drivers/net/ethernet/sun/sunbmac.c int tries = QEC_RESET_TRIES; tries 85 drivers/net/ethernet/sun/sunbmac.c while (--tries) { tries 92 drivers/net/ethernet/sun/sunbmac.c if (tries) tries 131 drivers/net/ethernet/sun/sunbmac.c int tries = TX_RESET_TRIES; tries 139 drivers/net/ethernet/sun/sunbmac.c --tries != 0) tries 142 drivers/net/ethernet/sun/sunbmac.c if (!tries) { tries 151 drivers/net/ethernet/sun/sunbmac.c int tries = RX_RESET_TRIES; tries 154 drivers/net/ethernet/sun/sunbmac.c while (sbus_readl(bregs + BMAC_RXCFG) && --tries) tries 157 drivers/net/ethernet/sun/sunbmac.c if (!tries) { tries 458 drivers/net/ethernet/sun/sunhme.c int tries = TCVR_READ_TRIES; tries 474 drivers/net/ethernet/sun/sunhme.c while (!(hme_read32(hp, tregs + TCVR_FRAME) & 0x10000) && --tries) tries 476 drivers/net/ethernet/sun/sunhme.c if (!tries) { tries 491 drivers/net/ethernet/sun/sunhme.c int tries = TCVR_WRITE_TRIES; tries 505 drivers/net/ethernet/sun/sunhme.c while (!(hme_read32(hp, tregs + TCVR_FRAME) & 0x10000) && --tries) tries 509 drivers/net/ethernet/sun/sunhme.c if (!tries) tries 875 drivers/net/ethernet/sun/sunhme.c int tries = TX_RESET_TRIES; tries 881 drivers/net/ethernet/sun/sunhme.c while ((hme_read32(hp, bregs + BMAC_TXSWRESET) & 1) && --tries) tries 885 drivers/net/ethernet/sun/sunhme.c if (!tries) tries 895 drivers/net/ethernet/sun/sunhme.c int tries = RX_RESET_TRIES; tries 901 drivers/net/ethernet/sun/sunhme.c while ((hme_read32(hp, bregs + BMAC_RXSWRESET) & 1) && --tries) tries 905 drivers/net/ethernet/sun/sunhme.c if (!tries) tries 917 drivers/net/ethernet/sun/sunhme.c int tries = STOP_TRIES; tries 923 drivers/net/ethernet/sun/sunhme.c while (hme_read32(hp, gregs + GREG_SWRESET) && --tries) tries 927 drivers/net/ethernet/sun/sunhme.c if (!tries) tries 996 drivers/net/ethernet/sun/sunhme.c int result, tries = TCVR_RESET_TRIES; tries 1039 drivers/net/ethernet/sun/sunhme.c while (--tries) { tries 1048 drivers/net/ethernet/sun/sunhme.c if (!tries) { tries 1064 drivers/net/ethernet/sun/sunhme.c tries = TCVR_UNISOLATE_TRIES; tries 1065 drivers/net/ethernet/sun/sunhme.c while (--tries) { tries 1073 drivers/net/ethernet/sun/sunhme.c if (!tries) { tries 65 drivers/net/ethernet/sun/sunqe.c int tries = QEC_RESET_TRIES; tries 68 drivers/net/ethernet/sun/sunqe.c while (--tries) { tries 76 drivers/net/ethernet/sun/sunqe.c if (tries) tries 89 drivers/net/ethernet/sun/sunqe.c int tries; tries 93 drivers/net/ethernet/sun/sunqe.c tries = MACE_RESET_RETRIES; tries 94 drivers/net/ethernet/sun/sunqe.c while (--tries) { tries 102 drivers/net/ethernet/sun/sunqe.c if (!tries) { tries 108 drivers/net/ethernet/sun/sunqe.c tries = QE_RESET_RETRIES; tries 109 drivers/net/ethernet/sun/sunqe.c while (--tries) { tries 117 drivers/net/ethernet/sun/sunqe.c if (!tries) { tries 229 drivers/net/ethernet/sun/sunqe.c int tries = 50; tries 231 drivers/net/ethernet/sun/sunqe.c while (--tries) { tries 240 drivers/net/ethernet/sun/sunqe.c if (tries == 0) tries 1671 drivers/net/wireless/ath/ath5k/base.c u8 tries[3]; tries 1682 drivers/net/wireless/ath/ath5k/base.c tries[0] = info->status.rates[0].count; tries 1683 drivers/net/wireless/ath/ath5k/base.c tries[1] = info->status.rates[1].count; tries 1684 drivers/net/wireless/ath/ath5k/base.c tries[2] = info->status.rates[2].count; tries 1692 drivers/net/wireless/ath/ath5k/base.c r->count = tries[i]; tries 268 drivers/net/wireless/ath/carl9170/fwcmd.h u8 tries:3; tries 537 drivers/net/wireless/ath/carl9170/tx.c unsigned int tries, struct ieee80211_tx_info *txinfo) tries 546 drivers/net/wireless/ath/carl9170/tx.c txinfo->status.rates[i].count = tries; tries 237 drivers/net/wireless/ath/carl9170/wlan.h u8 tries:3; tries 5 drivers/net/wireless/intersil/hostap/hostap_download.c int i, tries; tries 24 drivers/net/wireless/intersil/hostap/hostap_download.c tries = HFA384X_CMD_BUSY_TIMEOUT; tries 25 drivers/net/wireless/intersil/hostap/hostap_download.c while (HFA384X_INW(HFA384X_CMD_OFF) & HFA384X_CMD_BUSY && tries > 0) { tries 26 drivers/net/wireless/intersil/hostap/hostap_download.c tries--; tries 29 drivers/net/wireless/intersil/hostap/hostap_download.c if (tries == 0) { tries 248 drivers/net/wireless/intersil/hostap/hostap_hw.c int tries; tries 265 drivers/net/wireless/intersil/hostap/hostap_hw.c tries = HFA384X_CMD_BUSY_TIMEOUT; tries 266 drivers/net/wireless/intersil/hostap/hostap_hw.c while (HFA384X_INW(HFA384X_CMD_OFF) & HFA384X_CMD_BUSY && tries > 0) { tries 267 drivers/net/wireless/intersil/hostap/hostap_hw.c tries--; tries 271 drivers/net/wireless/intersil/hostap/hostap_hw.c if (tries != HFA384X_CMD_BUSY_TIMEOUT) { tries 275 drivers/net/wireless/intersil/hostap/hostap_hw.c HFA384X_CMD_BUSY_TIMEOUT - tries); tries 278 drivers/net/wireless/intersil/hostap/hostap_hw.c if (tries == 0) { tries 546 drivers/net/wireless/intersil/hostap/hostap_hw.c int tries; tries 551 drivers/net/wireless/intersil/hostap/hostap_hw.c tries = HFA384X_CMD_BUSY_TIMEOUT; tries 552 drivers/net/wireless/intersil/hostap/hostap_hw.c while (HFA384X_INW(HFA384X_CMD_OFF) & HFA384X_CMD_BUSY && tries > 0) { tries 553 drivers/net/wireless/intersil/hostap/hostap_hw.c tries--; tries 556 drivers/net/wireless/intersil/hostap/hostap_hw.c if (tries == 0) { tries 580 drivers/net/wireless/intersil/hostap/hostap_hw.c int res, tries; tries 589 drivers/net/wireless/intersil/hostap/hostap_hw.c tries = HFA384X_DL_COMPL_TIMEOUT; tries 591 drivers/net/wireless/intersil/hostap/hostap_hw.c tries = HFA384X_CMD_COMPL_TIMEOUT; tries 594 drivers/net/wireless/intersil/hostap/hostap_hw.c tries > 0) { tries 595 drivers/net/wireless/intersil/hostap/hostap_hw.c tries--; tries 598 drivers/net/wireless/intersil/hostap/hostap_hw.c if (tries == 0) { tries 727 drivers/net/wireless/intersil/hostap/hostap_hw.c int tries = HFA384X_BAP_BUSY_TIMEOUT; tries 730 drivers/net/wireless/intersil/hostap/hostap_hw.c while (res && tries > 0) { tries 731 drivers/net/wireless/intersil/hostap/hostap_hw.c tries--; tries 210 drivers/net/wireless/intersil/p54/fwio.c hdr->tries = hdr->rts_tries = 0; tries 83 drivers/net/wireless/intersil/p54/lmac.h u8 tries; tries 209 drivers/net/wireless/intersil/p54/lmac.h u8 tries; tries 608 drivers/net/wireless/intersil/p54/main.c int err, tries; tries 615 drivers/net/wireless/intersil/p54/main.c for (tries = 0; tries < MAX_TRIES; tries++) { tries 418 drivers/net/wireless/intersil/p54/txrx.c priv->stats.dot11ACKFailureCount += payload->tries - 1; tries 444 drivers/net/wireless/intersil/p54/txrx.c count = payload->tries; tries 905 drivers/net/wireless/intersil/p54/txrx.c hdr->tries = ridx; tries 2113 drivers/net/wireless/marvell/mwifiex/pcie.c u32 txlen, tx_blocks = 0, tries, len, val; tries 2166 drivers/net/wireless/marvell/mwifiex/pcie.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 2233 drivers/net/wireless/marvell/mwifiex/pcie.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 2283 drivers/net/wireless/marvell/mwifiex/pcie.c u32 tries; tries 2303 drivers/net/wireless/marvell/mwifiex/pcie.c for (tries = 0; tries < poll_num; tries++) { tries 2311 drivers/net/wireless/marvell/mwifiex/pcie.c tries, ret, firmware_stat); tries 2616 drivers/net/wireless/marvell/mwifiex/pcie.c int ret, tries; tries 2633 drivers/net/wireless/marvell/mwifiex/pcie.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 329 drivers/net/wireless/marvell/mwifiex/sdio.c u32 tries; tries 331 drivers/net/wireless/marvell/mwifiex/sdio.c for (tries = 0; tries < poll_num; tries++) { tries 812 drivers/net/wireless/marvell/mwifiex/sdio.c u32 tries; tries 815 drivers/net/wireless/marvell/mwifiex/sdio.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 825 drivers/net/wireless/marvell/mwifiex/sdio.c "poll card status failed, tries = %d\n", tries); tries 1000 drivers/net/wireless/marvell/mwifiex/sdio.c u32 txlen, tx_blocks = 0, tries; tries 1037 drivers/net/wireless/marvell/mwifiex/sdio.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 2258 drivers/net/wireless/marvell/mwifiex/sdio.c int ret, tries; tries 2267 drivers/net/wireless/marvell/mwifiex/sdio.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 2431 drivers/net/wireless/marvell/mwifiex/sdio.c int ret = -1, tries; tries 2454 drivers/net/wireless/marvell/mwifiex/sdio.c for (tries = 0; tries < MAX_POLL_TRIES; tries++) { tries 2463 drivers/net/wireless/marvell/mwifiex/sdio.c if (tries == MAX_POLL_TRIES) { tries 115 drivers/net/wireless/realtek/rtlwifi/rc.c u8 tries, s8 rix, int rtsctsenable, tries 130 drivers/net/wireless/realtek/rtlwifi/rc.c rate->count = tries; tries 135 drivers/regulator/tps65090-regulator.c int ret, tries; tries 141 drivers/regulator/tps65090-regulator.c tries = 0; tries 146 drivers/regulator/tps65090-regulator.c if (ret != -ENOTRECOVERABLE || tries == MAX_FET_ENABLE_TRIES) tries 155 drivers/regulator/tps65090-regulator.c tries++; tries 158 drivers/regulator/tps65090-regulator.c if (tries) tries 160 drivers/regulator/tps65090-regulator.c rdev->desc->enable_reg, tries); tries 157 drivers/rtc/rtc-cadence.c int tries; tries 170 drivers/rtc/rtc-cadence.c for (tries = 0; tries < CDNS_RTC_MAX_REGS_TRIES; tries++) { tries 221 drivers/rtc/rtc-cadence.c int tries; tries 231 drivers/rtc/rtc-cadence.c for (tries = 0; tries < CDNS_RTC_MAX_REGS_TRIES; tries++) { tries 37 drivers/rtc/rtc-dm355evm.c int tries = 0; tries 48 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[0] == status) tries 55 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[1] == status) tries 62 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[2] == status) tries 69 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[3] == status) tries 73 drivers/rtc/rtc-dm355evm.c } while (++tries < 5); tries 136 drivers/rtc/rtc-pic32.c unsigned int tries = 0; tries 153 drivers/rtc/rtc-pic32.c tries += 1; tries 154 drivers/rtc/rtc-pic32.c } while (rtc_tm->tm_sec == 0 && tries < 2); tries 89 drivers/rtc/rtc-rtd119x.c int tries = 0; tries 98 drivers/rtc/rtc-rtd119x.c tries++; tries 103 drivers/rtc/rtc-rtd119x.c if (tries >= 3) tries 106 drivers/rtc/rtc-rtd119x.c if (tries > 1) tries 107 drivers/rtc/rtc-rtd119x.c dev_dbg(dev, "%s: needed %i tries\n", __func__, tries); tries 1636 drivers/scsi/3w-9xxx.c int tries = 0, retval = 1, flashed = 0, do_soft_reset = soft_reset; tries 1638 drivers/scsi/3w-9xxx.c while (tries < TW_MAX_RESET_TRIES) { tries 1645 drivers/scsi/3w-9xxx.c tries++; tries 1654 drivers/scsi/3w-9xxx.c tries++; tries 1662 drivers/scsi/3w-9xxx.c tries++; tries 1672 drivers/scsi/3w-9xxx.c tries++; tries 1676 drivers/scsi/3w-9xxx.c tries++; tries 1685 drivers/scsi/3w-9xxx.c tries++; tries 1268 drivers/scsi/3w-sas.c int tries = 0; tries 1271 drivers/scsi/3w-sas.c while (tries < TW_MAX_RESET_TRIES) { tries 1279 drivers/scsi/3w-sas.c tries++; tries 1284 drivers/scsi/3w-sas.c tries++; tries 1298 drivers/scsi/3w-sas.c tries++; tries 1318 drivers/scsi/3w-sas.c tries++; tries 1326 drivers/scsi/3w-sas.c tries++; tries 1207 drivers/scsi/3w-xxxx.c int tries = 0; tries 1211 drivers/scsi/3w-xxxx.c while (tries < TW_MAX_RESET_TRIES) { tries 1217 drivers/scsi/3w-xxxx.c tries++; tries 1224 drivers/scsi/3w-xxxx.c tries++; tries 1232 drivers/scsi/3w-xxxx.c if (tries >= TW_MAX_RESET_TRIES) { tries 6707 drivers/scsi/aic7xxx/aic79xx_core.c int tries; tries 6709 drivers/scsi/aic7xxx/aic79xx_core.c tries = 0; tries 6719 drivers/scsi/aic7xxx/aic79xx_core.c if (tries++ != 0) tries 422 drivers/scsi/libsas/sas_scsi_host.c int scheduled = 0, tries = 100; tries 432 drivers/scsi/libsas/sas_scsi_host.c while (!scheduled && tries--) { tries 727 drivers/scsi/libsas/sas_scsi_host.c int tries = 0; tries 731 drivers/scsi/libsas/sas_scsi_host.c tries++; tries 781 drivers/scsi/libsas/sas_scsi_host.c shost->host_failed, tries); tries 677 drivers/spi/spi-fsl-dspi.c int tries = 1000; tries 686 drivers/spi/spi-fsl-dspi.c } while (--tries); tries 688 drivers/spi/spi-fsl-dspi.c if (!tries) tries 1650 drivers/staging/fwserial/fwserial.c int rcode, tries = 5; tries 1669 drivers/staging/fwserial/fwserial.c } while (--tries > 0); tries 183 drivers/tty/hvc/hvsi_lib.c unsigned int tries, read = 0; tries 199 drivers/tty/hvc/hvsi_lib.c for (tries = 1; count && tries < 2; tries++) { tries 222 drivers/tty/hvc/hvsi_lib.c tries--; tries 81 drivers/tty/serial/8250/8250_dw.c int tries = 1000; tries 84 drivers/tty/serial/8250/8250_dw.c while (tries--) { tries 113 drivers/tty/serial/8250/8250_dw.c unsigned int tries = 20000; tries 114 drivers/tty/serial/8250/8250_dw.c unsigned int delay_threshold = tries - 1000; tries 117 drivers/tty/serial/8250/8250_dw.c while (tries--) { tries 126 drivers/tty/serial/8250/8250_dw.c if (tries < delay_threshold) tries 507 drivers/tty/serial/bcm63xx_uart.c int tries; tries 512 drivers/tty/serial/bcm63xx_uart.c for (tries = 3; !bcm_uart_tx_empty(port) && tries; tries--) tries 1342 drivers/tty/serial/pmac_zilog.c int tries = 2; tries 1344 drivers/tty/serial/pmac_zilog.c while (tries) { tries 1347 drivers/tty/serial/pmac_zilog.c if (tries--) tries 2176 drivers/tty/serial/serial_core.c int tries; tries 2190 drivers/tty/serial/serial_core.c for (tries = 3; !ops->tx_empty(uport) && tries; tries--) tries 2192 drivers/tty/serial/serial_core.c if (!tries) tries 502 drivers/usb/early/ehci-dbgp.c int tries = 3; tries 608 drivers/usb/early/ehci-dbgp.c if (tries--) tries 113 drivers/usb/host/ehci-tegra.c int i, tries; tries 134 drivers/usb/host/ehci-tegra.c tries = 100; tries 144 drivers/usb/host/ehci-tegra.c } while (!(temp & PORT_PE) && tries--); tries 293 drivers/usb/serial/cypress_m8.c int new_baudrate = 0, retval = 0, tries = 0; tries 349 drivers/usb/serial/cypress_m8.c if (tries++ >= 3) tries 387 drivers/usb/serial/cypress_m8.c if (tries++ >= 3) tries 1486 drivers/video/fbdev/smscufx.c int i, result = 0, tries = 3; tries 1503 drivers/video/fbdev/smscufx.c while (tries--) { tries 1286 drivers/video/fbdev/udlfb.c int i, result = 0, tries = 3; tries 1312 drivers/video/fbdev/udlfb.c while (tries--) { tries 68 drivers/w1/slaves/w1_ds2431.c int tries = W1_F2D_READ_RETRIES; tries 89 drivers/w1/slaves/w1_ds2431.c } while (--tries); tries 147 drivers/w1/slaves/w1_ds2431.c int tries = W1_F2D_READ_RETRIES; tries 176 drivers/w1/slaves/w1_ds2431.c if (--tries) tries 65 drivers/w1/slaves/w1_ds2805.c int tries = W1_F0D_READ_RETRIES; tries 86 drivers/w1/slaves/w1_ds2805.c } while (--tries); tries 146 drivers/w1/slaves/w1_ds2805.c int tries = W1_F0D_READ_RETRIES; tries 174 drivers/w1/slaves/w1_ds2805.c if (--tries) tries 715 fs/ocfs2/dlm/dlmmaster.c int tries = 0; tries 963 fs/ocfs2/dlm/dlmmaster.c if (++tries > 20) { tries 970 fs/ocfs2/dlm/dlmmaster.c tries = 0; tries 165 fs/xfs/scrub/fscounters.c int tries = 8; tries 233 fs/xfs/scrub/fscounters.c if (tries--) tries 255 fs/xfs/scrub/parent.c int tries = 0; tries 302 fs/xfs/scrub/parent.c } while (try_again && ++tries < 20); tries 308 fs/xfs/scrub/parent.c if (try_again && tries == 20) tries 756 include/linux/libata.h int tries[ATA_MAX_DEVICES]; tries 1967 kernel/sched/deadline.c int tries; tries 1970 kernel/sched/deadline.c for (tries = 0; tries < DL_MAX_TRIES; tries++) { tries 1714 kernel/sched/rt.c int tries; tries 1717 kernel/sched/rt.c for (tries = 0; tries < RT_MAX_TRIES; tries++) { tries 8324 mm/page_alloc.c unsigned int tries = 0; tries 8342 mm/page_alloc.c tries = 0; tries 8343 mm/page_alloc.c } else if (++tries == 5) { tries 456 net/ceph/crush/mapper.c unsigned int tries, tries 481 net/ceph/crush/mapper.c tries, recurse_tries, local_retries, local_fallback_retries, tries 605 net/ceph/crush/mapper.c else if (ftotal < tries) tries 649 net/ceph/crush/mapper.c unsigned int tries, tries 676 net/ceph/crush/mapper.c for (ftotal = 0; left > 0 && ftotal < tries; ftotal++) { tries 311 net/core/netpoll.c unsigned long tries; tries 330 net/core/netpoll.c for (tries = jiffies_to_usecs(1)/USEC_PER_POLL; tries 331 net/core/netpoll.c tries > 0; --tries) { tries 237 net/llc/af_llc.c int i, tries = 0; tries 239 net/llc/af_llc.c while (tries < LLC_SAP_DYN_TRIES) { tries 250 net/llc/af_llc.c tries++; tries 371 net/mac80211/ieee80211_i.h int tries; tries 390 net/mac80211/ieee80211_i.h int tries; tries 4184 net/mac80211/mlme.c auth_data->tries++; tries 4186 net/mac80211/mlme.c if (auth_data->tries > IEEE80211_AUTH_MAX_TRIES) { tries 4206 net/mac80211/mlme.c auth_data->bss->bssid, auth_data->tries, tries 4251 net/mac80211/mlme.c assoc_data->tries++; tries 4252 net/mac80211/mlme.c if (assoc_data->tries > IEEE80211_ASSOC_MAX_TRIES) { tries 4266 net/mac80211/mlme.c assoc_data->bss->bssid, assoc_data->tries, tries 3687 net/mac80211/util.c int tries = 0; tries 3699 net/mac80211/util.c tries++; tries 3700 net/mac80211/util.c } while (tries < max_tries); tries 235 sound/firewire/fcp.c int tcode, ret, tries = 0; tries 278 sound/firewire/fcp.c } else if (++tries >= ERROR_RETRIES) { tries 75 sound/firewire/fireworks/fireworks_transaction.c unsigned int tries; tries 89 sound/firewire/fireworks/fireworks_transaction.c tries = 0; tries 103 sound/firewire/fireworks/fireworks_transaction.c } else if (++tries >= ERROR_RETRIES) { tries 38 sound/firewire/lib.c int generation, rcode, tries = 0; tries 57 sound/firewire/lib.c if (rcode_is_permanent_error(rcode) || ++tries >= 3) { tries 931 sound/pci/cmipci.c unsigned int reg, rem, tries; tries 937 sound/pci/cmipci.c for (tries = 0; tries < 3; tries++) { tries 1235 sound/pci/nm256/nm256.c int tries = 2; tries 1247 sound/pci/nm256/nm256.c while (tries-- > 0) { tries 1240 sound/pci/riptide/riptide.c int err, tries; tries 1252 sound/pci/riptide/riptide.c tries = RESET_TRIES; tries 1257 sound/pci/riptide/riptide.c } while (!err && --tries); tries 201 sound/soc/intel/baytrail/sst-baytrail-dsp.c int tries = 10; tries 212 sound/soc/intel/baytrail/sst-baytrail-dsp.c while (tries--) { tries 218 sound/soc/intel/baytrail/sst-baytrail-dsp.c if (tries < 0) { tries 304 sound/soc/intel/haswell/sst-haswell-dsp.c int tries = 10; tries 323 sound/soc/intel/haswell/sst-haswell-dsp.c while (tries--) { tries 1325 sound/soc/intel/haswell/sst-haswell-ipc.c int ret, tries = 10; tries 1337 sound/soc/intel/haswell/sst-haswell-ipc.c while (stream->running && --tries) tries 1339 sound/soc/intel/haswell/sst-haswell-ipc.c if (!tries) { tries 114 sound/soc/sof/intel/bdw.c int tries = 10; tries 131 sound/soc/sof/intel/bdw.c while (tries--) { tries 326 sound/soc/sof/intel/byt.c int tries = 10; tries 331 sound/soc/sof/intel/byt.c while (tries--) { tries 337 sound/soc/sof/intel/byt.c if (tries < 0) { tries 424 tools/testing/selftests/net/psock_fanout.c int port_off = 2, tries = 20, ret; tries 434 tools/testing/selftests/net/psock_fanout.c fprintf(stderr, "info: trying alternate ports (%d)\n", tries); tries 437 tools/testing/selftests/net/psock_fanout.c if (!--tries) {