Lines Matching refs:rpckbd
67 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_open() local
74 if (request_irq(rpckbd->rx_irq, rpckbd_rx, 0, "rpckbd", port) != 0) { in rpckbd_open()
79 if (request_irq(rpckbd->tx_irq, rpckbd_tx, 0, "rpckbd", port) != 0) { in rpckbd_open()
81 free_irq(rpckbd->rx_irq, port); in rpckbd_open()
90 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_close() local
92 free_irq(rpckbd->rx_irq, port); in rpckbd_close()
93 free_irq(rpckbd->tx_irq, port); in rpckbd_close()
102 struct rpckbd_data *rpckbd; in rpckbd_probe() local
115 rpckbd = kzalloc(sizeof(*rpckbd), GFP_KERNEL); in rpckbd_probe()
116 if (!serio || !rpckbd) { in rpckbd_probe()
117 kfree(rpckbd); in rpckbd_probe()
122 rpckbd->rx_irq = rx_irq; in rpckbd_probe()
123 rpckbd->tx_irq = tx_irq; in rpckbd_probe()
130 serio->port_data = rpckbd; in rpckbd_probe()
142 struct rpckbd_data *rpckbd = serio->port_data; in rpckbd_remove() local
145 kfree(rpckbd); in rpckbd_remove()