/linux-3.4.99/arch/arm/mach-ixp4xx/ |
D | ixp4xx_npe.c | 29 #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/ |
D | i2c-isch.c | 50 #define MAX_RETRIES 5000 macro 105 } while ((temp & 0x08) && (retries++ < MAX_RETRIES)); in sch_transaction() 108 if (retries > MAX_RETRIES) { in sch_transaction()
|
D | i2c-i801.c | 111 #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/ |
D | stk-sensor.c | 75 #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/ |
D | sr.c | 186 &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()
|
D | sr.h | 23 #define MAX_RETRIES 3 macro
|
D | osst.c | 131 #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 …]
|
D | ch.c | 100 #define MAX_RETRIES 1 macro 201 MAX_RETRIES, NULL); in ch_do_scsi()
|
D | sr_ioctl.c | 311 if (!scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_drive_status()
|
D | st.c | 155 #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/ |
D | w83l785ts.c | 45 #define MAX_RETRIES 5 macro 269 for (i = 1; i <= MAX_RETRIES; i++) { in w83l785ts_read_value()
|
D | lm93.c | 808 #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/ |
D | dma_lib.c | 318 #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/ |
D | tsc.c | 119 #define MAX_RETRIES 5 macro 130 for (i = 0; i < MAX_RETRIES; i++) { in tsc_read_refs()
|
/linux-3.4.99/drivers/firewire/ |
D | core-device.c | 756 #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/ |
D | clearpad_tm1217.c | 48 #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/ |
D | pasemi_mac.c | 1265 #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()
|