Lines Matching full:aux

131     /* KBDC hangs on Lenovo X120e and X121e after disabling AUX MUX */
276 sc->aux.head = sc->aux.tail = 0; in atkbdc_setup()
281 sc->aux.call_count = 0; in atkbdc_setup()
282 sc->aux.qcount = sc->aux.max_qcount = 0; in atkbdc_setup()
387 return (availq(&p->kbd) || availq(&p->aux) in kbdc_data_ready()
444 addq(&kbdc->aux, read_data(kbdc)); in wait_while_controller_busy()
455 * the keyboard, or the aux device.
489 addq(&kbdc->aux, read_data(kbdc)); in wait_for_kbd_data()
523 addq(&kbdc->aux, b); in wait_for_kbd_ack()
531 /* wait for data from the aux device */
556 * wait for an ACK(FAh), RESEND(FEh), or RESET_FAIL(FCh) from the aux device.
577 addq(&kbdc->aux, b); in wait_for_aux_ack()
660 * The aux device may have already sent one or two bytes of in send_aux_command()
667 emptyq(&p->aux); in send_aux_command()
714 emptyq(&p->aux); in send_aux_command_and_data()
736 * the keyboard, or the aux device
743 if (availq(&p->aux)) in read_controller_data()
744 return removeq(&p->aux); in read_controller_data()
762 "aux q: %d calls, max %d chars\n", in read_kbd_data()
764 p->aux.call_count, p->aux.max_qcount); in read_kbd_data()
787 "aux q: %d calls, max %d chars\n", in read_kbd_data_no_wait()
789 p->aux.call_count, p->aux.max_qcount); in read_kbd_data_no_wait()
798 addq(&p->aux, read_data(p)); in read_kbd_data_no_wait()
808 /* read one byte from the aux device */
812 if (availq(&p->aux)) in read_aux_data()
813 return removeq(&p->aux); in read_aux_data()
819 /* read one byte from the aux device, but return immediately if
827 if (availq(&p->aux)) in read_aux_data_no_wait()
828 return removeq(&p->aux); in read_aux_data_no_wait()
860 addq(&p->aux, b); in empty_kbd_buffer()
881 /* discard data from the aux device */
917 emptyq(&p->aux); in empty_aux_buffer()
920 /* discard any data from the keyboard or the aux device */
965 emptyq(&p->aux); in empty_both_buffers()
1008 /* NOTE: enable the aux port but disable the aux interrupt
1022 emptyq(&p->aux); in reset_aux_dev()
1032 if (c == PSM_ACK) /* aux dev is about to reset... */ in reset_aux_dev()
1190 * Rudimentary support for active PS/2 AUX port multiplexing.
1191 * Only write commands can be routed to a selected AUX port.