Home
last modified time | relevance | path

Searched refs:cx_dev (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/arch/ia64/sn/kernel/
Dtiocx.c52 struct cx_dev *cx_dev = to_cx_dev(dev); in tiocx_match() local
60 if (ids->part_num == cx_dev->cx_id.part_num) in tiocx_match()
86 struct cx_dev *cx_device) in cx_device_match()
114 struct cx_dev *cx_dev = to_cx_dev(dev); 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()
136 struct cx_dev *cx_dev = to_cx_dev(dev); in cx_driver_remove() local
137 struct cx_drv *cx_drv = cx_dev->driver; in cx_driver_remove()
[all …]
/linux-4.1.27/arch/ia64/include/asm/sn/
Dtiocx.h20 struct cx_dev { struct
38 int (*probe) (struct cx_dev * dev, const struct cx_device_id * id); argument
39 int (*remove) (struct cx_dev * dev);
57 #define to_cx_dev(n) container_of(n, struct cx_dev, dev)
62 extern int cx_device_unregister(struct cx_dev *);
/linux-4.1.27/drivers/char/
Dmbcs.c61 struct cx_dev *cx_dev; member
405 struct cx_dev *cx_dev = fp->private_data; in mbcs_sram_read() local
406 struct mbcs_soft *soft = cx_dev->soft; in mbcs_sram_read()
430 struct cx_dev *cx_dev = fp->private_data; in mbcs_sram_write() local
431 struct mbcs_soft *soft = cx_dev->soft; in mbcs_sram_write()
502 struct cx_dev *cx_dev = fp->private_data; in mbcs_gscr_mmap() local
503 struct mbcs_soft *soft = cx_dev->soft; in mbcs_gscr_mmap()
577 static int mbcs_intr_alloc(struct cx_dev *dev) in mbcs_intr_alloc()
655 static void mbcs_intr_dealloc(struct cx_dev *dev) in mbcs_intr_dealloc()
709 struct cx_dev *cx_dev = to_cx_dev(dev); in show_algo() local
[all …]
Dmbcs.h519 struct cx_dev *cxdev;