Lines Matching refs:polled
127 static void kb8042_setled(struct kb8042 *, int led_state, boolean_t polled);
293 kb8042_is_input_avail(struct kb8042 *kb8042, int timeout_usec, boolean_t polled) in kb8042_is_input_avail() argument
296 int port = (polled == B_TRUE) ? I8042_POLL_INPUT_AVAIL : in kb8042_is_input_avail()
311 kb8042_clear_input_buffer(struct kb8042 *kb8042, boolean_t polled) in kb8042_clear_input_buffer() argument
313 int port = (polled == B_TRUE) ? I8042_POLL_INPUT_DATA : in kb8042_clear_input_buffer()
316 while (kb8042_is_input_avail(kb8042, MIN_DELAY_USECS, polled)) { in kb8042_clear_input_buffer()
1287 kb8042_setled(struct kb8042 *kb8042, int led_state, boolean_t polled) argument
1291 if (!polled)
1295 kb8042_send_to_keyboard(kb8042, KB_SET_LED, polled);
1298 if (!polled)
1318 kb8042_send_and_wait(struct kb8042 *kb8042, uint8_t u8, boolean_t polled) argument
1321 (polled ? I8042_POLL_OUTPUT_DATA : I8042_INT_OUTPUT_DATA);
1323 (polled ? I8042_POLL_INPUT_AVAIL : I8042_INT_INPUT_AVAIL);
1325 (polled ? I8042_POLL_INPUT_DATA : I8042_INT_INPUT_DATA);
1342 if (polled) {
1405 kb8042_send_to_keyboard(struct kb8042 *kb8042, int byte, boolean_t polled) argument
1417 if (!polled) {
1422 if (kb8042_send_and_wait(kb8042, KB_SET_LED, polled)) {
1428 kb8042_xlate_leds(kb8042->leds.desired), polled);
1431 if (!polled) {
1439 if (!polled) {
1444 (void) kb8042_send_and_wait(kb8042, KB_ENABLE, polled);
1446 if (!polled) {
1453 if (polled) {