Home
last modified time | relevance | path

Searched refs:MAX_RETRIES (Results 1 – 17 of 17) sorted by relevance

/linux-3.4.99/arch/arm/mach-ixp4xx/
Dixp4xx_npe.c29 #define MAX_RETRIES 1000 /* microseconds */ macro
245 for (i = 0; i < MAX_RETRIES; i++) { in npe_debug_instr()
391 for (i = 0; i < MAX_RETRIES; i++) { in npe_reset()
397 if (i == MAX_RETRIES) in npe_reset()
430 while ((cycles < MAX_RETRIES) && in npe_send_message()
436 if (cycles == MAX_RETRIES) { in npe_send_message()
454 while (cycles < MAX_RETRIES) { in npe_recv_message()
474 if (cycles == MAX_RETRIES) { in npe_recv_message()
/linux-3.4.99/drivers/i2c/busses/
Di2c-isch.c50 #define MAX_RETRIES 5000 macro
105 } while ((temp & 0x08) && (retries++ < MAX_RETRIES)); in sch_transaction()
108 if (retries > MAX_RETRIES) { in sch_transaction()
Di2c-i801.c111 #define MAX_RETRIES 400 macro
283 } while ((status & SMBHSTSTS_HOST_BUSY) && (timeout++ < MAX_RETRIES)); in i801_transaction()
285 result = i801_check_post(priv, status, timeout > MAX_RETRIES); in i801_transaction()
303 && (timeout++ < MAX_RETRIES)); in i801_wait_hwpec()
305 if (timeout > MAX_RETRIES) in i801_wait_hwpec()
392 && (timeout++ < MAX_RETRIES)); in i801_block_transaction_byte_by_byte()
394 result = i801_check_post(priv, status, timeout > MAX_RETRIES); in i801_block_transaction_byte_by_byte()
/linux-3.4.99/drivers/media/video/
Dstk-sensor.c75 #define MAX_RETRIES (50) macro
243 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_outb()
266 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_inb()
/linux-3.4.99/drivers/scsi/
Dsr.c186 &sshdr, SR_TIMEOUT, MAX_RETRIES, NULL); in sr_get_events()
253 ret = scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in sr_check_events()
498 SCpnt->allowed = MAX_RETRIES; in sr_prep_fn()
590 if (scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_block_revalidate_disk()
748 SR_TIMEOUT, MAX_RETRIES, NULL); in get_sectorsize()
841 scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in get_capabilities()
Dsr.h23 #define MAX_RETRIES 3 macro
Dosst.c131 #define MAX_RETRIES 0 macro
766 SRpnt = osst_do_scsi(*aSRpnt, STp, cmd, 0, DMA_NONE, STp->timeout, MAX_RETRIES, 1); in osst_wait_ready()
787 SRpnt = osst_do_scsi(SRpnt, STp, cmd, 0, DMA_NONE, STp->timeout, MAX_RETRIES, 1); in osst_wait_ready()
827 SRpnt = osst_do_scsi(*aSRpnt, STp, cmd, 0, DMA_NONE, STp->timeout, MAX_RETRIES, 1); in osst_wait_for_medium()
845 SRpnt = osst_do_scsi(SRpnt, STp, cmd, 0, DMA_NONE, STp->timeout, MAX_RETRIES, 1); in osst_wait_for_medium()
897 SRpnt = osst_do_scsi(*aSRpnt, STp, cmd, 0, DMA_NONE, STp->timeout, MAX_RETRIES, 1); in osst_flush_drive_buffer()
989 MAX_RETRIES, 1); in osst_recover_wait_frame()
1006 MAX_RETRIES, 1); in osst_recover_wait_frame()
1052 STp->timeout, MAX_RETRIES, 1); in osst_read_frame()
1127 SRpnt = osst_do_scsi(*aSRpnt, STp, cmd, 0, DMA_NONE, STp->timeout, MAX_RETRIES, 1); in osst_initiate_read()
[all …]
Dch.c100 #define MAX_RETRIES 1 macro
201 MAX_RETRIES, NULL); in ch_do_scsi()
Dsr_ioctl.c311 if (!scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_drive_status()
Dst.c155 #define MAX_RETRIES 0 macro
674 MAX_RETRIES, 1); in cross_eof()
1887 MAX_RETRIES, 1); in read_tape()
2569 timeout, MAX_RETRIES, 1); in do_load_unload()
2873 timeout, MAX_RETRIES, 1); in st_int_ioctl()
/linux-3.4.99/drivers/hwmon/
Dw83l785ts.c45 #define MAX_RETRIES 5 macro
269 for (i = 1; i <= MAX_RETRIES; i++) { in w83l785ts_read_value()
Dlm93.c808 #define MAX_RETRIES 5 macro
815 for (i = 1; i <= MAX_RETRIES; i++) { in lm93_read_byte()
851 for (i = 1; i <= MAX_RETRIES; i++) { in lm93_read_word()
893 for (i = 1; i <= MAX_RETRIES; i++) { in lm93_read_block()
/linux-3.4.99/arch/powerpc/platforms/pasemi/
Ddma_lib.c318 #define MAX_RETRIES 5000 macro
327 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_dma_stop_chan()
338 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_dma_stop_chan()
/linux-3.4.99/arch/x86/kernel/
Dtsc.c119 #define MAX_RETRIES 5 macro
130 for (i = 0; i < MAX_RETRIES; i++) { in tsc_read_refs()
/linux-3.4.99/drivers/firewire/
Dcore-device.c756 #define MAX_RETRIES 10 macro
971 if (device->config_rom_retries < MAX_RETRIES && in fw_device_init()
1112 if (device->config_rom_retries < MAX_RETRIES / 2 && in fw_device_refresh()
1145 if (device->config_rom_retries < MAX_RETRIES && in fw_device_refresh()
/linux-3.4.99/drivers/staging/cptm1217/
Dclearpad_tm1217.c48 #define MAX_RETRIES 5 /* As above */ macro
148 for (i = 0; i < MAX_RETRIES; i++) { in cp_tm1217_read()
/linux-3.4.99/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1265 #define MAX_RETRIES 5000 macro
1275 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_mac_pause_txchan()
1296 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_mac_pause_rxchan()
1315 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_mac_pause_rxint()