tscf16_diagnostics_dispatch.c (1859B)
1 /* 2 * 3 * 4 * 5 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 6 * 7 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 8 * 9 * 10 * DO NOT EDIT THIS FILE! 11 */ 12 13 #include <phymod/phymod.h> 14 #include <phymod/phymod_system.h> 15 #include <phymod/phymod_diagnostics.h> 16 #include <phymod/phymod_diagnostics_dispatch.h> 17 18 #ifdef PHYMOD_TSCF16_SUPPORT 19 20 #include <phymod/chip/tscf16_diagnostics.h> 21 22 #include <phymod/chip/falcon16_diagnostics.h> 23 24 __phymod_diagnostics__dispatch__t__ phymod_diagnostics_tscf16_diagnostics_driver = { 25 26 tscf16_phy_rx_slicer_position_set, 27 tscf16_phy_rx_slicer_position_get, 28 tscf16_phy_rx_slicer_position_max_get, 29 tscf16_phy_prbs_config_set, 30 tscf16_phy_prbs_config_get, 31 tscf16_phy_prbs_enable_set, 32 tscf16_phy_prbs_enable_get, 33 tscf16_phy_prbs_status_get, 34 tscf16_phy_pattern_config_set, 35 tscf16_phy_pattern_config_get, 36 tscf16_phy_pattern_enable_set, 37 tscf16_phy_pattern_enable_get, 38 tscf16_core_diagnostics_get, 39 falcon16_phy_diagnostics_get, 40 tscf16_phy_pmd_info_dump, 41 tscf16_phy_pcs_info_dump, 42 falcon16_phy_eyescan_run, 43 NULL, /* phymod_phy_link_mon_enable_set */ 44 NULL, /* phymod_phy_link_mon_enable_get */ 45 NULL, /* phymod_phy_link_mon_status_get */ 46 tscf16_phy_fec_correctable_counter_get, 47 tscf16_phy_fec_uncorrectable_counter_get, 48 NULL, /* phymod_phy_stat_get */ 49 tscf16_phy_fec_cl91_correctable_counter_get, 50 tscf16_phy_fec_cl91_uncorrectable_counter_get, 51 NULL, /* phymod_phy_PAM4_tx_pattern_enable_set */ 52 NULL, /* phymod_phy_PAM4_tx_pattern_enable_get */ 53 NULL, /* phymod_phy_ber_proj */ 54 NULL, /* phymod_phy_fast_ber_proj_get */ 55 NULL, /* phymod_phy_rsfec_symbol_error_counter_get */ 56 }; 57 58 #endif /* PHYMOD_TSCF16_SUPPORT */