1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2020 NXP 2 /* Copyright 2020 NXP 3 * Lynx PCS helpers 3 * Lynx PCS helpers 4 */ 4 */ 5 5 6 #ifndef __LINUX_PCS_LYNX_H 6 #ifndef __LINUX_PCS_LYNX_H 7 #define __LINUX_PCS_LYNX_H 7 #define __LINUX_PCS_LYNX_H 8 8 9 #include <linux/mdio.h> 9 #include <linux/mdio.h> 10 #include <linux/phylink.h> 10 #include <linux/phylink.h> 11 11 12 struct phylink_pcs *lynx_pcs_create_mdiodev(st !! 12 struct lynx_pcs { 13 struct phylink_pcs *lynx_pcs_create_fwnode(str !! 13 struct phylink_pcs pcs; >> 14 struct mdio_device *mdio; >> 15 }; 14 16 15 void lynx_pcs_destroy(struct phylink_pcs *pcs) !! 17 struct lynx_pcs *lynx_pcs_create(struct mdio_device *mdio); >> 18 >> 19 void lynx_pcs_destroy(struct lynx_pcs *pcs); 16 20 17 #endif /* __LINUX_PCS_LYNX_H */ 21 #endif /* __LINUX_PCS_LYNX_H */ 18 22
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.