Debian Codegraph @

drivers/dahdi/xpp/card_fxo.h

raw symbols SCIP
1 #ifndef CARD_FXO_H
2 #define CARD_FXO_H
3 /*
4 * Written by Oron Peled <[email protected]>
5 * Copyright (C) 2004-2006, Xorcom
6 *
7 * All rights reserved.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 */
24
25 #include "xpd.h"
26
27 enum fxo_opcodes {
28 XPROTO_NAME(FXO, SIG_CHANGED) = 0x06, /**/
29 XPROTO_NAME(FXO, DAA_WRITE) = 0x0F, /* Write to DAA */
30 XPROTO_NAME(FXO, CHAN_CID) = 0x0F, /* Write to DAA */
31 XPROTO_NAME(FXO, LED) = 0x0F, /* Write to DAA */
32 };
33
34
35 DEF_RPACKET_DATA(FXO, SIG_CHANGED,
36 xpp_line_t sig_status; /* channels: lsb=1, msb=8 */
37 xpp_line_t sig_toggles; /* channels: lsb=1, msb=8 */
38 );
39
40 #endif /* CARD_FXO_H */