swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: d434405aaab7d0ebc516b68a8fc4100922d7f5ef authored by Linus Torvalds on 11 April 2021, 22:16:13 UTC
Linux 5.12-rc7
Tip revision: d434405
pcs-lynx.h
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
/* Copyright 2020 NXP
 * Lynx PCS helpers
 */

#ifndef __LINUX_PCS_LYNX_H
#define __LINUX_PCS_LYNX_H

#include <linux/mdio.h>
#include <linux/phylink.h>

struct lynx_pcs {
	struct phylink_pcs pcs;
	struct mdio_device *mdio;
};

struct lynx_pcs *lynx_pcs_create(struct mdio_device *mdio);

void lynx_pcs_destroy(struct lynx_pcs *pcs);

#endif /* __LINUX_PCS_LYNX_H */
back to top