Lines Matching refs:attempts
130 * If the first one fails it seems like 5 to 8 attempts are required.
452 dev_err(&dev->pdev->dev, "giving up after %d attempts "
651 int attempts = 0;
667 * really giving up. Usually 5 to 8 attempts are enough.
670 if (attempts)
677 if (attempts)
697 if (attempts)
703 if (attempts)
708 ret = stu300_send_address(dev, msg, attempts != 0);
711 attempts++;
714 attempts, dev->msg_index, dev->msg_len);
717 } while (ret != 0 && attempts < NUM_ADDR_RESEND_ATTEMPTS);
719 if (attempts < NUM_ADDR_RESEND_ATTEMPTS && attempts > 0) {
721 "through after %d attempts\n", attempts);
722 } else if (attempts == NUM_ADDR_RESEND_ATTEMPTS) {