Lines Matching refs:pcs

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