#include <linux/phylink.h>
#include "global2.h"
#include "port.h"
#include "serdes.h"
struct mv88e6185_pcs { … };
static struct mv88e6185_pcs *pcs_to_mv88e6185_pcs(struct phylink_pcs *pcs)
{ … }
static irqreturn_t mv88e6185_pcs_handle_irq(int irq, void *dev_id)
{ … }
static void mv88e6185_pcs_get_state(struct phylink_pcs *pcs,
struct phylink_link_state *state)
{ … }
static int mv88e6185_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
phy_interface_t interface,
const unsigned long *advertising,
bool permit_pause_to_mac)
{ … }
static void mv88e6185_pcs_an_restart(struct phylink_pcs *pcs)
{ … }
static const struct phylink_pcs_ops mv88e6185_phylink_pcs_ops = …;
static int mv88e6185_pcs_init(struct mv88e6xxx_chip *chip, int port)
{ … }
static void mv88e6185_pcs_teardown(struct mv88e6xxx_chip *chip, int port)
{ … }
static struct phylink_pcs *mv88e6185_pcs_select(struct mv88e6xxx_chip *chip,
int port,
phy_interface_t interface)
{ … }
const struct mv88e6xxx_pcs_ops mv88e6185_pcs_ops = …;