Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/input/serio/
Di8042.c169 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()
[all …]