Lines Matching defs: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)
268 int port = (polled == B_TRUE) ? I8042_POLL_INPUT_AVAIL :
283 kb8042_clear_input_buffer(struct kb8042 *kb8042, boolean_t polled)
285 int port = (polled == B_TRUE) ? I8042_POLL_INPUT_DATA :
288 while (kb8042_is_input_avail(kb8042, MIN_DELAY_USECS, polled)) {
1205 * for polled I/O autorepeat. However, for coordination
1215 * never be important to polled I/O, but if I do it
1231 kb8042_setled(struct kb8042 *kb8042, int led_state, boolean_t polled)
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)
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);
1279 ms_waited = 0; /* Zero it whether polled or not */
1286 if (polled) {
1346 * polled is FALSE.
1349 kb8042_send_to_keyboard(struct kb8042 *kb8042, int byte, boolean_t polled)
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) {