openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

pm4x10td.h (1200B)


      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 #ifndef _PM4X10TD_H__H_
     14 #define _PM4X10TD_H__H_
     15 
     16 #include <phymod/phymod.h>
     17 #include <phymod/phymod_diagnostics.h>
     18 #include <phymod/phymod_reg.h>
     19 #include <soc/cprimod/cprimod.h>
     20 #include <soc/portmod/portmod_defs.h>
     21 /*set PFC config registers.*/
     22 int pm4x10td_port_pfc_config_set(int unit, int port, pm_info_t pm_info, const portmod_pfc_config_t* pfc_cfg);
     23 int pm4x10td_port_pfc_config_get(int unit, int port, pm_info_t pm_info, portmod_pfc_config_t* pfc_cfg);
     24 
     25 /*Disable lag failover.*/
     26 int pm4x10td_port_cntmaxsize_set(int unit, int port, pm_info_t pm_info, int val);
     27 int pm4x10td_port_cntmaxsize_get(int unit, int port, pm_info_t pm_info, int* val);
     28 
     29 /* portmod port rsv mask set*/
     30 int pm4x10td_port_mac_rsv_mask_set(int unit, int port, pm_info_t pm_info, uint32 rsv_mask);
     31 
     32 /* portmod port mib reset toggle*/
     33 int pm4x10td_port_mib_reset_toggle(int unit, int port, pm_info_t pm_info, int port_index);
     34 
     35 #endif /*_PM4X10TD_H_*/