| 1 | /****************************************************************************** |
|---|
| 2 | * (c)2011 Broadcom Corporation |
|---|
| 3 | * |
|---|
| 4 | * This program is the proprietary software of Broadcom Corporation and/or its licensors, |
|---|
| 5 | * and may only be used, duplicated, modified or distributed pursuant to the terms and |
|---|
| 6 | * conditions of a separate, written license agreement executed between you and Broadcom |
|---|
| 7 | * (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants |
|---|
| 8 | * no license (express or implied), right to use, or waiver of any kind with respect to the |
|---|
| 9 | * Software, and Broadcom expressly reserves all rights in and to the Software and all |
|---|
| 10 | * intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU |
|---|
| 11 | * HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY |
|---|
| 12 | * NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. |
|---|
| 13 | * |
|---|
| 14 | * Except as expressly set forth in the Authorized License, |
|---|
| 15 | * |
|---|
| 16 | * 1. This program, including its structure, sequence and organization, constitutes the valuable trade |
|---|
| 17 | * secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof, |
|---|
| 18 | * and to use this information only in connection with your use of Broadcom integrated circuit products. |
|---|
| 19 | * |
|---|
| 20 | * 2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" |
|---|
| 21 | * AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR |
|---|
| 22 | * WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO |
|---|
| 23 | * THE SOFTWARE. BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES |
|---|
| 24 | * OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, |
|---|
| 25 | * LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION |
|---|
| 26 | * OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF |
|---|
| 27 | * USE OR PERFORMANCE OF THE SOFTWARE. |
|---|
| 28 | * |
|---|
| 29 | * 3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS |
|---|
| 30 | * LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR |
|---|
| 31 | * EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR |
|---|
| 32 | * USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF |
|---|
| 33 | * THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT |
|---|
| 34 | * ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE |
|---|
| 35 | * LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF |
|---|
| 36 | * ANY LIMITED REMEDY. |
|---|
| 37 | * |
|---|
| 38 | * $brcm_Workfile: baob_acquire.h $ |
|---|
| 39 | * $brcm_Revision: 5 $ |
|---|
| 40 | * $brcm_Date: 3/25/11 6:32p $ |
|---|
| 41 | * |
|---|
| 42 | * Module Description: |
|---|
| 43 | * |
|---|
| 44 | * Revision History: |
|---|
| 45 | * |
|---|
| 46 | * $brcm_Log: /AP/bcm3128/a0/src/driver/aob/baob_acquire.h $ |
|---|
| 47 | * |
|---|
| 48 | * 5 3/25/11 6:32p mpovich |
|---|
| 49 | * SW3128-1: Merge latest from AOB branch to the main branch. |
|---|
| 50 | * |
|---|
| 51 | * AOB_3128_1/4 3/23/11 1:04p mpovich |
|---|
| 52 | * SW3128-1: Rebase AOB from main branch |
|---|
| 53 | * |
|---|
| 54 | * 4 3/22/11 5:03p mpovich |
|---|
| 55 | * SW3128-1: Add latest AOB driver changes. |
|---|
| 56 | * |
|---|
| 57 | * AOB_3128_1/3 3/21/11 6:25p farshidf |
|---|
| 58 | * SW3461-1: update naming |
|---|
| 59 | * |
|---|
| 60 | * AOB_3128_1/2 3/18/11 4:37p cbrooks |
|---|
| 61 | * sw3128-1:Added Status for OOB |
|---|
| 62 | * |
|---|
| 63 | * AOB_3128_1/1 3/17/11 6:16p cbrooks |
|---|
| 64 | * sw3128-1:Added OOB code |
|---|
| 65 | * |
|---|
| 66 | * 3 3/11/11 3:49p farshidf |
|---|
| 67 | * SW3128-1: latest chnages from Charlie |
|---|
| 68 | * |
|---|
| 69 | * 2 3/8/11 2:45p cbrooks |
|---|
| 70 | * sw3128-1:NEW CODE |
|---|
| 71 | * |
|---|
| 72 | * 1 2/23/11 7:09p cbrooks |
|---|
| 73 | * sw3128-1:new code |
|---|
| 74 | * |
|---|
| 75 | *****************************************************************************/ |
|---|
| 76 | #ifndef BAOB_ACQUIRE_H__ |
|---|
| 77 | #define BAOB_ACQUIRE_H__ |
|---|
| 78 | |
|---|
| 79 | #ifdef __cplusplus |
|---|
| 80 | extern "C" { |
|---|
| 81 | #endif |
|---|
| 82 | |
|---|
| 83 | #define CLOCK_INVERT 0 /*1 to invert clock, 0 to not invert clock*/ |
|---|
| 84 | #define BAOB_IF_FREQUENCY 0 /*BAOB_P_Set_CFL_Frequency() currently only supports 0*/ |
|---|
| 85 | #define DAGC_FREEZE 0 /*1 to freeze, 0 to not freeze*/ |
|---|
| 86 | #define AGC_WAIT_TIME 10 /*AGC wait time in ms*/ |
|---|
| 87 | #define BAUD_WAIT_TIME 50 /*Baud Loop wait time in ms*/ |
|---|
| 88 | #define CARRIER_WAIT_TIME 50 /*Carrier Loop wait time in ms*/ |
|---|
| 89 | #define ANNEXA_FEC_WAIT_TIME 1000 /*FEC wait time in ms*/ |
|---|
| 90 | #define ANNEXB_FEC_WAIT_TIME 100 /*FEC wait time in ms*/ |
|---|
| 91 | #define CABLECARD_WAIT_TIME 10 /*FEC wait time in ms*/ |
|---|
| 92 | |
|---|
| 93 | /***************************************************************************** |
|---|
| 94 | * ADS Function Prototypes Used by PI or Local |
|---|
| 95 | *****************************************************************************/ |
|---|
| 96 | BERR_Code BAOB_P_PowerDn(BAOB_3x7x_Handle h); |
|---|
| 97 | BERR_Code BAOB_P_PowerUp(BAOB_3x7x_Handle h); |
|---|
| 98 | BERR_Code BAOB_P_Init(BAOB_3x7x_Handle h); |
|---|
| 99 | BERR_Code BAOB_P_Get_LockStatus(BAOB_3x7x_Handle h); |
|---|
| 100 | BERR_Code BAOB_P_Acquire(BAOB_3x7x_Handle h); |
|---|
| 101 | |
|---|
| 102 | /***************************************************************************** |
|---|
| 103 | * OOB Function Prototypes Used Local |
|---|
| 104 | *****************************************************************************/ |
|---|
| 105 | |
|---|
| 106 | |
|---|
| 107 | #ifdef __cplusplus |
|---|
| 108 | } |
|---|
| 109 | #endif |
|---|
| 110 | |
|---|
| 111 | #endif |
|---|