Searched refs:CT82C710_STATUS (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/serio/ |
H A D | ct82c710.c | 46 #define CT82C710_STATUS (ct82c710_iores.start + 1) macro 70 while ((inb(CT82C710_STATUS) & (CT82C710_RX_FULL | CT82C710_TX_IDLE | CT82C710_DEV_IDLE)) in ct82c170_wait() 73 if (inb_p(CT82C710_STATUS) & CT82C710_RX_FULL) inb_p(CT82C710_DATA); in ct82c170_wait() 87 outb_p(inb_p(CT82C710_STATUS) & ~(CT82C710_ENABLE | CT82C710_INTS_ON), CT82C710_STATUS); in ct82c710_close() 104 status = inb_p(CT82C710_STATUS); in ct82c710_open() 107 outb_p(status, CT82C710_STATUS); in ct82c710_open() 110 outb_p(status, CT82C710_STATUS); in ct82c710_open() 113 outb_p(status, CT82C710_STATUS); /* Enable interrupts */ in ct82c710_open() 118 outb_p(status, CT82C710_STATUS); in ct82c710_open() [all...] |
/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | ct82c710.c | 43 #define CT82C710_STATUS (ct82c710_iores.start + 1) macro 67 while ((inb(CT82C710_STATUS) & (CT82C710_RX_FULL | CT82C710_TX_IDLE | CT82C710_DEV_IDLE)) in ct82c170_wait() 70 if (inb_p(CT82C710_STATUS) & CT82C710_RX_FULL) inb_p(CT82C710_DATA); in ct82c170_wait() 84 outb_p(inb_p(CT82C710_STATUS) & ~(CT82C710_ENABLE | CT82C710_INTS_ON), CT82C710_STATUS); in ct82c710_close() 101 status = inb_p(CT82C710_STATUS); in ct82c710_open() 104 outb_p(status, CT82C710_STATUS); in ct82c710_open() 107 outb_p(status, CT82C710_STATUS); in ct82c710_open() 110 outb_p(status, CT82C710_STATUS); /* Enable interrupts */ in ct82c710_open() 115 outb_p(status, CT82C710_STATUS); in ct82c710_open() [all...] |
Completed in 2 milliseconds