Searched refs:cx_drv (Results 1 – 3 of 3) sorted by relevance
53 struct cx_drv *cx_drv = to_cx_driver(drv); in tiocx_match() local54 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() local117 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() local138 if (cx_drv->remove) in cx_driver_remove()139 cx_drv->remove(cx_dev); in cx_driver_remove()[all …]
26 struct cx_drv *driver;34 struct cx_drv { struct58 #define to_cx_driver(drv) container_of(drv, struct cx_drv, driver) argument64 extern int cx_driver_unregister(struct cx_drv *);65 extern int cx_driver_register(struct cx_drv *);
816 static struct cx_drv mbcs_driver = {