/drivers/mtd/lpddr/ |
H A D | qinfo_probe.c | 82 int attempts = 20; local 94 while ((attempts--) > 0) {
|
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | espi.c | 64 int busy, attempts = TRICN_CMD_ATTEMPTS; local 76 } while (busy && --attempts);
|
H A D | subr.c | 55 * @attempts: number of check iterations 59 * up to @attempts times. Returns %0 if the operation completes and %1 63 int attempts, int delay) 70 if (--attempts == 0) 251 int attempts = 100, busy; local 260 } while (busy && --attempts); 62 t1_wait_op_done(adapter_t *adapter, int reg, u32 mask, int polarity, int attempts, int delay) argument
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.c | 150 u32 attempts = 100000; local 153 for (i = 0; i < attempts; i++) {
|
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.c | 153 u32 attempts = 100000; local 157 for (i = 0; i < attempts; i++) {
|
/drivers/ssb/ |
H A D | pci.c | 35 int attempts = 0; local 53 if (attempts++ > SSB_BAR0_MAX_RETRIES) 755 /* All CRC attempts failed.
|
H A D | pcmcia.c | 98 int attempts = 0; local 139 if (attempts++ > SSB_BAR0_MAX_RETRIES) 171 int attempts = 0; local 187 if (unlikely(attempts++ > SSB_BAR0_MAX_RETRIES))
|
/drivers/w1/ |
H A D | w1.h | 165 unsigned long attempts; member in struct:w1_master
|
/drivers/i2c/busses/ |
H A D | i2c-stu300.c | 130 * If the first one failes it seems like 5 to 8 attempts are required. 469 dev_err(&dev->pdev->dev, "giving up after %d attempts " 664 int attempts = 0; local 686 * really giving up. Usually 5 to 8 attempts are enough. 689 if (attempts) 696 if (attempts) 716 if (attempts) 722 if (attempts) 727 ret = stu300_send_address(dev, msg, attempts != 0); 730 attempts [all...] |
/drivers/ide/ |
H A D | ide-cd.c | 1123 int stat, attempts = 3, size = ATAPI_CAPABILITIES_PAGE_SIZE; local 1136 } while (--attempts);
|
/drivers/media/dvb/firewire/ |
H A D | firedtv-avc.c | 1365 int attempts = 0; local 1413 if (++attempts < 6) /* arbitrary limit */ 1425 int attempts = 0; local 1454 if (++attempts < 6) /* arbitrary limit */
|
/drivers/net/wireless/iwlegacy/ |
H A D | 4965-rs.c | 421 int attempts, int successes) 437 * Keep track of only the latest 62 tx frame attempts in this rate's 444 while (attempts > 0) { 462 /* Mark the most recent #successes attempts as successful */ 469 attempts--; 958 /* Collect data for each rate used during failed TX attempts */ 420 il4965_rs_collect_tx_data(struct il_scale_tbl_info *tbl, int scale_idx, int attempts, int successes) argument
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-agn-rs.c | 481 int scale_index, int attempts, int successes) 497 * Keep track of only the latest 62 tx frame attempts in this rate's 504 while (attempts > 0) { 522 /* Mark the most recent #successes attempts as successful */ 529 attempts--; 1052 /* Collect data for each rate used during failed TX attempts */ 480 rs_collect_tx_data(struct iwl_scale_tbl_info *tbl, int scale_index, int attempts, int successes) argument
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 442 int attempts = 10; local 445 if (!--attempts)
|
H A D | common.h | 649 int polarity, int attempts, int delay, u32 *valp); 651 int polarity, int attempts, int delay) 653 return t3_wait_op_done_val(adapter, reg, mask, polarity, attempts, 650 t3_wait_op_done(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay) argument
|
H A D | t3_hw.c | 45 * @attempts: number of check iterations 50 * up to @attempts times. If @valp is not NULL the value of the register 56 int polarity, int attempts, int delay, u32 *valp) 66 if (--attempts == 0) 163 int attempts = 10; local 169 while ((val & F_BUSY) && attempts--) 616 int attempts = EEPROM_MAX_POLL; local 627 } while (!(val & PCI_VPD_ADDR_F) && --attempts); 650 int attempts = EEPROM_MAX_POLL; local 663 } while ((val & PCI_VPD_ADDR_F) && --attempts); 55 t3_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay, u32 *valp) argument 814 flash_wait_op(struct adapter *adapter, int attempts, int delay) argument 3174 unsigned int width, density, slow, attempts; local 3345 int err = -EIO, attempts, i; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 47 * @attempts: number of check iterations 52 * up to @attempts times. If @valp is not NULL the value of the register 57 int polarity, int attempts, int delay, u32 *valp) 67 if (--attempts == 0) 75 int polarity, int attempts, int delay) 77 return t4_wait_op_done_val(adapter, reg, mask, polarity, attempts, 500 * @attempts: max number of polls of the status register 505 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) argument 516 if (--attempts == 0) 56 t4_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay, u32 *valp) argument 74 t4_wait_op_done(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay) argument
|
/drivers/scsi/ |
H A D | osst.c | 1674 int attempts = 1000 / skip; 1681 while (attempts && time_before(jiffies, startwait + 60*HZ)) { 1695 attempts--; 1672 int attempts = 1000 / skip; local
|
/drivers/ata/ |
H A D | sata_mv.c | 3597 int rc, attempts = 0, extra = 0; local 3617 if (!IS_GEN_I(hpriv) && ++attempts >= 5 && sstatus == 0x121) {
|