Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/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-v4.19/drivers/char/
Dmbcs.c62 struct cx_dev *cx_dev; member
406 struct cx_dev *cx_dev = fp->private_data; in mbcs_sram_read() local
407 struct mbcs_soft *soft = cx_dev->soft; in mbcs_sram_read()
431 struct cx_dev *cx_dev = fp->private_data; in mbcs_sram_write() local
432 struct mbcs_soft *soft = cx_dev->soft; in mbcs_sram_write()
480 struct cx_dev *cx_dev = fp->private_data; in mbcs_gscr_mmap() local
481 struct mbcs_soft *soft = cx_dev->soft; in mbcs_gscr_mmap()
555 static int mbcs_intr_alloc(struct cx_dev *dev) in mbcs_intr_alloc()
633 static void mbcs_intr_dealloc(struct cx_dev *dev) in mbcs_intr_dealloc()
687 struct cx_dev *cx_dev = to_cx_dev(dev); in show_algo() local
[all …]
Dmbcs.h519 struct cx_dev *cxdev;