Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
0002 /* Copyright 2020 NXP
0003  * Lynx PCS helpers
0004  */
0005 
0006 #ifndef __LINUX_PCS_LYNX_H
0007 #define __LINUX_PCS_LYNX_H
0008 
0009 #include <linux/mdio.h>
0010 #include <linux/phylink.h>
0011 
0012 struct mdio_device *lynx_get_mdio_device(struct phylink_pcs *pcs);
0013 
0014 struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio);
0015 
0016 void lynx_pcs_destroy(struct phylink_pcs *pcs);
0017 
0018 #endif /* __LINUX_PCS_LYNX_H */