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

eyescan.h (493B)


      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:       eyescan.h
      8  */
      9 
     10 #ifndef _EYESCAN_H_
     11 #define _EYESCAN_H_
     12 
     13 #include "types.h"
     14 
     15 #define EYE_SCAN_HORIZ 0
     16 #define EYE_SCAN_VERTICAL 1
     17 
     18 #define _LADDER_SETTING_TO_MV(_y)     (_y * 300 / 127)
     19 
     20 extern int bcm_do_eyescan(phy_ctrl_t *pc, int sys_port);
     21 
     22 
     23 #endif /* _EYESCAN_H_ */