Lines Matching full:pcs
64 * @pcs_poll: MAC PCS cannot provide link change interrupt
67 * @ovr_an_inband: if true, override PCS to MLO_AN_INBAND
150 * Read the current inband link state from the MAC PCS, reporting the
197 * where the PCS and MAC are not tightly integrated.)
203 * the results of in-band negotiation/status from the MAC PCS should be used
267 * complete any necessary steps after the MAC and PCS have been configured
312 * where these settings are not automatically conveyed from the PCS block,
333 * struct phylink_pcs - PHYLINK PCS instance
335 * @poll: poll the PCS for link changes
337 * This structure is designed to be embedded within the PCS private data,
338 * and will be passed between phylink and the PCS.
346 * struct phylink_pcs_ops - MAC PCS operations structure.
347 * @pcs_get_state: read the current MAC PCS link state from the hardware.
348 * @pcs_config: configure the MAC PCS for the selected mode and state.
350 * @pcs_link_up: program the PCS for the resolved link configuration
354 void (*pcs_get_state)(struct phylink_pcs *pcs,
356 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int mode,
360 void (*pcs_an_restart)(struct phylink_pcs *pcs);
361 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int mode,
368 * @pcs: a pointer to a &struct phylink_pcs.
371 * Read the current inband link state from the MAC PCS, reporting the
381 void pcs_get_state(struct phylink_pcs *pcs,
385 * pcs_config() - Configure the PCS mode and advertisement
386 * @pcs: a pointer to a &struct phylink_pcs.
392 * Configure the PCS for the operating mode, the interface mode, and set
399 * For SGMII, there is no advertisement from the MAC side, the PCS should
402 * For 1000BASE-X, the advertisement should be programmed into the PCS.
406 int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
412 * @pcs: a pointer to a &struct phylink_pcs.
414 * When PCS ops are present, this overrides mac_an_restart() in &struct
417 void pcs_an_restart(struct phylink_pcs *pcs);
420 * pcs_link_up() - program the PCS for the resolved link configuration
421 * @pcs: a pointer to a &struct phylink_pcs.
427 * This call will be made just before mac_link_up() to inform the PCS of
428 * the resolved link parameters. For example, a PCS operating in SGMII
432 void pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
439 void phylink_set_pcs(struct phylink *, struct phylink_pcs *pcs);
489 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
491 int phylink_mii_c22_pcs_set_advertisement(struct mdio_device *pcs,
494 int phylink_mii_c22_pcs_config(struct mdio_device *pcs, unsigned int mode,
497 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
499 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,