/linux/drivers/soc/ixp4xx/ |
A D | ixp4xx-npe.c | 30 #define MAX_RETRIES 1000 /* microseconds */ macro 244 for (i = 0; i < MAX_RETRIES; i++) { in npe_debug_instr() 390 for (i = 0; i < MAX_RETRIES; i++) { in npe_reset() 396 if (i == MAX_RETRIES) in npe_reset() 429 while ((cycles < MAX_RETRIES) && in npe_send_message() 435 if (cycles == MAX_RETRIES) { in npe_send_message() 453 while (cycles < MAX_RETRIES) { in npe_recv_message() 473 if (cycles == MAX_RETRIES) { in npe_recv_message()
|
/linux/drivers/i2c/busses/ |
A D | i2c-isch.c | 38 #define MAX_RETRIES 5000 macro 96 } while ((temp & 0x08) && (retries++ < MAX_RETRIES)); in sch_transaction() 99 if (retries > MAX_RETRIES) { in sch_transaction()
|
/linux/tools/testing/selftests/livepatch/ |
A D | functions.sh | 7 MAX_RETRIES=600 108 [[ $((i++)) -eq $MAX_RETRIES ]] && return 1
|
/linux/drivers/scsi/ |
A D | sr.c | 215 &sshdr, SR_TIMEOUT, MAX_RETRIES, NULL); in sr_get_events() 284 ret = scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in sr_check_events() 500 SCpnt->allowed = MAX_RETRIES; in sr_init_command() 517 if (scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_revalidate_disk() 774 SR_TIMEOUT, MAX_RETRIES, NULL); in get_sectorsize() 866 scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in get_capabilities()
|
A D | sr.h | 25 #define MAX_RETRIES 3 macro
|
A D | ch.c | 103 #define MAX_RETRIES 1 macro 200 MAX_RETRIES, NULL); in ch_do_scsi()
|
A D | sr_ioctl.c | 294 if (!scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_drive_status()
|
A D | st.c | 166 #define MAX_RETRIES 0 macro 744 MAX_RETRIES, 1); in cross_eof() 1943 MAX_RETRIES, 1); in read_tape() 2641 timeout, MAX_RETRIES, 1); in do_load_unload() 2956 timeout, MAX_RETRIES, 1); in st_int_ioctl() 3344 timeout, MAX_RETRIES, 1); in format_medium()
|
/linux/drivers/input/touchscreen/ |
A D | elants_i2c.c | 109 #define MAX_RETRIES 3 macro 368 int retry_cnt = MAX_RETRIES; in elants_i2c_query_hw_version() 393 int retry_cnt = MAX_RETRIES; in elants_i2c_query_fw_version() 427 resp, sizeof(resp), MAX_RETRIES, in elants_i2c_query_test_version() 611 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_initialize() 615 if (retry_cnt < MAX_RETRIES - 1) in elants_i2c_initialize() 622 if (retry_cnt < MAX_RETRIES - 1) in elants_i2c_initialize() 1610 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_suspend() 1641 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_resume()
|
A D | wdt87xx_i2c.c | 41 #define MAX_RETRIES 3 macro 720 for (retry = 0; retry < MAX_RETRIES; retry++) { in wdt87xx_write_firmware() 760 if (retry == MAX_RETRIES) { in wdt87xx_write_firmware()
|
/linux/drivers/media/usb/stkwebcam/ |
A D | stk-sensor.c | 65 #define MAX_RETRIES (50) macro 233 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_outb() 256 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_inb()
|
/linux/drivers/hwmon/ |
A D | w83l785ts.c | 32 #define MAX_RETRIES 5 macro 242 for (i = 1; i <= MAX_RETRIES; i++) { in w83l785ts_read_value()
|
A D | lm93.c | 796 #define MAX_RETRIES 5 macro 803 for (i = 1; i <= MAX_RETRIES; i++) { in lm93_read_byte() 841 for (i = 1; i <= MAX_RETRIES; i++) { in lm93_read_word() 885 for (i = 1; i <= MAX_RETRIES; i++) { in lm93_read_block()
|
/linux/arch/powerpc/platforms/pasemi/ |
A D | dma_lib.c | 303 #define MAX_RETRIES 5000 macro 312 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_dma_stop_chan() 323 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_dma_stop_chan()
|
/linux/drivers/mmc/host/ |
A D | moxart-mmc.c | 120 #define MAX_RETRIES 500000 macro 186 for (i = 0; i < MAX_RETRIES; i++) { in moxart_wait_for_status() 668 for (i = 0; i < MAX_RETRIES; i++) { in moxart_probe()
|
/linux/drivers/firewire/ |
A D | core-device.c | 784 #define MAX_RETRIES 10 macro 1000 if (device->config_rom_retries < MAX_RETRIES && in fw_device_init() 1178 if (device->config_rom_retries < MAX_RETRIES && in fw_device_refresh()
|
/linux/arch/x86/kernel/ |
A D | tsc.c | 311 #define MAX_RETRIES 5 macro 323 for (i = 0; i < MAX_RETRIES; i++) { in tsc_read_refs()
|
/linux/drivers/net/ethernet/pasemi/ |
A D | pasemi_mac.c | 1214 #define MAX_RETRIES 5000 macro 1224 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_mac_pause_txchan() 1245 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_mac_pause_rxchan() 1264 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_mac_pause_rxint()
|
/linux/drivers/mtd/chips/ |
A D | cfi_cmdset_0002.c | 45 #define MAX_RETRIES 3 macro 1790 if (++retry_cnt <= MAX_RETRIES) { in do_write_oneword_retry() 2291 if (++retry_cnt <= MAX_RETRIES) in do_panic_write_oneword() 2503 if (++retry_cnt <= MAX_RETRIES) { in do_erase_chip() 2602 if (++retry_cnt <= MAX_RETRIES) { in do_erase_oneblock()
|
/linux/drivers/net/wireless/rsi/ |
A D | rsi_mgmt.h | 107 #define MAX_RETRIES 8 macro
|
A D | rsi_91x_mac80211.c | 2027 hw->max_rate_tries = MAX_RETRIES; in rsi_mac80211_attach()
|
/linux/drivers/staging/octeon-usb/ |
A D | octeon-hcd.c | 218 #define MAX_RETRIES 3 macro
|