Searched refs:to_parport_dev (Results 1 – 2 of 2) sorted by relevance
229 drv->match_port(to_parport_dev(dev)); in port_check()317 drv->detach(to_parport_dev(dev)); in port_detach()351 struct parport *port = to_parport_dev(dev); in free_port()380 return to_parport_dev(dev); in parport_get_port()
254 #define to_parport_dev(n) container_of(n, struct parport, bus_dev) macro