Home
last modified time | relevance | path

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

/drivers/input/serio/
Dsa1111ps2.c43 struct ps2if { struct
63 struct ps2if *ps2if = dev_id; in ps2_rxint() argument
66 status = readl_relaxed(ps2if->base + PS2STAT); in ps2_rxint()
69 writel_relaxed(PS2STAT_STP, ps2if->base + PS2STAT); in ps2_rxint()
74 scancode = readl_relaxed(ps2if->base + PS2DATA) & 0xff; in ps2_rxint()
79 serio_interrupt(ps2if->io, scancode, flag); in ps2_rxint()
81 status = readl_relaxed(ps2if->base + PS2STAT); in ps2_rxint()
92 struct ps2if *ps2if = dev_id; in ps2_txint() local
95 spin_lock(&ps2if->lock); in ps2_txint()
96 status = readl_relaxed(ps2if->base + PS2STAT); in ps2_txint()
[all …]
Daltera_ps2.c22 struct ps2if { struct
33 struct ps2if *ps2if = dev_id; in altera_ps2_rxint() local
37 while ((status = readl(ps2if->base)) & 0xffff0000) { in altera_ps2_rxint()
38 serio_interrupt(ps2if->io, status & 0xff, 0); in altera_ps2_rxint()
50 struct ps2if *ps2if = io->port_data; in altera_ps2_write() local
52 writel(val, ps2if->base); in altera_ps2_write()
58 struct ps2if *ps2if = io->port_data; in altera_ps2_open() local
61 while (readl(ps2if->base) & 0xffff0000) in altera_ps2_open()
64 writel(1, ps2if->base + 4); /* enable rx irq */ in altera_ps2_open()
70 struct ps2if *ps2if = io->port_data; in altera_ps2_close() local
[all …]
Dpcips2.c45 struct pcips2_data *ps2if = io->port_data; in pcips2_write() local
49 stat = inb(ps2if->base + PS2_STATUS); in pcips2_write()
53 outb(val, ps2if->base + PS2_DATA); in pcips2_write()
60 struct pcips2_data *ps2if = devid; in pcips2_interrupt() local
67 status = inb(ps2if->base + PS2_STATUS); in pcips2_interrupt()
71 scancode = inb(ps2if->base + PS2_DATA); in pcips2_interrupt()
80 serio_interrupt(ps2if->io, scancode, flag); in pcips2_interrupt()
85 static void pcips2_flush_input(struct pcips2_data *ps2if) in pcips2_flush_input() argument
90 status = inb(ps2if->base + PS2_STATUS); in pcips2_flush_input()
93 scancode = inb(ps2if->base + PS2_DATA); in pcips2_flush_input()
[all …]