Lines Matching refs:attempts
660 int attempts = 0; in stu300_xfer_msg() local
685 if (attempts) in stu300_xfer_msg()
692 if (attempts) in stu300_xfer_msg()
712 if (attempts) in stu300_xfer_msg()
718 if (attempts) in stu300_xfer_msg()
723 ret = stu300_send_address(dev, msg, attempts != 0); in stu300_xfer_msg()
726 attempts++; in stu300_xfer_msg()
729 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()
732 } while (ret != 0 && attempts < NUM_ADDR_RESEND_ATTEMPTS); in stu300_xfer_msg()
734 if (attempts < NUM_ADDR_RESEND_ATTEMPTS && attempts > 0) { in stu300_xfer_msg()
736 "through after %d attempts\n", attempts); in stu300_xfer_msg()
737 } else if (attempts == NUM_ADDR_RESEND_ATTEMPTS) { in stu300_xfer_msg()