Lines Matching refs:rpckbd
64 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_open() local
71 if (request_irq(rpckbd->rx_irq, rpckbd_rx, 0, "rpckbd", port) != 0) { in rpckbd_open()
76 if (request_irq(rpckbd->tx_irq, rpckbd_tx, 0, "rpckbd", port) != 0) { in rpckbd_open()
78 free_irq(rpckbd->rx_irq, port); in rpckbd_open()
87 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_close() local
89 free_irq(rpckbd->rx_irq, port); in rpckbd_close()
90 free_irq(rpckbd->tx_irq, port); in rpckbd_close()
99 struct rpckbd_data *rpckbd; in rpckbd_probe() local
112 rpckbd = kzalloc(sizeof(*rpckbd), GFP_KERNEL); in rpckbd_probe()
113 if (!serio || !rpckbd) { in rpckbd_probe()
114 kfree(rpckbd); in rpckbd_probe()
119 rpckbd->rx_irq = rx_irq; in rpckbd_probe()
120 rpckbd->tx_irq = tx_irq; in rpckbd_probe()
127 serio->port_data = rpckbd; in rpckbd_probe()
139 struct rpckbd_data *rpckbd = serio->port_data; in rpckbd_remove() local
142 kfree(rpckbd); in rpckbd_remove()