Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/serio/
Dgscps2.c133 static void gscps2_flush(struct gscps2port *ps2port) in gscps2_flush() argument
135 while (gscps2_readb_status(ps2port->addr) & GSC_STAT_RBNE) in gscps2_flush()
136 gscps2_readb_input(ps2port->addr); in gscps2_flush()
137 ps2port->act = ps2port->append = 0; in gscps2_flush()
146 static inline int gscps2_writeb_output(struct gscps2port *ps2port, u8 data) in gscps2_writeb_output() argument
149 char __iomem *addr = ps2port->addr; in gscps2_writeb_output()
159 spin_lock_irqsave(&ps2port->lock, flags); in gscps2_writeb_output()
161 spin_unlock_irqrestore(&ps2port->lock, flags); in gscps2_writeb_output()
178 static void gscps2_enable(struct gscps2port *ps2port, int enable) in gscps2_enable() argument
184 spin_lock_irqsave(&ps2port->lock, flags); in gscps2_enable()
[all …]