/linux-6.6.21/drivers/soc/ixp4xx/ |
D | ixp4xx-npe.c | 31 #define MAX_RETRIES 1000 /* microseconds */ macro 245 for (i = 0; i < MAX_RETRIES; i++) { in npe_debug_instr() 395 for (i = 0; i < MAX_RETRIES; i++) { in npe_reset() 401 if (i == MAX_RETRIES) in npe_reset() 434 while ((cycles < MAX_RETRIES) && in npe_send_message() 440 if (cycles == MAX_RETRIES) { in npe_send_message() 458 while (cycles < MAX_RETRIES) { in npe_recv_message() 478 if (cycles == MAX_RETRIES) { in npe_recv_message()
|
/linux-6.6.21/drivers/i2c/busses/ |
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-6.6.21/tools/testing/selftests/livepatch/ |
D | functions.sh | 7 MAX_RETRIES=600 125 [[ $((i++)) -eq $MAX_RETRIES ]] && return 1
|
/linux-6.6.21/drivers/scsi/ |
D | sr.c | 179 SR_TIMEOUT, MAX_RETRIES, &exec_args); in sr_get_events() 248 ret = scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in sr_check_events() 464 SCpnt->allowed = MAX_RETRIES; in sr_init_command() 481 if (scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_revalidate_disk() 733 SR_TIMEOUT, MAX_RETRIES, NULL); in get_sectorsize() 825 scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr); in get_capabilities()
|
D | sr.h | 23 #define MAX_RETRIES 3 macro
|
D | ch.c | 103 #define MAX_RETRIES 1 macro 201 timeout * HZ, MAX_RETRIES, &exec_args); in ch_do_scsi()
|
D | sr_ioctl.c | 303 if (!scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr)) in sr_drive_status()
|
D | st.c | 166 #define MAX_RETRIES 0 macro 749 MAX_RETRIES, 1); in cross_eof() 1948 MAX_RETRIES, 1); in read_tape() 2646 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()
|
/linux-6.6.21/drivers/hwmon/ |
D | w83l785ts.c | 32 #define MAX_RETRIES 5 macro 240 for (i = 1; i <= MAX_RETRIES; i++) { in w83l785ts_read_value()
|
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-6.6.21/drivers/input/touchscreen/ |
D | elants_i2c.c | 110 #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() 1588 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_suspend() 1617 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_resume()
|
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-6.6.21/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 305 #define MAX_RETRIES 5000 macro 314 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_dma_stop_chan() 325 for (retries = 0; retries < MAX_RETRIES; retries++) { in pasemi_dma_stop_chan()
|
/linux-6.6.21/drivers/mmc/host/ |
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()
|
/linux-6.6.21/drivers/firewire/ |
D | core-device.c | 778 #define MAX_RETRIES 10 macro 994 if (device->config_rom_retries < MAX_RETRIES && in fw_device_init() 1172 if (device->config_rom_retries < MAX_RETRIES && in fw_device_refresh()
|
/linux-6.6.21/arch/x86/kernel/ |
D | tsc.c | 347 #define MAX_RETRIES 5 macro 359 for (i = 0; i < MAX_RETRIES; i++) { in tsc_read_refs()
|
/linux-6.6.21/drivers/net/ethernet/pasemi/ |
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-6.6.21/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 43 #define MAX_RETRIES 3 macro 1782 if (++retry_cnt <= MAX_RETRIES) { in do_write_oneword_retry() 2283 if (++retry_cnt <= MAX_RETRIES) in do_panic_write_oneword() 2496 if (++retry_cnt <= MAX_RETRIES) { in do_erase_chip() 2596 if (++retry_cnt <= MAX_RETRIES) { in do_erase_oneblock()
|
/linux-6.6.21/drivers/net/wireless/rsi/ |
D | rsi_mgmt.h | 107 #define MAX_RETRIES 8 macro
|
D | rsi_91x_mac80211.c | 2028 hw->max_rate_tries = MAX_RETRIES; in rsi_mac80211_attach()
|
/linux-6.6.21/drivers/usb/host/ |
D | octeon-hcd.c | 218 #define MAX_RETRIES 3 macro
|