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,
164 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs);
185 static int marvell_c22_pcs_config(struct phylink_pcs *pcs,
191 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs);
227 static void marvell_c22_pcs_an_restart(struct phylink_pcs *pcs)
229 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs);
234 static void marvell_c22_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
238 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);