2012-06-19 11:17:45 +02:00
|
|
|
#ifndef _COMEDI_INTERNAL_H
|
|
|
|
#define _COMEDI_INTERNAL_H
|
|
|
|
|
2012-06-19 11:17:46 +02:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2010-05-04 00:38:37 +02:00
|
|
|
/*
|
2012-04-13 15:12:53 +02:00
|
|
|
* various internal comedi stuff
|
2010-05-04 00:38:37 +02:00
|
|
|
*/
|
2010-05-04 00:50:09 +02:00
|
|
|
int do_rangeinfo_ioctl(struct comedi_device *dev,
|
|
|
|
struct comedi_rangeinfo __user *arg);
|
2010-05-04 00:38:37 +02:00
|
|
|
int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s,
|
|
|
|
struct comedi_insn *insn, unsigned int *data);
|
2010-05-04 00:20:29 +02:00
|
|
|
int comedi_alloc_board_minor(struct device *hardware_device);
|
2010-05-04 00:24:14 +02:00
|
|
|
void comedi_free_board_minor(unsigned minor);
|
2012-03-30 18:14:58 +02:00
|
|
|
int comedi_find_board_minor(struct device *hardware_device);
|
2013-01-09 21:27:07 +01:00
|
|
|
|
2010-05-04 00:55:45 +02:00
|
|
|
int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
|
|
|
|
unsigned long new_size);
|
2013-01-09 21:27:07 +01:00
|
|
|
void comedi_buf_reset(struct comedi_async *async);
|
2012-04-13 15:12:53 +02:00
|
|
|
|
|
|
|
extern unsigned int comedi_default_buf_size_kb;
|
|
|
|
extern unsigned int comedi_default_buf_maxsize_kb;
|
2012-06-19 11:17:46 +02:00
|
|
|
extern bool comedi_autoconfig;
|
|
|
|
extern struct comedi_driver *comedi_drivers;
|
2012-06-19 11:17:45 +02:00
|
|
|
|
|
|
|
#endif /* _COMEDI_INTERNAL_H */
|