Searched refs:ps2if (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/input/serio/ |
H A D | sa1111ps2.c | 63 struct ps2if *ps2if = dev_id; in ps2_rxint() local 92 struct ps2if *ps2if = dev_id; in ps2_txint() local 97 if (ps2if->head == ps2if->tail) { in ps2_txint() 101 writel_relaxed(ps2if->buf[ps2if->tail], ps2if->base + PS2DATA); in ps2_txint() 102 ps2if->tail = (ps2if->tail + 1) & (sizeof(ps2if->buf) - 1); in ps2_txint() 127 if (ps2if->head == ps2if->tail) in ps2_write() 131 ps2if->buf[ps2if->head] = val; in ps2_write() 163 free_irq(ps2if->rx_irq, ps2if); in ps2_open() 186 free_irq(ps2if->tx_irq, ps2if); in ps2_close() 187 free_irq(ps2if->rx_irq, ps2if); in ps2_close() [all …]
|
H A D | altera_ps2.c | 22 struct ps2if { struct 33 struct ps2if *ps2if = dev_id; in altera_ps2_rxint() local 50 struct ps2if *ps2if = io->port_data; in altera_ps2_write() local 58 struct ps2if *ps2if = io->port_data; in altera_ps2_open() local 70 struct ps2if *ps2if = io->port_data; in altera_ps2_close() local 80 struct ps2if *ps2if; in altera_ps2_probe() local 84 ps2if = devm_kzalloc(&pdev->dev, sizeof(struct ps2if), GFP_KERNEL); in altera_ps2_probe() 85 if (!ps2if) in altera_ps2_probe() 97 pdev->name, ps2if); in altera_ps2_probe() 115 ps2if->io = serio; in altera_ps2_probe() [all …]
|
H A D | pcips2.c | 105 pcips2_flush_input(ps2if); in pcips2_open() 108 "pcips2", ps2if); in pcips2_open() 112 outb(val, ps2if->base); in pcips2_open() 121 outb(0, ps2if->base); in pcips2_close() 123 free_irq(ps2if->dev->irq, ps2if); in pcips2_close() 142 if (!ps2if || !serio) { in pcips2_probe() 154 serio->port_data = ps2if; in pcips2_probe() 156 ps2if->io = serio; in pcips2_probe() 157 ps2if->dev = dev; in pcips2_probe() 166 kfree(ps2if); in pcips2_probe() [all …]
|