tomahawk3_set_tdm.h (813B)
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_set_tdm.h 8 */ 9 10 11 12 #ifndef _SOC_TOMAHAWK3_SET_TDM_H_ 13 #define _SOC_TOMAHAWK3_SET_TDM_H_ 14 15 #include <soc/esw/port.h> 16 #include <soc/init/tomahawk3_flexport_defines.h> 17 18 19 /*** START SDK API COMMON CODE ***/ 20 21 extern int soc_tomahawk3_set_tdm_tbl( 22 int unit, 23 soc_port_schedule_state_t *port_schedule_state); 24 25 extern void soc_tomahawk3_set_tdm_tbl_per_pipe( 26 int pipe_num, 27 soc_port_schedule_state_t *port_schedule_state); 28 29 extern int soc_tomahawk3_set_tdm_slot_pos_tbl( 30 int phy_port, 31 int speed, 32 int *slot_pos_tbl); 33 34 /*** END SDK API COMMON CODE ***/ 35 36 #endif 37 38 39 40 41