Lines Matching refs:polled
127 static void kb8042_setled(struct kb8042 *, int led_state, boolean_t polled);
265 kb8042_is_input_avail(struct kb8042 *kb8042, int timeout_usec, boolean_t polled) in kb8042_is_input_avail() argument
268 int port = (polled == B_TRUE) ? I8042_POLL_INPUT_AVAIL : in kb8042_is_input_avail()
283 kb8042_clear_input_buffer(struct kb8042 *kb8042, boolean_t polled) in kb8042_clear_input_buffer() argument
285 int port = (polled == B_TRUE) ? I8042_POLL_INPUT_DATA : in kb8042_clear_input_buffer()
288 while (kb8042_is_input_avail(kb8042, MIN_DELAY_USECS, polled)) { in kb8042_clear_input_buffer()
1231 kb8042_setled(struct kb8042 *kb8042, int led_state, boolean_t polled) argument
1235 if (!polled)
1239 kb8042_send_to_keyboard(kb8042, KB_SET_LED, polled);
1242 if (!polled)
1262 kb8042_send_and_wait(struct kb8042 *kb8042, uint8_t u8, boolean_t polled) argument
1265 (polled ? I8042_POLL_OUTPUT_DATA : I8042_INT_OUTPUT_DATA);
1267 (polled ? I8042_POLL_INPUT_AVAIL : I8042_INT_INPUT_AVAIL);
1269 (polled ? I8042_POLL_INPUT_DATA : I8042_INT_INPUT_DATA);
1286 if (polled) {
1349 kb8042_send_to_keyboard(struct kb8042 *kb8042, int byte, boolean_t polled) argument
1361 if (!polled) {
1366 if (kb8042_send_and_wait(kb8042, KB_SET_LED, polled)) {
1372 kb8042_xlate_leds(kb8042->leds.desired), polled);
1375 if (!polled) {
1383 if (!polled) {
1388 (void) kb8042_send_and_wait(kb8042, KB_ENABLE, polled);
1390 if (!polled) {
1397 if (polled) {