tscbh_diagnostics_dispatch.c (1843B)
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_TSCBH_SUPPORT 19 20 #include <phymod/chip/tscbh_diagnostics.h> 21 22 #include <phymod/chip/blackhawk_diagnostics.h> 23 24 __phymod_diagnostics__dispatch__t__ phymod_diagnostics_tscbh_diagnostics_driver = { 25 26 tscbh_phy_rx_slicer_position_set, 27 tscbh_phy_rx_slicer_position_get, 28 tscbh_phy_rx_slicer_position_max_get, 29 tscbh_phy_prbs_config_set, 30 tscbh_phy_prbs_config_get, 31 tscbh_phy_prbs_enable_set, 32 tscbh_phy_prbs_enable_get, 33 tscbh_phy_prbs_status_get, 34 blackhawk_phy_pattern_config_set, 35 blackhawk_phy_pattern_config_get, 36 blackhawk_phy_pattern_enable_set, 37 blackhawk_phy_pattern_enable_get, 38 tscbh_core_diagnostics_get, 39 tscbh_phy_diagnostics_get, 40 blackhawk_phy_pmd_info_dump, 41 NULL, /* phymod_phy_pcs_info_dump */ 42 tscbh_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 NULL, /* phymod_phy_fec_correctable_counter_get */ 47 NULL, /* phymod_phy_fec_uncorrectable_counter_get */ 48 NULL, /* phymod_phy_stat_get */ 49 tscbh_phy_fec_cl91_correctable_counter_get, 50 tscbh_phy_fec_cl91_uncorrectable_counter_get, 51 blackhawk_phy_PAM4_tx_pattern_enable_set, 52 blackhawk_phy_PAM4_tx_pattern_enable_get, 53 blackhawk_phy_ber_proj, 54 blackhawk_phy_fast_ber_proj_get, 55 tscbh_phy_rsfec_symbol_error_counter_get, 56 }; 57 58 #endif /* PHYMOD_TSCBH_SUPPORT */