1/* 2 comedi/kcomedilib/ksyms.c 3 a comedlib interface for kernel modules 4 5 COMEDI - Linux Control and Measurement Device Interface 6 Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org> 7 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. 12 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. 17 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. 21 22*/ 23 24#include "../comedi.h" 25#include "../comedilib.h" 26#include "../comedidev.h" 27 28#include <linux/module.h> 29 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> 36#include <linux/mm.h> 37#include <linux/slab.h> 38 39/* functions specific to kcomedilib */ 40 41EXPORT_SYMBOL(comedi_register_callback); 42EXPORT_SYMBOL(comedi_get_krange); 43EXPORT_SYMBOL(comedi_get_buf_head_pos); 44EXPORT_SYMBOL(comedi_set_user_int_count); 45EXPORT_SYMBOL(comedi_map); 46EXPORT_SYMBOL(comedi_unmap); 47 48/* This list comes from user-space comedilib, to show which 49 * functions are not ported yet. */ 50 51EXPORT_SYMBOL(comedi_open); 52EXPORT_SYMBOL(comedi_close); 53 54/* logging */ 55EXPORT_SYMBOL(comedi_loglevel); 56EXPORT_SYMBOL(comedi_perror); 57EXPORT_SYMBOL(comedi_strerror); 58/* EXPORT_SYMBOL(comedi_errno); */ 59EXPORT_SYMBOL(comedi_fileno); 60 61/* device queries */ 62EXPORT_SYMBOL(comedi_get_n_subdevices); 63EXPORT_SYMBOL(comedi_get_version_code); 64EXPORT_SYMBOL(comedi_get_driver_name); 65EXPORT_SYMBOL(comedi_get_board_name); 66 67/* subdevice queries */ 68EXPORT_SYMBOL(comedi_get_subdevice_type); 69EXPORT_SYMBOL(comedi_find_subdevice_by_type); 70EXPORT_SYMBOL(comedi_get_subdevice_flags); 71EXPORT_SYMBOL(comedi_get_n_channels); 72/* 73* EXPORT_SYMBOL(comedi_range_is_chan_specific); 74* EXPORT_SYMBOL(comedi_maxdata_is_chan_specific); 75*/ 76 77/* channel queries */ 78EXPORT_SYMBOL(comedi_get_maxdata); 79#ifdef KCOMEDILIB_DEPRECATED 80EXPORT_SYMBOL(comedi_get_rangetype); 81#endif 82EXPORT_SYMBOL(comedi_get_n_ranges); 83/* EXPORT_SYMBOL(comedi_find_range); */ 84 85/* buffer queries */ 86EXPORT_SYMBOL(comedi_get_buffer_size); 87/* 88* EXPORT_SYMBOL(comedi_get_max_buffer_size); 89* EXPORT_SYMBOL(comedi_set_buffer_size); 90*/ 91EXPORT_SYMBOL(comedi_get_buffer_contents); 92EXPORT_SYMBOL(comedi_get_buffer_offset); 93 94/* low-level stuff */ 95/* 96* EXPORT_SYMBOL(comedi_trigger); EXPORT_SYMBOL(comedi_do_insnlist); 97*/ 98EXPORT_SYMBOL(comedi_do_insn); 99EXPORT_SYMBOL(comedi_lock); 100EXPORT_SYMBOL(comedi_unlock); 101 102/* physical units */ 103/* 104* EXPORT_SYMBOL(comedi_to_phys); EXPORT_SYMBOL(comedi_from_phys); 105*/ 106 107/* synchronous stuff */ 108EXPORT_SYMBOL(comedi_data_read); 109EXPORT_SYMBOL(comedi_data_read_hint); 110EXPORT_SYMBOL(comedi_data_read_delayed); 111EXPORT_SYMBOL(comedi_data_write); 112EXPORT_SYMBOL(comedi_dio_config); 113EXPORT_SYMBOL(comedi_dio_read); 114EXPORT_SYMBOL(comedi_dio_write); 115EXPORT_SYMBOL(comedi_dio_bitfield); 116 117/* slowly varying stuff */ 118/* 119* EXPORT_SYMBOL(comedi_sv_init); EXPORT_SYMBOL(comedi_sv_update); 120* EXPORT_SYMBOL(comedi_sv_measure); 121*/ 122 123/* commands */ 124/* 125* EXPORT_SYMBOL(comedi_get_cmd_src_mask); 126* EXPORT_SYMBOL(comedi_get_cmd_generic_timed); 127*/ 128EXPORT_SYMBOL(comedi_cancel); 129EXPORT_SYMBOL(comedi_command); 130EXPORT_SYMBOL(comedi_command_test); 131EXPORT_SYMBOL(comedi_poll); 132 133/* buffer configuration */ 134EXPORT_SYMBOL(comedi_mark_buffer_read); 135EXPORT_SYMBOL(comedi_mark_buffer_written); 136 137/* EXPORT_SYMBOL(comedi_get_range); */ 138EXPORT_SYMBOL(comedi_get_len_chanlist); 139 140/* deprecated */ 141/* 142* EXPORT_SYMBOL(comedi_get_timer); 143* EXPORT_SYMBOL(comedi_timed_1chan); 144*/ 145 146/* alpha */ 147/* EXPORT_SYMBOL(comedi_set_global_oor_behavior); */ 148