Searched refs:ps2port (Results 1 – 1 of 1) sorted by relevance
133 static void gscps2_flush(struct gscps2port *ps2port) in gscps2_flush() argument135 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() argument149 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() argument184 spin_lock_irqsave(&ps2port->lock, flags); in gscps2_enable()[all …]