Staging: comedi: remove comedi-specific wrappers
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / comedi / kcomedilib / ksyms.c
blob314765db51fe9c3e519972258ffbae83240a320d
1 /*
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 #ifndef EXPORT_SYMTAB
25 #define EXPORT_SYMTAB
26 #endif
28 #include "../comedi.h"
29 #include "../comedilib.h"
30 #include "../comedidev.h"
32 #include <linux/module.h>
34 #include <linux/errno.h>
35 #include <linux/kernel.h>
36 #include <linux/sched.h>
37 #include <linux/fcntl.h>
38 #include <linux/delay.h>
39 #include <linux/ioport.h>
40 #include <linux/mm.h>
41 #include <linux/slab.h>
43 /* functions specific to kcomedilib */
45 EXPORT_SYMBOL(comedi_register_callback);
46 EXPORT_SYMBOL(comedi_get_krange);
47 EXPORT_SYMBOL(comedi_get_buf_head_pos);
48 EXPORT_SYMBOL(comedi_set_user_int_count);
49 EXPORT_SYMBOL(comedi_map);
50 EXPORT_SYMBOL(comedi_unmap);
52 /* This list comes from user-space comedilib, to show which
53 * functions are not ported yet. */
55 EXPORT_SYMBOL(comedi_open);
56 EXPORT_SYMBOL(comedi_close);
58 /* logging */
59 EXPORT_SYMBOL(comedi_loglevel);
60 EXPORT_SYMBOL(comedi_perror);
61 EXPORT_SYMBOL(comedi_strerror);
62 /* EXPORT_SYMBOL(comedi_errno); */
63 EXPORT_SYMBOL(comedi_fileno);
65 /* device queries */
66 EXPORT_SYMBOL(comedi_get_n_subdevices);
67 EXPORT_SYMBOL(comedi_get_version_code);
68 EXPORT_SYMBOL(comedi_get_driver_name);
69 EXPORT_SYMBOL(comedi_get_board_name);
71 /* subdevice queries */
72 EXPORT_SYMBOL(comedi_get_subdevice_type);
73 EXPORT_SYMBOL(comedi_find_subdevice_by_type);
74 EXPORT_SYMBOL(comedi_get_subdevice_flags);
75 EXPORT_SYMBOL(comedi_get_n_channels);
77 * EXPORT_SYMBOL(comedi_range_is_chan_specific);
78 * EXPORT_SYMBOL(comedi_maxdata_is_chan_specific);
81 /* channel queries */
82 EXPORT_SYMBOL(comedi_get_maxdata);
83 #ifdef KCOMEDILIB_DEPRECATED
84 EXPORT_SYMBOL(comedi_get_rangetype);
85 #endif
86 EXPORT_SYMBOL(comedi_get_n_ranges);
87 /* EXPORT_SYMBOL(comedi_find_range); */
89 /* buffer queries */
90 EXPORT_SYMBOL(comedi_get_buffer_size);
92 * EXPORT_SYMBOL(comedi_get_max_buffer_size);
93 * EXPORT_SYMBOL(comedi_set_buffer_size);
95 EXPORT_SYMBOL(comedi_get_buffer_contents);
96 EXPORT_SYMBOL(comedi_get_buffer_offset);
98 /* low-level stuff */
100 * EXPORT_SYMBOL(comedi_trigger); EXPORT_SYMBOL(comedi_do_insnlist);
102 EXPORT_SYMBOL(comedi_do_insn);
103 EXPORT_SYMBOL(comedi_lock);
104 EXPORT_SYMBOL(comedi_unlock);
106 /* physical units */
108 * EXPORT_SYMBOL(comedi_to_phys); EXPORT_SYMBOL(comedi_from_phys);
111 /* synchronous stuff */
112 EXPORT_SYMBOL(comedi_data_read);
113 EXPORT_SYMBOL(comedi_data_read_hint);
114 EXPORT_SYMBOL(comedi_data_read_delayed);
115 EXPORT_SYMBOL(comedi_data_write);
116 EXPORT_SYMBOL(comedi_dio_config);
117 EXPORT_SYMBOL(comedi_dio_read);
118 EXPORT_SYMBOL(comedi_dio_write);
119 EXPORT_SYMBOL(comedi_dio_bitfield);
121 /* slowly varying stuff */
123 * EXPORT_SYMBOL(comedi_sv_init); EXPORT_SYMBOL(comedi_sv_update);
124 * EXPORT_SYMBOL(comedi_sv_measure);
127 /* commands */
129 * EXPORT_SYMBOL(comedi_get_cmd_src_mask);
130 * EXPORT_SYMBOL(comedi_get_cmd_generic_timed);
132 EXPORT_SYMBOL(comedi_cancel);
133 EXPORT_SYMBOL(comedi_command);
134 EXPORT_SYMBOL(comedi_command_test);
135 EXPORT_SYMBOL(comedi_poll);
137 /* buffer configuration */
138 EXPORT_SYMBOL(comedi_mark_buffer_read);
139 EXPORT_SYMBOL(comedi_mark_buffer_written);
141 /* EXPORT_SYMBOL(comedi_get_range); */
142 EXPORT_SYMBOL(comedi_get_len_chanlist);
144 /* deprecated */
146 * EXPORT_SYMBOL(comedi_get_timer);
147 * EXPORT_SYMBOL(comedi_timed_1chan);
150 /* alpha */
151 /* EXPORT_SYMBOL(comedi_set_global_oor_behavior); */