Lines Matching refs:attempts
51 * @attempts: number of check iterations
56 * up to @attempts times. If @valp is not NULL the value of the register
61 int polarity, int attempts, int delay, u32 *valp)
71 if (--attempts == 0)
528 int attempts = EEPROM_MAX_RD_POLL;
538 } while (!(val & PCI_VPD_ADDR_F) && --attempts);
562 int attempts = EEPROM_MAX_WR_POLL;
575 } while ((val & PCI_VPD_ADDR_F) && --attempts);
797 * @attempts: max number of polls of the status register
802 static int flash_wait_op(struct adapter *adapter, int attempts, int delay)
813 if (--attempts == 0)