Lines Matching defs:port
49 static int rpckbd_write(struct serio *port, unsigned char val)
61 struct serio *port = dev_id;
68 serio_interrupt(port, byte, 0);
79 static int rpckbd_open(struct serio *port)
86 if (request_irq(IRQ_KEYBOARDRX, rpckbd_rx, 0, "rpckbd", port) != 0) {
91 if (request_irq(IRQ_KEYBOARDTX, rpckbd_tx, 0, "rpckbd", port) != 0) {
100 static void rpckbd_close(struct serio *port)
102 free_irq(IRQ_KEYBOARDRX, port);
103 free_irq(IRQ_KEYBOARDTX, port);
123 strlcpy(serio->name, "RiscPC PS/2 kbd port", sizeof(serio->name));