Lines Matching refs:pcs
10 #include <linux/pcs/pcs-xpcs.h>
14 #include "pcs-xpcs.h"
17 container_of((pl_pcs), struct dw_xpcs, pcs)
606 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported,
614 xpcs = phylink_pcs_to_xpcs(pcs);
793 if (!xpcs->pcs.poll)
906 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
911 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1076 if (!xpcs->pcs.poll) {
1114 static void xpcs_get_state(struct phylink_pcs *pcs,
1117 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1206 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
1209 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1220 static void xpcs_an_restart(struct phylink_pcs *pcs)
1222 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1403 xpcs->pcs.ops = &xpcs_phylink_ops;
1404 xpcs->pcs.neg_mode = true;
1407 xpcs->pcs.poll = true;