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