Lines Matching refs:phylink_pcs
577 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in macb_usx_pcs_link_up()
581 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_link_up()
592 static void macb_usx_pcs_get_state(struct phylink_pcs *pcs, in macb_usx_pcs_get_state()
595 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_get_state()
609 static int macb_usx_pcs_config(struct phylink_pcs *pcs, in macb_usx_pcs_config()
615 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_config()
623 static void macb_pcs_get_state(struct phylink_pcs *pcs, in macb_pcs_get_state()
629 static void macb_pcs_an_restart(struct phylink_pcs *pcs) in macb_pcs_an_restart()
634 static int macb_pcs_config(struct phylink_pcs *pcs, in macb_pcs_config()
805 bp->phylink_pcs.ops = &macb_phylink_usx_pcs_ops; in macb_mac_prepare()
807 bp->phylink_pcs.ops = &macb_phylink_pcs_ops; in macb_mac_prepare()
809 bp->phylink_pcs.ops = NULL; in macb_mac_prepare()
811 if (bp->phylink_pcs.ops) in macb_mac_prepare()
812 phylink_set_pcs(bp->phylink, &bp->phylink_pcs); in macb_mac_prepare()