Lines Matching refs:parport
60 struct parport *parport; member
189 parport_enable_irq(w->parport); in walkera0701_open()
197 parport_disable_irq(w->parport); in walkera0701_close()
203 static int walkera0701_connect(struct walkera_dev *w, int parport) in walkera0701_connect() argument
207 w->parport = parport_find_number(parport); in walkera0701_connect()
208 if (!w->parport) { in walkera0701_connect()
209 pr_err("parport %d does not exist\n", parport); in walkera0701_connect()
213 if (w->parport->irq == -1) { in walkera0701_connect()
215 parport); in walkera0701_connect()
220 w->pardevice = parport_register_device(w->parport, "walkera0701", in walkera0701_connect()
247 w->input_dev->phys = w->parport->name; in walkera0701_connect()
254 w->input_dev->dev.parent = w->parport->dev; in walkera0701_connect()
281 parport_put_port(w->parport); in walkera0701_connect()
289 parport_put_port(w->parport); in walkera0701_disconnect()