blackhawk_tsc_common.h (1846B)
1 /******************************************************************************** 2 ******************************************************************************** 3 * * 4 * Revision : * 5 * * 6 * Description : Defines and Enumerations required by Serdes APIs * 7 * * 8 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 9 * 10 * Copyright 2007-2019 Broadcom Inc. All rights reserved. * 11 * No portions of this material may be reproduced in any form without * 12 * the written permission of: * 13 * Broadcom Corporation * 14 * 5300 California Avenue * 15 * Irvine, CA 92617 * 16 * * 17 * All information contained in this document is Broadcom Corporation * 18 * company private proprietary, and trade secret. * 19 */ 20 21 /** @file blackhawk_tsc_common.h 22 * Defines and Enumerations shared across M16/F16/BHK16 APIs BUT NOT MICROCODE 23 */ 24 25 #ifndef BLACKHAWK_TSC_API_COMMON_H 26 #define BLACKHAWK_TSC_API_COMMON_H 27 28 #include "blackhawk_tsc_ipconfig.h" 29 30 /** Macro to determine sign of a value */ 31 #define sign(x) ((x>=0) ? 1 : -1) 32 33 #define UCODE_MAX_SIZE (84*1024) 34 35 /* 36 * IP-Specific Iteration Bounds 37 */ 38 # define DUAL_PLL_NUM_PLLS 2 39 40 #endif