Root/drivers/staging/comedi/comedi_internal.h

1#ifndef _COMEDI_INTERNAL_H
2#define _COMEDI_INTERNAL_H
3
4#include <linux/types.h>
5
6/*
7 * various internal comedi stuff
8 */
9int do_rangeinfo_ioctl(struct comedi_device *dev,
10               struct comedi_rangeinfo __user *arg);
11int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s,
12           struct comedi_insn *insn, unsigned int *data);
13int comedi_alloc_board_minor(struct device *hardware_device);
14void comedi_free_board_minor(unsigned minor);
15int comedi_find_board_minor(struct device *hardware_device);
16void comedi_reset_async_buf(struct comedi_async *async);
17int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
18             unsigned long new_size);
19
20extern unsigned int comedi_default_buf_size_kb;
21extern unsigned int comedi_default_buf_maxsize_kb;
22extern bool comedi_autoconfig;
23extern struct comedi_driver *comedi_drivers;
24
25#endif /* _COMEDI_INTERNAL_H */
26

Archive Download this file



interactive