| /OK3568_Linux_fs/kernel/drivers/soc/ixp4xx/ |
| H A D | ixp4xx-npe.c | 28 #define MAX_RETRIES 1000 /* microseconds */ macro 242 for (i = 0; i < MAX_RETRIES; i++) { in npe_debug_instr() 388 for (i = 0; i < MAX_RETRIES; i++) { in npe_reset() 394 if (i == MAX_RETRIES) in npe_reset() 427 while ((cycles < MAX_RETRIES) && in npe_send_message() 433 if (cycles == MAX_RETRIES) { in npe_send_message() 451 while (cycles < MAX_RETRIES) { in npe_recv_message() 471 if (cycles == MAX_RETRIES) { in npe_recv_message()
|
| /OK3568_Linux_fs/kernel/drivers/staging/kpc2000/ |
| H A D | kpc2000_i2c.c | 76 #define MAX_RETRIES 400 macro 227 } while ((status & SMBHSTSTS_HOST_BUSY) && (timeout++ < MAX_RETRIES)); in i801_transaction() 229 result = i801_check_post(priv, status, timeout > MAX_RETRIES); in i801_transaction() 246 } while ((!(status & SMBHSTSTS_INTR)) && (timeout++ < MAX_RETRIES)); in i801_wait_hwpec() 248 if (timeout > MAX_RETRIES) in i801_wait_hwpec() 334 (timeout++ < MAX_RETRIES)); in i801_block_transaction_byte_by_byte() 336 result = i801_check_post(priv, status, timeout > MAX_RETRIES); in i801_block_transaction_byte_by_byte()
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H 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()
|
| H A D | i2c-i801.c | 166 #define MAX_RETRIES 400 macro 461 (timeout++ < MAX_RETRIES)); in i801_wait_intr() 463 if (timeout > MAX_RETRIES) { in i801_wait_intr() 481 (timeout++ < MAX_RETRIES)); in i801_wait_byte_done() 483 if (timeout > MAX_RETRIES) { in i801_wait_byte_done()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | elants_i2c.c | 101 #define MAX_RETRIES 3 macro 352 int retry_cnt = MAX_RETRIES; in elants_i2c_query_hw_version() 377 int retry_cnt = MAX_RETRIES; in elants_i2c_query_fw_version() 411 resp, sizeof(resp), MAX_RETRIES, in elants_i2c_query_test_version() 549 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_initialize() 553 if (retry_cnt < MAX_RETRIES - 1) in elants_i2c_initialize() 560 if (retry_cnt < MAX_RETRIES - 1) in elants_i2c_initialize() 1492 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_suspend() 1521 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_resume()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/livepatch/ |
| H A D | functions.sh | 7 MAX_RETRIES=600 108 [[ $((i++)) -eq $MAX_RETRIES ]] && return 1
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | sr.c | 209 &sshdr, SR_TIMEOUT, MAX_RETRIES, NULL); in sr_get_events() 278 ret = scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in sr_check_events() 507 SCpnt->allowed = MAX_RETRIES; in sr_init_command() 524 if (scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_revalidate_disk() 835 SR_TIMEOUT, MAX_RETRIES, NULL); in get_sectorsize() 927 scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in get_capabilities()
|
| H A D | sr.h | 25 #define MAX_RETRIES 3 macro
|
| H A D | ch.c | 103 #define MAX_RETRIES 1 macro 200 MAX_RETRIES, NULL); in ch_do_scsi()
|
| H A D | sr_ioctl.c | 294 if (!scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_drive_status()
|
| H A D | st.c | 165 #define MAX_RETRIES 0 macro 748 MAX_RETRIES, 1); in cross_eof() 1947 MAX_RETRIES, 1); in read_tape() 2645 timeout, MAX_RETRIES, 1); in do_load_unload() 2961 timeout, MAX_RETRIES, 1); in st_int_ioctl() 3349 timeout, MAX_RETRIES, 1); in format_medium()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/stkwebcam/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | w83l785ts.c | 32 #define MAX_RETRIES 5 macro 242 for (i = 1; i <= MAX_RETRIES; i++) { in w83l785ts_read_value()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pasemi/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | moxart-mmc.c | 120 #define MAX_RETRIES 500000 macro 186 for (i = 0; i < MAX_RETRIES; i++) { in moxart_wait_for_status() 660 for (i = 0; i < MAX_RETRIES; i++) { in moxart_probe()
|
| /OK3568_Linux_fs/kernel/drivers/firewire/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/pasemi/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | tsc.c | 310 #define MAX_RETRIES 5 macro 322 for (i = 0; i < MAX_RETRIES; i++) { in tsc_read_refs()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0002.c | 45 #define MAX_RETRIES 3 macro 1778 if (++retry_cnt <= MAX_RETRIES) { in do_write_oneword_retry() 2279 if (++retry_cnt <= MAX_RETRIES) in do_panic_write_oneword() 2492 if (++retry_cnt <= MAX_RETRIES) { in do_erase_chip() 2592 if (++retry_cnt <= MAX_RETRIES) { in do_erase_oneblock()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rsi/ |
| H A D | rsi_mgmt.h | 107 #define MAX_RETRIES 8 macro
|
| H A D | rsi_91x_mac80211.c | 2010 hw->max_rate_tries = MAX_RETRIES; in rsi_mac80211_attach()
|
| /OK3568_Linux_fs/kernel/drivers/staging/octeon-usb/ |
| H A D | octeon-hcd.c | 216 #define MAX_RETRIES 3 macro
|