Lines Matching refs:pcs

129 static struct mv88e639x_pcs *sgmii_pcs_to_mv88e639x_pcs(struct phylink_pcs *pcs)
131 return container_of(pcs, struct mv88e639x_pcs, sgmii_pcs);
183 static int mv88e639x_sgmii_pcs_enable(struct phylink_pcs *pcs)
185 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
193 static void mv88e639x_sgmii_pcs_disable(struct phylink_pcs *pcs)
195 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
201 static void mv88e639x_sgmii_pcs_pre_config(struct phylink_pcs *pcs,
204 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
240 static int mv88e639x_sgmii_pcs_post_config(struct phylink_pcs *pcs,
243 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
259 static void mv88e639x_sgmii_pcs_get_state(struct phylink_pcs *pcs,
262 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
297 static int mv88e639x_sgmii_pcs_config(struct phylink_pcs *pcs,
303 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
337 static void mv88e639x_sgmii_pcs_an_restart(struct phylink_pcs *pcs)
339 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
345 static void mv88e639x_sgmii_pcs_link_up(struct phylink_pcs *pcs,
350 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
379 static struct mv88e639x_pcs *xg_pcs_to_mv88e639x_pcs(struct phylink_pcs *pcs)
381 return container_of(pcs, struct mv88e639x_pcs, xg_pcs);
397 static void mv88e639x_xg_pcs_get_state(struct phylink_pcs *pcs,
400 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
436 static int mv88e639x_xg_pcs_config(struct phylink_pcs *pcs,
510 static int mv88e6390_xg_pcs_enable(struct phylink_pcs *pcs)
512 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
524 static void mv88e6390_xg_pcs_disable(struct phylink_pcs *pcs)
526 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
756 static void mv88e6393x_sgmii_pcs_disable(struct phylink_pcs *pcs)
758 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
760 mv88e639x_sgmii_pcs_disable(pcs);
765 static void mv88e6393x_sgmii_pcs_pre_config(struct phylink_pcs *pcs,
768 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
770 mv88e639x_sgmii_pcs_pre_config(pcs, interface);
775 static int mv88e6393x_sgmii_pcs_post_config(struct phylink_pcs *pcs,
778 struct mv88e639x_pcs *mpcs = sgmii_pcs_to_mv88e639x_pcs(pcs);
793 return mv88e639x_sgmii_pcs_post_config(pcs, interface);
843 static int mv88e6393x_xg_pcs_enable(struct phylink_pcs *pcs)
845 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
852 static void mv88e6393x_xg_pcs_disable(struct phylink_pcs *pcs)
854 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
862 static void mv88e6393x_xg_pcs_pre_config(struct phylink_pcs *pcs,
865 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
871 static int mv88e6393x_xg_pcs_post_config(struct phylink_pcs *pcs,
874 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
891 static void mv88e6393x_xg_pcs_get_state(struct phylink_pcs *pcs,
894 struct mv88e639x_pcs *mpcs = xg_pcs_to_mv88e639x_pcs(pcs);
899 return mv88e639x_xg_pcs_get_state(pcs, state);