Lines Matching refs:pcs

130 static struct mv88e639x_pcs *sgmii_pcs_to_mv88e639x_pcs(struct phylink_pcs *pcs)
132 return container_of(pcs, struct mv88e639x_pcs, sgmii_pcs);
184 static int mv88e639x_sgmii_pcs_enable(struct phylink_pcs *pcs)
186 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
194 static void mv88e639x_sgmii_pcs_disable(struct phylink_pcs *pcs)
196 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
202 static void mv88e639x_sgmii_pcs_pre_config(struct phylink_pcs *pcs,
205 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
241 static int mv88e639x_sgmii_pcs_post_config(struct phylink_pcs *pcs,
244 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
260 static void mv88e639x_sgmii_pcs_get_state(struct phylink_pcs *pcs,
264 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
299 static int mv88e639x_sgmii_pcs_config(struct phylink_pcs *pcs,
305 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
339 static void mv88e639x_sgmii_pcs_an_restart(struct phylink_pcs *pcs)
341 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
347 static void mv88e639x_sgmii_pcs_link_up(struct phylink_pcs *pcs,
352 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
381 static struct mv88e639x_pcs *xg_pcs_to_mv88e639x_pcs(struct phylink_pcs *pcs)
383 return container_of(pcs, struct mv88e639x_pcs, xg_pcs);
399 static void mv88e639x_xg_pcs_get_state(struct phylink_pcs *pcs,
403 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
439 static int mv88e639x_xg_pcs_config(struct phylink_pcs *pcs,
513 static int mv88e6390_xg_pcs_enable(struct phylink_pcs *pcs)
515 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
527 static void mv88e6390_xg_pcs_disable(struct phylink_pcs *pcs)
529 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
757 static void mv88e6393x_sgmii_pcs_disable(struct phylink_pcs *pcs)
759 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
761 mv88e639x_sgmii_pcs_disable(pcs);
766 static void mv88e6393x_sgmii_pcs_pre_config(struct phylink_pcs *pcs,
769 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
771 mv88e639x_sgmii_pcs_pre_config(pcs, interface);
776 static int mv88e6393x_sgmii_pcs_post_config(struct phylink_pcs *pcs,
779 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
794 return mv88e639x_sgmii_pcs_post_config(pcs, interface);
844 static int mv88e6393x_xg_pcs_enable(struct phylink_pcs *pcs)
846 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
853 static void mv88e6393x_xg_pcs_disable(struct phylink_pcs *pcs)
855 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
863 static void mv88e6393x_xg_pcs_pre_config(struct phylink_pcs *pcs,
866 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
872 static int mv88e6393x_xg_pcs_post_config(struct phylink_pcs *pcs,
875 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
892 static void mv88e6393x_xg_pcs_get_state(struct phylink_pcs *pcs,
896 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
901 return mv88e639x_xg_pcs_get_state(pcs, neg_mode, state);