Lines Matching refs:pcs

33 static struct marvell_c22_pcs *pcs_to_marvell_c22_pcs(struct phylink_pcs *pcs)  in pcs_to_marvell_c22_pcs()  argument
35 return container_of(pcs, struct marvell_c22_pcs, phylink_pcs); in pcs_to_marvell_c22_pcs()
140 static int marvell_c22_pcs_enable(struct phylink_pcs *pcs) in marvell_c22_pcs_enable() argument
142 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_enable()
152 static void marvell_c22_pcs_disable(struct phylink_pcs *pcs) in marvell_c22_pcs_disable() argument
154 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_disable()
160 static void marvell_c22_pcs_get_state(struct phylink_pcs *pcs, in marvell_c22_pcs_get_state() argument
163 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_get_state()
184 static int marvell_c22_pcs_config(struct phylink_pcs *pcs, in marvell_c22_pcs_config() argument
190 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_config()
226 static void marvell_c22_pcs_an_restart(struct phylink_pcs *pcs) in marvell_c22_pcs_an_restart() argument
228 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_an_restart()
233 static void marvell_c22_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in marvell_c22_pcs_link_up() argument
237 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_link_up()
363 struct phylink_pcs *pcs; in mv88e6352_pcs_teardown() local
365 pcs = chip->ports[port].pcs_private; in mv88e6352_pcs_teardown()
366 if (!pcs) in mv88e6352_pcs_teardown()
369 mpcs = pcs_to_marvell_c22_pcs(pcs); in mv88e6352_pcs_teardown()