Lines Matching refs:attempts
651 int attempts = 0; in stu300_xfer_msg() local
670 if (attempts) in stu300_xfer_msg()
677 if (attempts) in stu300_xfer_msg()
697 if (attempts) in stu300_xfer_msg()
703 if (attempts) in stu300_xfer_msg()
708 ret = stu300_send_address(dev, msg, attempts != 0); in stu300_xfer_msg()
711 attempts++; in stu300_xfer_msg()
714 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()
717 } while (ret != 0 && attempts < NUM_ADDR_RESEND_ATTEMPTS); in stu300_xfer_msg()
719 if (attempts < NUM_ADDR_RESEND_ATTEMPTS && attempts > 0) { in stu300_xfer_msg()
721 "through after %d attempts\n", attempts); in stu300_xfer_msg()
722 } else if (attempts == NUM_ADDR_RESEND_ATTEMPTS) { in stu300_xfer_msg()