Lines Matching defs:attempts
379 data->attempts = 0;
456 u8 attempts;
545 * Suggested number of attempts as per the CEC 2.0 spec:
546 * 4 attempts is the default, except for 'secondary poll
551 attempts = 2;
553 attempts = 4;
556 if (data->attempts) {
571 if (data->attempts == 0)
572 data->attempts = attempts;
576 if (call_op(adap, adap_transmit, data->attempts,
668 * If there are still retry attempts left and there was an error and
672 if (!aborted && data->attempts > attempts_made && !done) {
674 data->attempts -= attempts_made;
676 dprintk(2, "retransmit: %*ph (attempts: %d, wait for 0x%02x)\n",
677 msg->len, msg->msg, data->attempts, msg->reply);
679 dprintk(2, "retransmit: %*ph (attempts: %d)\n",
680 msg->len, msg->msg, data->attempts);
689 data->attempts = 0;
1337 * If we are unable to get an OK or a NACK after max_retries attempts