Lines Matching defs:attempts
123 * @attempts: number of check iterations
128 * up to @attempts times. If @valp is not NULL the value of the register
134 int polarity, int attempts, int delay, uint32_t *valp)
146 if (--attempts == 0)
215 int attempts = EEPROM_MAX_RD_POLL;
226 } while (!(val & PCI_VPD_ADDR_F) && --attempts);
443 * @attempts: max number of polls of the status register
449 csio_hw_flash_wait_op(struct csio_hw *hw, int32_t attempts, int32_t delay)
465 if (--attempts == 0)
2400 * Returns -EINVAL if attempts to flash the firmware failed,
4267 csio_dbg(hw, "Max hw reset attempts reached..");