Home
last modified time | relevance | path

Searched refs:i8042_ctr (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/mips/loongson2ef/lemote-2f/
Dpm.c28 static unsigned char i8042_ctr; variable
32 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_RCTR)) { in i8042_enable_kbd_port()
38 i8042_ctr &= ~I8042_CTR_KBDDIS; in i8042_enable_kbd_port()
39 i8042_ctr |= I8042_CTR_KBDINT; in i8042_enable_kbd_port()
41 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { in i8042_enable_kbd_port()
42 i8042_ctr &= ~I8042_CTR_KBDINT; in i8042_enable_kbd_port()
43 i8042_ctr |= I8042_CTR_KBDDIS; in i8042_enable_kbd_port()
/Linux-v5.10/drivers/input/serio/
Di8042.c165 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()
[all …]