Lines Matching defs:attempts
43 * @attempts: number of check iterations
48 * up to @attempts times. If @valp is not NULL the value of the register
54 int polarity, int attempts, int delay, u32 *valp)
64 if (--attempts == 0)
161 int attempts = 10;
167 while ((val & F_BUSY) && attempts--)
543 int attempts = EEPROM_MAX_POLL;
553 } while (!(val & PCI_VPD_ADDR_F) && --attempts);
576 int attempts = EEPROM_MAX_POLL;
589 } while ((val & PCI_VPD_ADDR_F) && --attempts);
742 * @attempts: max number of polls of the status register
747 static int flash_wait_op(struct adapter *adapter, int attempts, int delay)
758 if (--attempts == 0)
2905 unsigned int width, density, slow, attempts;
2986 attempts = 50;
2990 } while ((val & F_BUSY) && --attempts);
3065 int err = -EIO, attempts = 100;
3111 } while (t3_read_reg(adapter, A_CIM_HOST_ACC_DATA) && --attempts);
3112 if (!attempts) {