Lines Matching refs:pcs

11 #include <linux/pcs/pcs-xpcs.h>
17 #include "pcs-xpcs.h"
20 container_of((pl_pcs), struct dw_xpcs, pcs)
137 return &xpcs->pcs;
545 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported,
553 xpcs = phylink_pcs_to_xpcs(pcs);
570 static unsigned int xpcs_inband_caps(struct phylink_pcs *pcs,
573 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
621 static void xpcs_pre_config(struct phylink_pcs *pcs, phy_interface_t interface)
623 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
757 if (!xpcs->pcs.poll) {
871 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
876 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1041 if (!xpcs->pcs.poll) {
1079 static void xpcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
1082 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1154 static void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
1157 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1175 static void xpcs_an_restart(struct phylink_pcs *pcs)
1177 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1212 static void xpcs_disable_eee(struct phylink_pcs *pcs)
1214 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1219 static void xpcs_enable_eee(struct phylink_pcs *pcs)
1221 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
1279 if (xpcs->info.pcs == DW_XPCS_ID_NATIVE)
1280 xpcs->info.pcs = id;
1403 if ((xpcs->info.pcs & entry->mask) == entry->id) {
1422 xpcs->pcs.ops = &xpcs_phylink_ops;
1423 xpcs->pcs.poll = true;
1470 xpcs->info.pcs = DW_XPCS_ID_NATIVE;
1496 xpcs_get_interfaces(xpcs, xpcs->pcs.supported_interfaces);
1499 xpcs->pcs.poll = false;
1554 return &xpcs->pcs;
1605 void xpcs_destroy_pcs(struct phylink_pcs *pcs)
1607 xpcs_destroy(phylink_pcs_to_xpcs(pcs));