2 comedi/kcomedilib/ksyms.c
3 a comedlib interface for kernel modules
5 COMEDI - Linux Control and Measurement Device Interface
6 Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org>
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #include "../comedi.h"
25 #include "../comedilib.h"
26 #include "../comedidev.h"
28 #include <linux/module.h>
30 #include <linux/errno.h>
31 #include <linux/kernel.h>
32 #include <linux/sched.h>
33 #include <linux/fcntl.h>
34 #include <linux/delay.h>
35 #include <linux/ioport.h>
37 #include <linux/slab.h>
39 /* functions specific to kcomedilib */
41 EXPORT_SYMBOL(comedi_register_callback
);
42 EXPORT_SYMBOL(comedi_get_krange
);
43 EXPORT_SYMBOL(comedi_get_buf_head_pos
);
44 EXPORT_SYMBOL(comedi_set_user_int_count
);
45 EXPORT_SYMBOL(comedi_map
);
46 EXPORT_SYMBOL(comedi_unmap
);
48 /* This list comes from user-space comedilib, to show which
49 * functions are not ported yet. */
51 EXPORT_SYMBOL(comedi_open
);
52 EXPORT_SYMBOL(comedi_close
);
55 EXPORT_SYMBOL(comedi_loglevel
);
56 EXPORT_SYMBOL(comedi_perror
);
57 EXPORT_SYMBOL(comedi_strerror
);
58 /* EXPORT_SYMBOL(comedi_errno); */
59 EXPORT_SYMBOL(comedi_fileno
);
62 EXPORT_SYMBOL(comedi_get_n_subdevices
);
63 EXPORT_SYMBOL(comedi_get_version_code
);
64 EXPORT_SYMBOL(comedi_get_driver_name
);
65 EXPORT_SYMBOL(comedi_get_board_name
);
67 /* subdevice queries */
68 EXPORT_SYMBOL(comedi_get_subdevice_type
);
69 EXPORT_SYMBOL(comedi_find_subdevice_by_type
);
70 EXPORT_SYMBOL(comedi_get_subdevice_flags
);
71 EXPORT_SYMBOL(comedi_get_n_channels
);
73 * EXPORT_SYMBOL(comedi_range_is_chan_specific);
74 * EXPORT_SYMBOL(comedi_maxdata_is_chan_specific);
78 EXPORT_SYMBOL(comedi_get_maxdata
);
79 #ifdef KCOMEDILIB_DEPRECATED
80 EXPORT_SYMBOL(comedi_get_rangetype
);
82 EXPORT_SYMBOL(comedi_get_n_ranges
);
83 /* EXPORT_SYMBOL(comedi_find_range); */
86 EXPORT_SYMBOL(comedi_get_buffer_size
);
88 * EXPORT_SYMBOL(comedi_get_max_buffer_size);
89 * EXPORT_SYMBOL(comedi_set_buffer_size);
91 EXPORT_SYMBOL(comedi_get_buffer_contents
);
92 EXPORT_SYMBOL(comedi_get_buffer_offset
);
96 * EXPORT_SYMBOL(comedi_trigger); EXPORT_SYMBOL(comedi_do_insnlist);
98 EXPORT_SYMBOL(comedi_do_insn
);
99 EXPORT_SYMBOL(comedi_lock
);
100 EXPORT_SYMBOL(comedi_unlock
);
104 * EXPORT_SYMBOL(comedi_to_phys); EXPORT_SYMBOL(comedi_from_phys);
107 /* synchronous stuff */
108 EXPORT_SYMBOL(comedi_data_read
);
109 EXPORT_SYMBOL(comedi_data_read_hint
);
110 EXPORT_SYMBOL(comedi_data_read_delayed
);
111 EXPORT_SYMBOL(comedi_data_write
);
112 EXPORT_SYMBOL(comedi_dio_config
);
113 EXPORT_SYMBOL(comedi_dio_read
);
114 EXPORT_SYMBOL(comedi_dio_write
);
115 EXPORT_SYMBOL(comedi_dio_bitfield
);
117 /* slowly varying stuff */
119 * EXPORT_SYMBOL(comedi_sv_init); EXPORT_SYMBOL(comedi_sv_update);
120 * EXPORT_SYMBOL(comedi_sv_measure);
125 * EXPORT_SYMBOL(comedi_get_cmd_src_mask);
126 * EXPORT_SYMBOL(comedi_get_cmd_generic_timed);
128 EXPORT_SYMBOL(comedi_cancel
);
129 EXPORT_SYMBOL(comedi_command
);
130 EXPORT_SYMBOL(comedi_command_test
);
131 EXPORT_SYMBOL(comedi_poll
);
133 /* buffer configuration */
134 EXPORT_SYMBOL(comedi_mark_buffer_read
);
135 EXPORT_SYMBOL(comedi_mark_buffer_written
);
137 /* EXPORT_SYMBOL(comedi_get_range); */
138 EXPORT_SYMBOL(comedi_get_len_chanlist
);
142 * EXPORT_SYMBOL(comedi_get_timer);
143 * EXPORT_SYMBOL(comedi_timed_1chan);
147 /* EXPORT_SYMBOL(comedi_set_global_oor_behavior); */