Lines Matching refs:phylink_pcs
583 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in macb_usx_pcs_link_up()
587 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_link_up()
598 static void macb_usx_pcs_get_state(struct phylink_pcs *pcs, in macb_usx_pcs_get_state()
601 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_get_state()
615 static int macb_usx_pcs_config(struct phylink_pcs *pcs, in macb_usx_pcs_config()
621 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_config()
629 static void macb_pcs_get_state(struct phylink_pcs *pcs, in macb_pcs_get_state()
635 static void macb_pcs_an_restart(struct phylink_pcs *pcs) in macb_pcs_an_restart()
640 static int macb_pcs_config(struct phylink_pcs *pcs, in macb_pcs_config()
808 bp->phylink_pcs.ops = &macb_phylink_usx_pcs_ops; in macb_mac_prepare()
810 bp->phylink_pcs.ops = &macb_phylink_pcs_ops; in macb_mac_prepare()
812 bp->phylink_pcs.ops = NULL; in macb_mac_prepare()
814 if (bp->phylink_pcs.ops) in macb_mac_prepare()
815 phylink_set_pcs(bp->phylink, &bp->phylink_pcs); in macb_mac_prepare()