-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdsl_hal_internal_api.h
133 lines (123 loc) · 4.75 KB
/
dsl_hal_internal_api.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#ifndef __DSL_INTERNALFUNCTION_DEFINES_H__
#define __DSL_INTERNALFUNCTION_DEFINES_H__ 1
/*******************************************************************************
* FILE PURPOSE: DSL HAL Internal Only API functions for Sangam
*
********************************************************************************
* FILE NAME: dsl_hal_internal_api.h
*
* DESCRIPTION:
* Contains API function definitions for Internal use only.
* by
* Ramakrishnan Parasuraman
*
* (C) Copyright 2003, Texas Instruments, Inc.
* History
* Date Version Notes
* 06Feb03 0.00 Intial Revision Written
* 12Dec03 0.01 Added internal interface location seeker
*******************************************************************************/
/******************************************************************************************
* FUNCTION NAME: dslhal_internalDiags_anlg_allDiagnosticTests(tidsl_t *ptidsl)
*
*******************************************************************************************
* DESCRIPTION: This fuction Sets the PGA and AEQ parameters
*
* INPUT: PITIDSLHW_T *ptidsl
* unsigned int flag; //if flag = TRUE set rateadapt flag else reset it
* RETURN: 0 SUCCESS
* 1 FAILED
*
*****************************************************************************************/
void dslhal_internalDiags_anlg_allDiagnosticTests
(int diagMode,
int agcFlag,
short pga1,
short pga2,
short pga3,
short aeq
);
/******************************************************************************************
* FUNCTION NAME: dslhal_internalDiags_anlg_setDiagMode(tidsl_t *ptidsl)
*
*******************************************************************************************
* DESCRIPTION: This fuction Sets the PGA and AEQ parameters
*
* INPUT: PITIDSLHW_T *ptidsl
* unsigned int flag; //if flag = TRUE set rateadapt flag else reset it
* RETURN: 0 SUCCESS
* 1 FAILED
*
*****************************************************************************************/
unsigned int dslhal_internalDiags_anlg_setDiagMode
(tidsl_t *ptidsl,
int diagMode
);
/******************************************************************************************
* FUNCTION NAME: dslhal_internalDiags_anlg_getDiagnosticTestResults(tidsl_t *ptidsl)
*
*******************************************************************************************
* DESCRIPTION: This fuction Sets the PGA and AEQ parameters
*
* INPUT: PITIDSLHW_T *ptidsl
* unsigned int flag; //if flag = TRUE set rateadapt flag else reset it
* RETURN: 0 SUCCESS
* 1 FAILED
*
*****************************************************************************************/
unsigned int dslhal_internalDiags_anlg_getDiagnosticTestResults
(tidsl_t *ptidsl
);
/******************************************************************************************
* FUNCTION NAME: dslhal_diags_setPgaParams(tidsl_t *ptidsl,int agcFlag,short pga1, short pga2, short pga3, short aeq)
*
*******************************************************************************************
* DESCRIPTION: This fuction Sets the PGA and AEQ parameters
*
* INPUT: PITIDSLHW_T *ptidsl
* unsigned int flag; //if flag = TRUE set rateadapt flag else reset it
* RETURN: 0 SUCCESS
* 1 FAILED
*
*****************************************************************************************/
unsigned int dslhal_internalcfg_setPgaParams
(tidsl_t *ptidsl,
short pga1,
short pga2,
short pga3,
short aeq
);
/******************************************************************************************
* FUNCTION NAME: dslhal_internalcfg_getCrossTalkParams(tidsl_t *ptidsl)
*
*******************************************************************************************
* DESCRIPTION: This fuction gets the Crosstalk parameters into app interface
*
* INPUT: PITIDSLHW_T *ptidsl
*
* RETURN: 0 SUCCESS
* 1 FAILED
*
*****************************************************************************************/
unsigned int dslhal_internalcfg_getCrossTalkParams
(
tidsl_t *ptidsl
);
/******************************************************************************************
* FUNCTION NAME: dslhal_internalcfg_getPhyParams(tidsl_t *ptidsl)
*
*******************************************************************************************
* DESCRIPTION: This fuction gets the Advanced Phy params into app interface
*
* INPUT: PITIDSLHW_T *ptidsl
*
* RETURN: 0 SUCCESS
* 1 FAILED
*
*****************************************************************************************/
unsigned int dslhal_internalcfg_getPhyParams
(
tidsl_t *ptidsl
);
unsigned int* dslhal_internalcfg_getInternalInterfaceLocation(void);
#endif /* Pairs #ifndef __DSL_INTERNALFUNCTION_DEFINES_H__ */