~ubuntu-branches/ubuntu/saucy/dahdi-tools/saucy-proposed

« back to all changes in this revision

Viewing changes to xpp/oct612x/octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2013-08-25 12:48:37 UTC
  • mfrom: (2.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20130825124837-wtefi7f9dsihg8is
Tags: 1:2.7.0-1ubuntu1
* Merge from debian. Remaining changes:
  - debian/control: Added gawk as dependency for dkms build
  - debian/control: Package dahdi Depends on dahdi-dkms | dahdi-source
  - debian/control: Set ubuntu maintainer    
  - added debian/dahdi.postinst
  - debian/control: Removed Uploaders field.
  - added debian/dahdi.postinst
  - added --error-handler=init_failed to debian/rules
  

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
 
2
 
 
3
File:  oct6100_phasing_tsst_priv.h
 
4
 
 
5
    Copyright (c) 2001-2007 Octasic Inc.
 
6
    
 
7
Description: 
 
8
 
 
9
        File containing all private defines, macros, structures and prototypes 
 
10
        pertaining to the file oct6100_phasing_tsst.c.  All elements defined in this 
 
11
        file are for private usage of the API.  All public elements are defined 
 
12
        in the oct6100_phasing_tsst_pub.h file.
 
13
 
 
14
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API  is 
 
15
free software; you can redistribute it and/or modify it under the terms of 
 
16
the GNU General Public License as published by the Free Software Foundation; 
 
17
either version 2 of the License, or (at your option) any later version.
 
18
 
 
19
The OCT6100 GPL API is distributed in the hope that it will be useful, but 
 
20
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 
21
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 
22
for more details. 
 
23
 
 
24
You should have received a copy of the GNU General Public License 
 
25
along with the OCT6100 GPL API; if not, write to the Free Software 
 
26
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 
27
 
 
28
$Octasic_Release: OCT612xAPI-01.00-PR49 $
 
29
 
 
30
$Octasic_Revision: 12 $
 
31
 
 
32
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
 
33
 
 
34
#ifndef __OCT6100_PHASING_TSST_PRIV_H__
 
35
#define __OCT6100_PHASING_TSST_PRIV_H__
 
36
 
 
37
/*****************************  INCLUDE FILES  *******************************/
 
38
 
 
39
/*****************************  DEFINES  *************************************/
 
40
 
 
41
#define mOCT6100_GET_PHASING_TSST_LIST_PNT( pSharedInfo, pList ) \
 
42
                        pList = ( tPOCT6100_API_PHASING_TSST )(( PUINT8 )pSharedInfo + pSharedInfo->ulPhasingTsstListOfst);
 
43
 
 
44
#define mOCT6100_GET_PHASING_TSST_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \
 
45
                        pEntry = (( tPOCT6100_API_PHASING_TSST )(( PUINT8 )pSharedInfo + pSharedInfo->ulPhasingTsstListOfst)) + ulIndex;
 
46
 
 
47
#define mOCT6100_GET_PHASING_TSST_ALLOC_PNT( pSharedInfo, pAlloc ) \
 
48
                        pAlloc = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->ulPhasingTsstAllocOfst);
 
49
 
 
50
/*****************************  TYPES  ***************************************/
 
51
 
 
52
 
 
53
/************************** FUNCTION PROTOTYPES  *****************************/
 
54
 
 
55
UINT32 Oct6100ApiGetPhasingTsstSwSizes(
 
56
                                IN              tPOCT6100_CHIP_OPEN                             f_pOpenChip,
 
57
                                OUT             tPOCT6100_API_INSTANCE_SIZES    f_pInstSizes );
 
58
 
 
59
UINT32 Oct6100ApiPhasingTsstSwInit(
 
60
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance );
 
61
 
 
62
UINT32 Oct6100PhasingTsstOpenSer(
 
63
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
64
                                IN OUT  tPOCT6100_PHASING_TSST_OPEN             f_pPhasingTsstOpen );
 
65
 
 
66
UINT32 Oct6100ApiCheckPhasingParams(
 
67
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
68
                                IN              tPOCT6100_PHASING_TSST_OPEN             f_pPhasingTsstOpen );
 
69
 
 
70
UINT32 Oct6100ApiReservePhasingResources(
 
71
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
72
                                IN              tPOCT6100_PHASING_TSST_OPEN             f_pPhasingTsstOpen,
 
73
                                OUT             PUINT16                                                 f_pusPhasingIndex,
 
74
                                OUT             PUINT16                                                 f_pusTsstIndex );
 
75
 
 
76
UINT32 Oct6100ApiWritePhasingStructs(
 
77
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
78
                                IN              tPOCT6100_PHASING_TSST_OPEN             f_pPhasingTsstOpen,
 
79
                                IN              UINT16                                                  f_usPhasingIndex,
 
80
                                IN              UINT16                                                  f_usTsstIndex );
 
81
 
 
82
UINT32 Oct6100ApiUpdatePhasingEntry(
 
83
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
84
                                IN OUT  tPOCT6100_PHASING_TSST_OPEN             f_pPhasingTsstOpen,
 
85
                                IN              UINT16                                                  f_usPhasingIndex,
 
86
                                IN              UINT16                                                  f_usTsstIndex );
 
87
 
 
88
UINT32 Oct6100PhasingTsstCloseSer(
 
89
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
90
                                IN OUT  tPOCT6100_PHASING_TSST_CLOSE    f_pPhasingTsstClose );
 
91
 
 
92
UINT32 Oct6100ApiAssertPhasingParams( 
 
93
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
94
                                IN              tPOCT6100_PHASING_TSST_CLOSE    f_pPhasingTsstClose,
 
95
                                OUT             PUINT16                                                 f_pusPhasingIndex,
 
96
                                OUT             PUINT16                                                 f_pusTsstIndex );
 
97
 
 
98
UINT32 Oct6100ApiInvalidatePhasingStructs( 
 
99
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
100
                                IN              UINT16                                                  f_usTsstIndex );
 
101
 
 
102
UINT32 Oct6100ApiReleasePhasingResources( 
 
103
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
104
                                IN OUT  UINT16                                                  f_usPhasingIndex );
 
105
 
 
106
UINT32 Oct6100ApiReservePhasingEntry(
 
107
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
108
                                OUT             PUINT16                                                 f_pusPhasingIndex );
 
109
 
 
110
UINT32 Oct6100ApiReleasePhasingEntry(
 
111
                                IN OUT  tPOCT6100_INSTANCE_API                  f_pApiInstance,
 
112
                                IN              UINT16                                                  f_usPhasingIndex );
 
113
 
 
114
#endif /* #ifndef cOCT6100_REMOVE_PHASING_TSST */