Lines Matching full:pcs
64 * @pcs_poll: MAC PCS cannot provide link change interrupt
148 * Read the current inband link state from the MAC PCS, reporting the
195 * where the PCS and MAC are not tightly integrated.)
201 * the results of in-band negotiation/status from the MAC PCS should be used
265 * complete any necessary steps after the MAC and PCS have been configured
310 * where these settings are not automatically conveyed from the PCS block,
331 * struct phylink_pcs - PHYLINK PCS instance
333 * @poll: poll the PCS for link changes
335 * This structure is designed to be embedded within the PCS private data,
336 * and will be passed between phylink and the PCS.
344 * struct phylink_pcs_ops - MAC PCS operations structure.
345 * @pcs_get_state: read the current MAC PCS link state from the hardware.
346 * @pcs_config: configure the MAC PCS for the selected mode and state.
348 * @pcs_link_up: program the PCS for the resolved link configuration
352 void (*pcs_get_state)(struct phylink_pcs *pcs,
354 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int mode,
358 void (*pcs_an_restart)(struct phylink_pcs *pcs);
359 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int mode,
366 * @pcs: a pointer to a &struct phylink_pcs.
369 * Read the current inband link state from the MAC PCS, reporting the
379 void pcs_get_state(struct phylink_pcs *pcs,
383 * pcs_config() - Configure the PCS mode and advertisement
384 * @pcs: a pointer to a &struct phylink_pcs.
390 * Configure the PCS for the operating mode, the interface mode, and set
397 * For SGMII, there is no advertisement from the MAC side, the PCS should
400 * For 1000BASE-X, the advertisement should be programmed into the PCS.
404 int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
410 * @pcs: a pointer to a &struct phylink_pcs.
412 * When PCS ops are present, this overrides mac_an_restart() in &struct
415 void pcs_an_restart(struct phylink_pcs *pcs);
418 * pcs_link_up() - program the PCS for the resolved link configuration
419 * @pcs: a pointer to a &struct phylink_pcs.
425 * This call will be made just before mac_link_up() to inform the PCS of
426 * the resolved link parameters. For example, a PCS operating in SGMII
430 void pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
437 void phylink_set_pcs(struct phylink *, struct phylink_pcs *pcs);
481 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
483 int phylink_mii_c22_pcs_set_advertisement(struct mdio_device *pcs,
486 int phylink_mii_c22_pcs_config(struct mdio_device *pcs, unsigned int mode,
489 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
491 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,