Searched refs:cx_dev (Results 1 – 4 of 4) sorted by relevance
52 struct cx_dev *cx_dev = to_cx_dev(dev); in tiocx_match() local60 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() 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()136 struct cx_dev *cx_dev = to_cx_dev(dev); in cx_driver_remove() local137 struct cx_drv *cx_drv = cx_dev->driver; in cx_driver_remove()[all …]
20 struct cx_dev { struct38 int (*probe) (struct cx_dev * dev, const struct cx_device_id * id); argument39 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 *);
62 struct cx_dev *cx_dev; member406 struct cx_dev *cx_dev = fp->private_data; in mbcs_sram_read() local407 struct mbcs_soft *soft = cx_dev->soft; in mbcs_sram_read()431 struct cx_dev *cx_dev = fp->private_data; in mbcs_sram_write() local432 struct mbcs_soft *soft = cx_dev->soft; in mbcs_sram_write()480 struct cx_dev *cx_dev = fp->private_data; in mbcs_gscr_mmap() local481 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 …]
519 struct cx_dev *cxdev;