Lines Matching full:pcs
11 #include <linux/pcs-altera-tse.h>
13 /* SGMII PCS register addresses
34 struct phylink_pcs pcs; member
39 static struct altera_tse_pcs *phylink_pcs_to_tse_pcs(struct phylink_pcs *pcs) in phylink_pcs_to_tse_pcs() argument
41 return container_of(pcs, struct altera_tse_pcs, pcs); in phylink_pcs_to_tse_pcs()
66 /* Reset PCS block */ in tse_pcs_reset()
80 static int alt_tse_pcs_validate(struct phylink_pcs *pcs, in alt_tse_pcs_validate() argument
91 static int alt_tse_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in alt_tse_pcs_config() argument
96 struct altera_tse_pcs *tse_pcs = phylink_pcs_to_tse_pcs(pcs); in alt_tse_pcs_config()
121 static void alt_tse_pcs_get_state(struct phylink_pcs *pcs, in alt_tse_pcs_get_state() argument
124 struct altera_tse_pcs *tse_pcs = phylink_pcs_to_tse_pcs(pcs); in alt_tse_pcs_get_state()
133 static void alt_tse_pcs_an_restart(struct phylink_pcs *pcs) in alt_tse_pcs_an_restart() argument
135 struct altera_tse_pcs *tse_pcs = phylink_pcs_to_tse_pcs(pcs); in alt_tse_pcs_an_restart()
142 /* This PCS seems to require a soft reset to re-sync the AN logic */ in alt_tse_pcs_an_restart()
165 tse_pcs->pcs.ops = &alt_tse_pcs_ops; in alt_tse_pcs_create()
169 return &tse_pcs->pcs; in alt_tse_pcs_create()
174 MODULE_DESCRIPTION("Altera TSE PCS driver");