tscmod_functions.h (5308B)
1 /*---------------------------------------------------------------------- 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 * 7 * Broadcom Corporation 8 * Proprietary and Confidential information 9 * All rights reserved 10 * This source file is the property of Broadcom Corporation, and 11 * may not be copied or distributed in any isomorphic form without the 12 * prior written consent of Broadcom Corporation. 13 *--------------------------------------------------------------------- 14 * Description: string defines for tier1 and tier2 selectors 15 *-----------------------------------------------------------------------*/ 16 17 #ifndef _FUNCTIONS_H_ 18 #define _FUNCTIONS_H_ 19 20 /* These are the Tier1 functions */ 21 22 /* special handle for MDK */ 23 #define TSCMOD_INIT "TSCMOD_INIT" 24 25 #define MASTER_SLAVE_CONTROL "MASTER_SLAVE_CONTROL" 26 #define SLAVE_WAKEUP_CONTROL "SLAVE_WAKEUP_CONTROL" 27 #define CREDIT_SET "CREDIT_SET" 28 #define ENCODE_SET "ENCODE_SET" 29 #define DECODE_SET "DECODE_SET" 30 #define CREDIT_CONTROL "CREDIT_CONTROL" 31 #define AFE_RESET_ANALOG "AFE_RESET_ANALOG" 32 #define AFE_RXSEQ_START_CONTROL "AFE_RXSEQ_START_CONTROL" 33 #define AFE_SPEED_UP_DSC_VGA "AFE_SPEED_UP_DSC_VGA" 34 #define TX_LANE_CONTROL "TX_LANE_CONTROL" 35 #define RX_LANE_CONTROL "RX_LANE_CONTROL" 36 #define RX_LOOPBACK_PCSBYP "RX_LOOPBACK_PCS_BYPASS" 37 #define PCS_BYPASS_CTL "PCS_BYPASS_CTL" 38 #define TX_TAP_CONTROL "TX_TAP_CONTROL" 39 #define TX_PI_CONTROL "TX_PI_CONTROL" 40 #define TX_AMP_CONTROL "TX_AMP_CONTROL" 41 #define RX_P1_SLICER_CONTROL "RX_P1_SLICER_CONTROL" 42 #define RX_M1_SLICER_CONTROL "RX_M1_SLICER_CONTROL" 43 #define RX_D_SLICER_CONTROL "RX_D_SLICER_CONTROL" 44 #define REFCLK_SET "REFCLK_SET" 45 #define ASYMMETRIC_MODE_SET "ASYMMETRIC_MODE_SET" 46 #define SPD_INTF_CONTROL "SPD_INTF_CONTROL" 47 /* put an _ since this begins with a number */ 48 #define _100FX_CONTROL "100FX_CONTROL" 49 #define TX_LANE_DISABLE "TX_LANE_DISABLE" 50 #define DUPLEX_CONTROL "DUPLEX_CONTROL" 51 #define POWER_CONTROL "POWER_CONTROL" 52 #define AUTONEG_SET "AUTONEG_SET" 53 #define AUTONEG_GET "AUTONEG_GET" 54 #define AUTONEG_CONTROL "AUTONEG_CONTROL" 55 #define AUTONEG_PAGE_SET "AUTONEG_PAGE_SET" 56 #define ANEG_CONTROL "ANEG_CONTROL" 57 #define CARRIER_EXTENSION "CARRIER_EXTENSION" 58 #define REG_READ "REG_READ" 59 #define REG_WRITE "REG_WRITE" 60 #define PRBS_CHECK "PRBS_CHECK" 61 #define CJPAT_CRPAT_CONTROL "CJPAT_CRPAT_CONTROL" 62 #define CJPAT_CRPAT_CHECK "CJPAT_CRPAT_CHECK" 63 #define TSCMOD_DIAG "TSCMOD_DIAG" 64 #define LANE_SWAP "LANE_SWAP" 65 #define PARALLEL_DETECT_CONTROL "PARALLEL_DETECT_CONTROL" 66 #define CLAUSE_72_CONTROL "CLAUSE_72_CONTROL" 67 #define PLL_SEQUENCER_CONTROL "PLL_SEQUENCER_CONTROL" 68 #define PLL_LOCK_WAIT "PLL_LOCK_WAIT" 69 #define PROG_DATA "PROG_DATA" 70 #define REVID_READ "REVID_READ" 71 #define RX_SEQ_CONTROL "RX_SEQ_CONTROL" 72 #define SET_POLARITY "SET_POLARITY" 73 #define SET_AER "SET_AER" 74 #define SET_PORT_MODE "SET_PORT_MODE" 75 #define SET_AN_PORT_MODE "SET_AN_PORT_MODE" 76 #define PRBS_CONTROL "PRBS_CONTROL" 77 #define PRBS_MODE "PRBS_MODE" 78 #define PRBS_SEED_A1A0 "PRBS_SEED_A1A0" 79 #define PRBS_SEED_A3A2 "PRBS_SEED_A3A2" 80 #define PRBS_SEED_LOAD_CONTROL "PRBS_SEED_LOAD_CONTROL" 81 #define PRBS_DECOUPLE_CONTROL "PRBS_DECOUPLE_CONTROL" 82 #define SCRAMBLER_CONTROL "SCRAMBLER_CONTROL" 83 #define RX_PF_CONTROL "RX_PF_CONTROL" 84 #define RX_DFE_TAP1_CONTROL "RX_DFE_TAP1_CONTROL" 85 #define RX_DFE_TAP2_CONTROL "RX_DFE_TAP2_CONTROL" 86 #define RX_DFE_TAP3_CONTROL "RX_DFE_TAP3_CONTROL" 87 #define RX_DFE_TAP4_CONTROL "RX_DFE_TAP4_CONTROL" 88 #define RX_DFE_TAP5_CONTROL "RX_DFE_TAP5_CONTROL" 89 #define RX_VGA_CONTROL "RX_VGA_CONTROL" 90 #define SOFT_RESET "SOFT_RESET" 91 #define AER_LANE_SELECT "AER_LANE_SELECT" 92 #define SET_SPD_INTF "SET_SPD_INTF" 93 #define TX_BERT_CONTROL "TX_BERT_CONTROL" 94 #define RX_LOOPBACK_CONTROL "RX_LOOPBACK_CONTROL" 95 #define TX_LOOPBACK_CONTROL "TX_LOOPBACK_CONTROL" 96 #define PORT_STAT_DISPLAY "PORT_STAT_DISPLAY" 97 #define CORE_RESET "CORE_RESET" 98 #define WAIT_PMD_LOCK "WAIT_PMD_LOCK" 99 #define HGSOLO "HGSOLO" 100 #define MISC_CONTROL "MISC_CONTROL" 101 #define FIRMWARE_SET "FIRMWARE_SET" 102 #define UC_SYNC_CMD "UC_SYNC_CMD" 103 #define FWMODE_CONTROL "FWMODE_CONTROL" 104 #define FEC_CONTROL "FEC_CONTROL" 105 #define HIGIG2_CONTROL "HIGIG2_CONTROL" 106 #define EEE_PASS_THRU_SET "EEE_PASS_THRU_SET" 107 108 /* These are the Tier2+ functions */ 109 #define SPD_INTF_SET "SPD_INTF_SET" 110 #define PRBS_ENABLE "PRBS7_ENABLE" 111 #define PRBS_DISABLE "PRBS_DISABLE" 112 /*PRBS_CHECK is also a Tier2 function */ 113 114 #endif