Lines Matching refs:i8042_ctr

165 static unsigned char i8042_ctr;  variable
414 i8042_ctr &= ~irq_bit; in i8042_port_close()
415 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_port_close()
420 i8042_ctr &= ~disable_bit; in i8042_port_close()
421 i8042_ctr |= irq_bit; in i8042_port_close()
422 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_port_close()
614 i8042_ctr &= ~I8042_CTR_KBDDIS; in i8042_enable_kbd_port()
615 i8042_ctr |= I8042_CTR_KBDINT; in i8042_enable_kbd_port()
617 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_enable_kbd_port()
618 i8042_ctr &= ~I8042_CTR_KBDINT; in i8042_enable_kbd_port()
619 i8042_ctr |= I8042_CTR_KBDDIS; in i8042_enable_kbd_port()
633 i8042_ctr &= ~I8042_CTR_AUXDIS; in i8042_enable_aux_port()
634 i8042_ctr |= I8042_CTR_AUXINT; in i8042_enable_aux_port()
636 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_enable_aux_port()
637 i8042_ctr &= ~I8042_CTR_AUXINT; in i8042_enable_aux_port()
638 i8042_ctr |= I8042_CTR_AUXDIS; in i8042_enable_aux_port()
727 i8042_ctr |= I8042_CTR_AUXDIS; in i8042_check_mux()
728 i8042_ctr &= ~I8042_CTR_AUXINT; in i8042_check_mux()
730 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_check_mux()
920 i8042_ctr |= I8042_CTR_AUXDIS; in i8042_check_aux()
921 i8042_ctr &= ~I8042_CTR_AUXINT; in i8042_check_aux()
923 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_check_aux()
1013 i8042_initial_ctr = i8042_ctr = ctr[0]; in i8042_controller_init()
1019 i8042_ctr |= I8042_CTR_KBDDIS; in i8042_controller_init()
1020 i8042_ctr &= ~I8042_CTR_KBDINT; in i8042_controller_init()
1029 i8042_ctr |= I8042_CTR_IGNKEYLOCK; in i8042_controller_init()
1040 if (~i8042_ctr & I8042_CTR_XLATE) in i8042_controller_init()
1051 i8042_ctr &= ~I8042_CTR_XLATE; in i8042_controller_init()
1057 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_controller_init()
1084 i8042_ctr |= I8042_CTR_KBDDIS | I8042_CTR_AUXDIS; in i8042_controller_reset()
1085 i8042_ctr &= ~(I8042_CTR_KBDINT | I8042_CTR_AUXINT); in i8042_controller_reset()
1087 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_controller_reset()
1188 i8042_ctr = i8042_initial_ctr; in i8042_controller_resume()
1190 i8042_ctr &= ~I8042_CTR_XLATE; in i8042_controller_resume()
1191 i8042_ctr |= I8042_CTR_AUXDIS | I8042_CTR_KBDDIS; in i8042_controller_resume()
1192 i8042_ctr &= ~(I8042_CTR_AUXINT | I8042_CTR_KBDINT); in i8042_controller_resume()
1193 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_controller_resume()
1196 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_controller_resume()