Lines Matching refs:cx_drv
53 struct cx_drv *cx_drv = to_cx_driver(drv); in tiocx_match() local
54 const struct cx_device_id *ids = cx_drv->id_table; in tiocx_match()
113 struct cx_drv *cx_drv = to_cx_driver(dev->driver); in cx_device_probe() local
117 if (!cx_dev->driver && cx_drv->probe) { in cx_device_probe()
118 id = cx_device_match(cx_drv->id_table, cx_dev); in cx_device_probe()
120 if ((error = cx_drv->probe(cx_dev, id)) < 0) in cx_device_probe()
123 cx_dev->driver = cx_drv; in cx_device_probe()
137 struct cx_drv *cx_drv = cx_dev->driver; in cx_driver_remove() local
138 if (cx_drv->remove) in cx_driver_remove()
139 cx_drv->remove(cx_dev); in cx_driver_remove()
161 int cx_driver_register(struct cx_drv *cx_driver) in cx_driver_register()
173 int cx_driver_unregister(struct cx_drv *cx_driver) in cx_driver_unregister()