Debian Codegraph @

drivers/dahdi/wctdm24xxp/xhfc.h

raw symbols SCIP
1 /*
2 * B400M Quad-BRI module Driver
3 * Written by Andrew Kohlsmith <[email protected]>
4 *
5 * Copyright (C) 2010 Digium, Inc.
6 * All rights reserved.
7 *
8 */
9
10 /*
11 * See http://www.asterisk.org for more information about
12 * the Asterisk project. Please do not directly contact
13 * any of the maintainers of this project for assistance;
14 * the project provides a web site, mailing lists and IRC
15 * channels for your use.
16 *
17 * This program is free software, distributed under the terms of
18 * the GNU General Public License Version 2 as published by the
19 * Free Software Foundation. See the LICENSE file included with
20 * this program for more details.
21 */
22
23
24 #ifndef _B4XXM_H_
25 #define _B4XXM_H_
26
27 extern int bri_debug;
28 extern int bri_spanfilter;
29 extern int bri_teignorered;
30 extern int bri_alarmdebounce;
31 extern int bri_persistentlayer1;
32 extern int timingcable;
33
34 struct b400m;
35
36 /* probes the given card to see if it's a B400M */
37 int wctdm_init_b400m(struct wctdm *wc, int card);
38 void wctdm_bri_checkisr(struct wctdm *wc,
39 struct wctdm_module *const mod, int offset);
40 void wctdm_unload_b400m(struct wctdm *wc, int card);
41 void wctdm_hdlc_hard_xmit(struct dahdi_chan *chan);
42 int b400m_spanconfig(struct file *file, struct dahdi_span *span,
43 struct dahdi_lineconfig *lc);
44 int b400m_dchan(struct dahdi_span *span);
45 int b400m_chanconfig(struct file *file, struct dahdi_chan *chan, int sigtype);
46 void b400m_post_init(struct b400m *b4);
47 void b400m_set_dahdi_span(struct b400m *b4, int spanno,
48 struct wctdm_span *wspan);
49 void b400m_module_init(void);
50 void b400m_module_cleanup(void);
51
52 #endif /* _B4XX_H_ */