Home
last modified time | relevance | path

Searched refs:cx_drv (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/arch/ia64/sn/kernel/
Dtiocx.c53 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()
[all …]
/linux-4.1.27/arch/ia64/include/asm/sn/
Dtiocx.h26 struct cx_drv *driver;
34 struct cx_drv { struct
58 #define to_cx_driver(drv) container_of(drv, struct cx_drv, driver) argument
64 extern int cx_driver_unregister(struct cx_drv *);
65 extern int cx_driver_register(struct cx_drv *);
/linux-4.1.27/drivers/char/
Dmbcs.c816 static struct cx_drv mbcs_driver = {