Lines Matching refs:comedi_device

61 	struct comedi_device *dev;
92 static struct comedi_device
102 static void comedi_device_init(struct comedi_device *dev) in comedi_device_init()
113 struct comedi_device *dev = in comedi_dev_kref_release()
114 container_of(kref, struct comedi_device, refcount); in comedi_dev_kref_release()
133 int comedi_dev_put(struct comedi_device *dev) in comedi_dev_put()
141 static struct comedi_device *comedi_dev_get(struct comedi_device *dev) in comedi_dev_get()
148 static void comedi_device_cleanup(struct comedi_device *dev) in comedi_device_cleanup()
163 static bool comedi_clear_board_dev(struct comedi_device *dev) in comedi_clear_board_dev()
178 static struct comedi_device *comedi_clear_board_minor(unsigned int minor) in comedi_clear_board_minor()
180 struct comedi_device *dev; in comedi_clear_board_minor()
190 comedi_subdevice_from_minor(const struct comedi_device *dev, unsigned int minor) in comedi_subdevice_from_minor()
203 static struct comedi_device *comedi_dev_get_from_board_minor(unsigned int minor) in comedi_dev_get_from_board_minor()
205 struct comedi_device *dev; in comedi_dev_get_from_board_minor()
213 static struct comedi_device *
216 struct comedi_device *dev; in comedi_dev_get_from_subdevice_minor()
239 struct comedi_device *comedi_dev_get_from_minor(unsigned int minor) in comedi_dev_get_from_minor()
249 comedi_read_subdevice(const struct comedi_device *dev, unsigned int minor) in comedi_read_subdevice()
263 comedi_write_subdevice(const struct comedi_device *dev, unsigned int minor) in comedi_write_subdevice()
279 struct comedi_device *dev = cfp->dev; in comedi_file_reset()
301 struct comedi_device *dev = cfp->dev; in comedi_file_check()
324 static int resize_async_buffer(struct comedi_device *dev, in resize_async_buffer()
371 struct comedi_device *dev; in max_read_buffer_kb_show()
394 struct comedi_device *dev; in max_read_buffer_kb_store()
427 struct comedi_device *dev; in read_buffer_kb_show()
450 struct comedi_device *dev; in read_buffer_kb_store()
484 struct comedi_device *dev; in max_write_buffer_kb_show()
507 struct comedi_device *dev; in max_write_buffer_kb_store()
540 struct comedi_device *dev; in write_buffer_kb_show()
563 struct comedi_device *dev; in write_buffer_kb_store()
606 static void comedi_free_board_dev(struct comedi_device *dev) in comedi_free_board_dev()
735 static void do_become_nonbusy(struct comedi_device *dev, in do_become_nonbusy()
756 static int do_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in do_cancel()
769 void comedi_device_cancel_all(struct comedi_device *dev) in comedi_device_cancel_all()
785 static int is_device_busy(struct comedi_device *dev) in is_device_busy()
818 static int do_devconfig_ioctl(struct comedi_device *dev, in do_devconfig_ioctl()
871 static int do_bufconfig_ioctl(struct comedi_device *dev, in do_bufconfig_ioctl()
933 static int do_devinfo_ioctl(struct comedi_device *dev, in do_devinfo_ioctl()
980 static int do_subdinfo_ioctl(struct comedi_device *dev, in do_subdinfo_ioctl()
1055 static int do_chaninfo_ioctl(struct comedi_device *dev, in do_chaninfo_ioctl()
1108 static int do_bufinfo_ioctl(struct comedi_device *dev, in do_bufinfo_ioctl()
1302 static int get_valid_routes(struct comedi_device *dev, unsigned int *data) in get_valid_routes()
1309 static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn, in parse_insn()
1527 static int do_insnlist_ioctl(struct comedi_device *dev, in do_insnlist_ioctl()
1606 static int do_insn_ioctl(struct comedi_device *dev, in do_insn_ioctl()
1656 static int __comedi_get_user_cmd(struct comedi_device *dev, in __comedi_get_user_cmd()
1707 static int __comedi_get_user_chanlist(struct comedi_device *dev, in __comedi_get_user_chanlist()
1748 static int do_cmd_ioctl(struct comedi_device *dev, in do_cmd_ioctl()
1853 static int do_cmdtest_ioctl(struct comedi_device *dev, in do_cmdtest_ioctl()
1904 static int do_lock_ioctl(struct comedi_device *dev, unsigned long arg, in do_lock_ioctl()
1939 static int do_unlock_ioctl(struct comedi_device *dev, unsigned long arg, in do_unlock_ioctl()
1974 static int do_cancel_ioctl(struct comedi_device *dev, unsigned long arg, in do_cancel_ioctl()
2008 static int do_poll_ioctl(struct comedi_device *dev, unsigned long arg, in do_poll_ioctl()
2043 static int do_setrsubd_ioctl(struct comedi_device *dev, unsigned long arg, in do_setrsubd_ioctl()
2086 static int do_setwsubd_ioctl(struct comedi_device *dev, unsigned long arg, in do_setwsubd_ioctl()
2121 struct comedi_device *dev = cfp->dev; in comedi_unlocked_ioctl()
2324 struct comedi_device *dev = cfp->dev; in comedi_mmap()
2429 struct comedi_device *dev = cfp->dev; in comedi_poll()
2476 struct comedi_device *dev = cfp->dev; in comedi_write()
2612 struct comedi_device *dev = cfp->dev; in comedi_read()
2743 struct comedi_device *dev = comedi_dev_get_from_minor(minor); in comedi_open()
2796 struct comedi_device *dev = cfp->dev; in comedi_fasync()
2804 struct comedi_device *dev = cfp->dev; in comedi_close()
2902 struct comedi_device *dev = cfp->dev; in compat_chaninfo()
2926 struct comedi_device *dev = cfp->dev; in compat_rangeinfo()
3004 struct comedi_device *dev = cfp->dev; in compat_cmd()
3029 struct comedi_device *dev = cfp->dev; in compat_cmdtest()
3071 struct comedi_device *dev = cfp->dev; in compat_insnlist()
3106 struct comedi_device *dev = cfp->dev; in compat_insn()
3201 void comedi_event(struct comedi_device *dev, struct comedi_subdevice *s) in comedi_event()
3240 struct comedi_device *comedi_alloc_board_minor(struct device *hardware_device) in comedi_alloc_board_minor()
3242 struct comedi_device *dev; in comedi_alloc_board_minor()
3282 struct comedi_device *dev; in comedi_release_hardware_device()
3300 struct comedi_device *dev = s->device; in comedi_alloc_subdevice_minor()
3351 struct comedi_device *dev; in comedi_cleanup_board_minors()
3398 struct comedi_device *dev; in comedi_init()