Lines Matching full:pcs
126 * @ovr_an_inband: if true, override PCS to MLO_AN_INBAND
130 * are supported by the MAC/PCS.
149 * @mac_select_pcs: Select a PCS for the interface mode.
214 * mac_select_pcs: Select a PCS for the interface mode.
216 * @interface: PHY interface mode for PCS
221 * This must not modify any state. It is used to query which PCS should
224 * set the PCS that will be used.
234 * Read the current inband link state from the MAC PCS, reporting the
243 * PCS attached.
285 * in their &phylnk_config and which don't have a PCS), this function will be
294 * where the PCS and MAC are not tightly integrated.)
300 * the results of in-band negotiation/status from the MAC PCS should be used
364 * complete any necessary steps after the MAC and PCS have been configured
380 * PCS attached.
413 * where these settings are not automatically conveyed from the PCS block,
434 * struct phylink_pcs - PHYLINK PCS instance
436 * @poll: poll the PCS for link changes
438 * This structure is designed to be embedded within the PCS private data,
439 * and will be passed between phylink and the PCS.
447 * struct phylink_pcs_ops - MAC PCS operations structure.
449 * @pcs_get_state: read the current MAC PCS link state from the hardware.
450 * @pcs_config: configure the MAC PCS for the selected mode and state.
452 * @pcs_link_up: program the PCS for the resolved link configuration
456 int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported,
458 void (*pcs_get_state)(struct phylink_pcs *pcs,
460 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int mode,
464 void (*pcs_an_restart)(struct phylink_pcs *pcs);
465 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int mode,
472 * @pcs: a pointer to a &struct phylink_pcs.
484 int pcs_validate(struct phylink_pcs *pcs, unsigned long *supported,
489 * @pcs: a pointer to a &struct phylink_pcs.
492 * Read the current inband link state from the MAC PCS, reporting the
502 void pcs_get_state(struct phylink_pcs *pcs,
506 * pcs_config() - Configure the PCS mode and advertisement
507 * @pcs: a pointer to a &struct phylink_pcs.
513 * Configure the PCS for the operating mode, the interface mode, and set
520 * For SGMII, there is no advertisement from the MAC side, the PCS should
523 * For 1000BASE-X, the advertisement should be programmed into the PCS.
527 int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
533 * @pcs: a pointer to a &struct phylink_pcs.
535 * When PCS ops are present, this overrides mac_an_restart() in &struct
538 void pcs_an_restart(struct phylink_pcs *pcs);
541 * pcs_link_up() - program the PCS for the resolved link configuration
542 * @pcs: a pointer to a &struct phylink_pcs.
548 * This call will be made just before mac_link_up() to inform the PCS of
549 * the resolved link parameters. For example, a PCS operating in SGMII
553 void pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
618 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
622 int phylink_mii_c22_pcs_config(struct mdio_device *pcs, unsigned int mode,
625 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
627 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,