Lines Matching refs:retry
310 sc->retry = 100000 / ((KBDD_DELAYTIME * 2) + read_delay); in atkbdc_setup()
312 sc->retry = 5000; in atkbdc_setup()
432 int retry; in wait_while_controller_busy() local
436 retry = kbdc->retry; in wait_while_controller_busy()
447 if (--retry < 0) in wait_while_controller_busy()
460 int retry; in wait_for_data() local
464 retry = kbdc->retry * 2; in wait_for_data()
468 if (--retry < 0) in wait_for_data()
479 int retry; in wait_for_kbd_data() local
483 retry = kbdc->retry * 2; in wait_for_kbd_data()
492 if (--retry < 0) in wait_for_kbd_data()
506 int retry; in wait_for_kbd_ack() local
511 retry = kbdc->retry * 2; in wait_for_kbd_ack()
513 while (retry-- > 0) { in wait_for_kbd_ack()
535 int retry; in wait_for_aux_data() local
539 retry = kbdc->retry * 2; in wait_for_aux_data()
548 if (--retry < 0) in wait_for_aux_data()
562 int retry; in wait_for_aux_ack() local
567 retry = kbdc->retry * 2; in wait_for_aux_ack()
569 while (retry-- > 0) { in wait_for_aux_ack()
635 int retry = KBD_MAXRETRY; in send_kbd_command() local
638 while (retry-- > 0) { in send_kbd_command()
652 int retry = KBD_MAXRETRY; in send_aux_command() local
655 while (retry-- > 0) { in send_aux_command()
679 int retry; in send_kbd_command_and_data() local
682 for (retry = KBD_MAXRETRY; retry > 0; --retry) { in send_kbd_command_and_data()
691 if (retry <= 0) in send_kbd_command_and_data()
694 for (retry = KBD_MAXRETRY, res = -1; retry > 0; --retry) { in send_kbd_command_and_data()
708 int retry; in send_aux_command_and_data() local
711 for (retry = KBD_MAXRETRY; retry > 0; --retry) { in send_aux_command_and_data()
721 if (retry <= 0) in send_aux_command_and_data()
724 for (retry = KBD_MAXRETRY, res = -1; retry > 0; --retry) { in send_aux_command_and_data()
976 int retry = KBD_MAXRETRY; in reset_kbd() local
980 while (retry-- > 0) { in reset_kbd()
991 if (retry < 0) in reset_kbd()
1014 int retry = KBD_MAXRETRY; in reset_aux_dev() local
1018 while (retry-- > 0) { in reset_aux_dev()
1035 if (retry < 0) in reset_aux_dev()
1062 int retry = KBD_MAXRETRY; in test_controller() local
1066 while (retry-- > 0) { in test_controller()
1071 if (retry < 0) in test_controller()
1090 int retry = KBD_MAXRETRY; in test_kbd_port() local
1094 while (retry-- > 0) { in test_kbd_port()
1099 if (retry < 0) in test_kbd_port()
1116 int retry = KBD_MAXRETRY; in test_aux_port() local
1120 while (retry-- > 0) { in test_aux_port()
1125 if (retry < 0) in test_aux_port()