Lines Matching defs:pcs
10 #include <linux/pcs/pcs-xpcs.h>
14 #include "pcs-xpcs.h"
17 container_of((pl_pcs), struct dw_xpcs, pcs)
607 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported,
615 xpcs = phylink_pcs_to_xpcs(pcs);
794 if (!xpcs->pcs.poll)
907 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
912 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1077 if (!xpcs->pcs.poll) {
1093 static void xpcs_get_state(struct phylink_pcs *pcs,
1096 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1178 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
1181 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1192 static void xpcs_an_restart(struct phylink_pcs *pcs)
1194 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1375 xpcs->pcs.ops = &xpcs_phylink_ops;
1376 xpcs->pcs.neg_mode = true;
1379 xpcs->pcs.poll = true;