Debian Codegraph @

drivers/dahdi/voicebus/GpakHpi.h

raw symbols SCIP
1 /*
2 * Copyright (c) 2001, Adaptive Digital Technologies, Inc.
3 *
4 * File Name: GpakHpi.h
5 *
6 * Description:
7 * This file contains common definitions related to the G.PAK interface
8 * between a host processor and a DSP processor via the Host Port Interface.
9 *
10 * Version: 1.0
11 *
12 * Revision History:
13 * 10/17/01 - Initial release.
14 *
15 * This program has been released under the terms of the GPL version 2 by
16 * permission of Adaptive Digital Technologies, Inc.
17 *
18 */
19
20 /*
21 * See http://www.asterisk.org for more information about
22 * the Asterisk project. Please do not directly contact
23 * any of the maintainers of this project for assistance;
24 * the project provides a web site, mailing lists and IRC
25 * channels for your use.
26 *
27 * This program is free software, distributed under the terms of
28 * the GNU General Public License Version 2 as published by the
29 * Free Software Foundation. See the LICENSE file included with
30 * this program for more details.
31 */
32
33 #ifndef _GPAKHPI_H /* prevent multiple inclusion */
34 #define _GPAKHPI_H
35
36
37 /* Definition of G.PAK Command/Reply message type codes. */
38 #define MSG_NULL_REPLY 0 /* Null Reply (unsupported Command) */
39 #define MSG_SYS_CONFIG_RQST 1 /* System Configuration Request */
40 #define MSG_SYS_CONFIG_REPLY 2 /* System Configuration Reply */
41 #define MSG_READ_SYS_PARMS 3 /* Read System Parameters */
42 #define MSG_READ_SYS_PARMS_REPLY 4 /* Read System Parameters Reply */
43 #define MSG_WRITE_SYS_PARMS 5 /* Write System Parameters */
44 #define MSG_WRITE_SYS_PARMS_REPLY 6 /* Write System Parameters Reply */
45 #define MSG_CONFIGURE_PORTS 7 /* Configure Serial Ports */
46 #define MSG_CONFIG_PORTS_REPLY 8 /* Configure Serial Ports Reply */
47 #define MSG_CONFIGURE_CHANNEL 9 /* Configure Channel */
48 #define MSG_CONFIG_CHAN_REPLY 10 /* Configure Channel Reply */
49 #define MSG_TEAR_DOWN_CHANNEL 11 /* Tear Down Channel */
50 #define MSG_TEAR_DOWN_REPLY 12 /* Tear Down Channel Reply */
51 #define MSG_CHAN_STATUS_RQST 13 /* Channel Status Request */
52 #define MSG_CHAN_STATUS_REPLY 14 /* Channel Status Reply */
53
54 #define MSG_TEST_MODE 17 /* Configure/Perform Test Mode */
55 #define MSG_TEST_REPLY 18 /* Configure/Perform Test Mode Reply */
56
57 #define MSG_ALG_CONTROL 27 /* algorithm control */
58 #define MSG_ALG_CONTROL_REPLY 28 /* algorithm control reply */
59 #define MSG_GET_TXCID_ADDRESS 29 /* get tx cid buffer start address */
60 #define MSG_GET_TXCID_ADDRESS_REPLY 30 /* get tx cid buffer start addr reply */
61
62 #define MSG_PING 35 /* ping command */
63 #define MSG_PING_REPLY 36 /* ping command reply */
64 #define MSG_SERIAL_TXVAL 37 /* transmit serial fixed value */
65 #define MSG_SERIAL_TXVAL_REPLY 38 /* transmit serial fixed value reply */
66 #define MSG_TDM_LOOPBACK 39 /* tdm loopback control */
67 #define MSG_TDM_LOOPBACK_REPLY 40 /* tdm loopback control reply */
68 #define MSG_RESET_USAGE_STATS 41 /* reset cpu usage stats */
69 #define MSG_RESET_USAGE_STATS_REPLY 42 /* reset cpu usage stats reply */
70
71 #define MSG_RESET_FRAME_STATS 47 /* reset framing stats */
72 #define MSG_RESET_FRAME_STATS_REPLY 48 /* reset framing stats reply */
73
74 #define MSG_READ_DSP_MEMORY 49 /* read small section of DSP's memory */
75 #define MSG_READ_DSP_MEMORY_REPLY 50 /* read memory reply */
76
77 #define MSG_ACCESSGPIO 51
78 #define MSG_ACCESSGPIO_REPLY 52
79 #endif /* prevent multiple inclusion */