xgxs.h (809B)
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: xgxs.h 8 * Purpose: Defines common PHY driver routines for Broadcom XGXS core. 9 */ 10 #ifndef _PHY_XGXS_H 11 #define _PHY_XGXS_H 12 13 extern int 14 phy_xgxs_reg_read(int unit, soc_port_t port, uint32 flags, 15 uint32 phy_reg_addr, uint32 *phy_data); 16 17 extern int 18 phy_xgxs_reg_write(int unit, soc_port_t port, uint32 flags, 19 uint32 phy_reg_addr, uint32 phy_data); 20 21 extern int 22 phy_xgxs_reg_modify(int unit, soc_port_t port, uint32 flags, 23 uint32 phy_reg_addr, uint32 phy_data, 24 uint32 phy_data_mask); 25 26 #endif /* _PHY_XGXS_H */ 27