tomahawk3_port_init.h (1220B)
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 * File: tomahawk3_port_init.h 8 */ 9 10 11 12 #ifndef _SOC_TOMAHAWK3_PORT_INIT_H_ 13 #define _SOC_TOMAHAWK3_PORT_INIT_H_ 14 15 #include <soc/init/tomahawk3_flexport_defines.h> 16 #include <soc/init/tomahawk3_set_tdm.h> 17 18 19 /*** START SDK API COMMON CODE ***/ 20 21 extern int soc_tomahawk3_tscbh_reset( 22 int unit, int pmnum, int reset); 23 24 extern int soc_tomahawk3_cdmac_reset( 25 int unit, soc_port_map_type_t *port_map, int pmnum, int reset); 26 27 extern int soc_tomahawk3_set_cdmac_port_mode( 28 int unit, soc_port_map_type_t *port_map, int pmnum); 29 30 extern int soc_tomahawk3_cdmac_enable( 31 int unit, int phy_port); 32 33 extern void soc_tomahawk3_port_mode_get(soc_port_map_type_t *port_map, 34 int pmnum, int *cdmac0_port_mode, 35 int *cdmac1_port_mode, int *speed_400g); 36 37 extern int soc_tomahawk3_tsc_clock_enable(int unit, 38 soc_port_schedule_state_t *port_schedule_state); 39 40 extern int soc_tomahawk3_pm8x50_port_init( 41 int unit, soc_port_schedule_state_t *port_schedule_state); 42 43 /*** END SDK API COMMON CODE ***/ 44 45 #endif 46 47