Lines Matching refs:parport

57 static void dead_write_lines(struct parport *p, unsigned char b){}  in dead_write_lines()
58 static unsigned char dead_read_lines(struct parport *p) { return 0; } in dead_read_lines()
59 static unsigned char dead_frob_lines(struct parport *p, unsigned char b, in dead_frob_lines()
61 static void dead_onearg(struct parport *p){} in dead_onearg()
63 static void dead_state(struct parport *p, struct parport_state *s) { } in dead_state()
64 static size_t dead_write(struct parport *p, const void *b, size_t l, int f) in dead_write()
66 static size_t dead_read(struct parport *p, void *b, size_t l, int f) in dead_read()
156 struct parport *port = _port; in driver_check()
165 static void attach_driver_chain(struct parport *port) in attach_driver_chain()
183 struct parport *port = _port; in driver_detach()
192 static void detach_driver_chain(struct parport *port) in detach_driver_chain()
351 struct parport *port = to_parport_dev(dev); in free_port()
376 struct parport *parport_get_port(struct parport *port) in parport_get_port()
384 void parport_del_port(struct parport *port) in parport_del_port()
399 void parport_put_port(struct parport *port) in parport_put_port()
434 struct parport *parport_register_port(unsigned long base, int irq, int dma, in parport_register_port()
438 struct parport *tmp; in parport_register_port()
444 tmp = kzalloc(sizeof(struct parport), GFP_KERNEL); in parport_register_port()
479 struct parport *p = list_entry(l, struct parport, full_list); in parport_register_port()
525 void parport_announce_port(struct parport *port) in parport_announce_port()
543 struct parport *slave = port->slaves[i-1]; in parport_announce_port()
552 struct parport *slave = port->slaves[i-1]; in parport_announce_port()
579 void parport_remove_port(struct parport *port) in parport_remove_port()
592 struct parport *slave = port->slaves[i-1]; in parport_remove_port()
604 struct parport *slave = port->slaves[i-1]; in parport_remove_port()
615 struct parport *slave = port->slaves[i-1]; in parport_remove_port()
693 parport_register_dev_model(struct parport *port, const char *name, in parport_register_dev_model()
842 struct parport *port; in parport_unregister_device()
915 struct parport *parport_find_number(int number) in parport_find_number()
917 struct parport *port, *result = NULL; in parport_find_number()
946 struct parport *parport_find_base(unsigned long base) in parport_find_base()
948 struct parport *port, *result = NULL; in parport_find_base()
980 struct parport *port = dev->port->physport; in parport_claim()
1158 struct parport *port = dev->port->physport; in parport_release()
1226 struct parport *port = dev_id; in parport_irq_handler()