Lines Matching refs:i8042_ctr
169 static unsigned char i8042_ctr; variable
418 i8042_ctr &= ~irq_bit; in i8042_port_close()
419 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_port_close()
424 i8042_ctr &= ~disable_bit; in i8042_port_close()
425 i8042_ctr |= irq_bit; in i8042_port_close()
426 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_port_close()
618 i8042_ctr &= ~I8042_CTR_KBDDIS; in i8042_enable_kbd_port()
619 i8042_ctr |= I8042_CTR_KBDINT; in i8042_enable_kbd_port()
621 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_enable_kbd_port()
622 i8042_ctr &= ~I8042_CTR_KBDINT; in i8042_enable_kbd_port()
623 i8042_ctr |= I8042_CTR_KBDDIS; in i8042_enable_kbd_port()
637 i8042_ctr &= ~I8042_CTR_AUXDIS; in i8042_enable_aux_port()
638 i8042_ctr |= I8042_CTR_AUXINT; in i8042_enable_aux_port()
640 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_enable_aux_port()
641 i8042_ctr &= ~I8042_CTR_AUXINT; in i8042_enable_aux_port()
642 i8042_ctr |= I8042_CTR_AUXDIS; in i8042_enable_aux_port()
731 i8042_ctr |= I8042_CTR_AUXDIS; in i8042_check_mux()
732 i8042_ctr &= ~I8042_CTR_AUXINT; in i8042_check_mux()
734 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_check_mux()
924 i8042_ctr |= I8042_CTR_AUXDIS; in i8042_check_aux()
925 i8042_ctr &= ~I8042_CTR_AUXINT; in i8042_check_aux()
927 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_check_aux()
1017 i8042_initial_ctr = i8042_ctr = ctr[0]; in i8042_controller_init()
1023 i8042_ctr |= I8042_CTR_KBDDIS; in i8042_controller_init()
1024 i8042_ctr &= ~I8042_CTR_KBDINT; in i8042_controller_init()
1033 i8042_ctr |= I8042_CTR_IGNKEYLOCK; in i8042_controller_init()
1044 if (~i8042_ctr & I8042_CTR_XLATE) in i8042_controller_init()
1055 i8042_ctr &= ~I8042_CTR_XLATE; in i8042_controller_init()
1061 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_controller_init()
1088 i8042_ctr |= I8042_CTR_KBDDIS | I8042_CTR_AUXDIS; in i8042_controller_reset()
1089 i8042_ctr &= ~(I8042_CTR_KBDINT | I8042_CTR_AUXINT); in i8042_controller_reset()
1091 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) in i8042_controller_reset()
1192 i8042_ctr = i8042_initial_ctr; in i8042_controller_resume()
1194 i8042_ctr &= ~I8042_CTR_XLATE; in i8042_controller_resume()
1195 i8042_ctr |= I8042_CTR_AUXDIS | I8042_CTR_KBDDIS; in i8042_controller_resume()
1196 i8042_ctr &= ~(I8042_CTR_AUXINT | I8042_CTR_KBDINT); in i8042_controller_resume()
1197 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_controller_resume()
1200 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_controller_resume()