Searched refs:attempts (Results 1 - 23 of 23) sorted by relevance

/drivers/i2c/busses/
H A Di2c-stu300.c130 * 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/mtd/lpddr/
H A Dqinfo_probe.c82 int attempts = 20; local
94 while ((attempts--) > 0) {
/drivers/w1/
H A Dw1.h165 unsigned long attempts; member in struct:w1_master
H A Dw1_int.c65 dev->attempts = 0;
H A Dw1_io.c363 dev->attempts++;
H A Dw1.c331 count = sprintf(buf, "%lu\n", md->attempts);
517 static W1_MASTER_ATTR_RO(attempts, S_IRUGO);
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h649 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 Dt3_hw.c45 * @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...]
H A Dcxgb3_main.c442 int attempts = 10; local
445 if (!--attempts)
/drivers/net/ethernet/chelsio/cxgb/
H A Despi.c64 int busy, attempts = TRICN_CMD_ATTEMPTS; local
76 } while (busy && --attempts);
H A Dsubr.c55 * @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 Dnvm.c150 u32 attempts = 100000; local
153 for (i = 0; i < attempts; i++) {
/drivers/net/ethernet/intel/igb/
H A De1000_nvm.c153 u32 attempts = 100000; local
157 for (i = 0; i < attempts; i++) {
/drivers/ssb/
H A Dpcmcia.c98 int attempts = 0; local
139 if (attempts++ > SSB_BAR0_MAX_RETRIES)
171 int attempts = 0; local
187 if (unlikely(attempts++ > SSB_BAR0_MAX_RETRIES))
H A Dpci.c35 int attempts = 0; local
53 if (attempts++ > SSB_BAR0_MAX_RETRIES)
755 /* All CRC attempts failed.
/drivers/media/dvb/firewire/
H A Dfiredtv-avc.c1365 int attempts = 0; local
1413 if (++attempts < 6) /* arbitrary limit */
1425 int attempts = 0; local
1454 if (++attempts < 6) /* arbitrary limit */
/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c47 * @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/atm/
H A DKconfig355 Specifies the number of times the driver attempts to transmit
/drivers/net/wireless/iwlegacy/
H A D4965-rs.c421 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/ide/
H A Dide-cd.c1123 int stat, attempts = 3, size = ATAPI_CAPABILITIES_PAGE_SIZE; local
1136 } while (--attempts);
/drivers/net/wireless/iwlwifi/
H A Diwl-agn-rs.c481 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/ata/
H A Dsata_mv.c3597 int rc, attempts = 0, extra = 0; local
3617 if (!IS_GEN_I(hpriv) && ++attempts >= 5 && sstatus == 0x121) {
/drivers/scsi/
H A Dosst.c1674 int attempts = 1000 / skip;
1681 while (attempts && time_before(jiffies, startwait + 60*HZ)) {
1695 attempts--;
1672 int attempts = 1000 / skip; local

Completed in 3600 milliseconds