Lines Matching defs:link

21 	MLO_AN_FIXED,	/* Fixed-link mode */
31 * struct phylink_link_state - link state structure
32 * @advertising: ethtool bitmask containing advertised link modes
33 * @lp_advertising: ethtool bitmask containing link partner advertised link
35 * @interface: link &typedef phy_interface_t mode
36 * @speed: link speed, one of the SPEED_* constants.
37 * @duplex: link duplex mode, one of DUPLEX_* constants.
38 * @pause: link pause state, described by MLO_PAUSE_* constants.
39 * @link: true if the link is up.
50 unsigned int link:1;
64 * @pcs_poll: MAC PCS cannot provide link change interrupt
66 * if MAC link is at %MLO_AN_FIXED mode.
67 * @get_fixed_state: callback to execute to determine the fixed link state,
68 * if MAC link is at %MLO_AN_FIXED mode.
81 * @validate: Validate and update the link configuration.
82 * @mac_pcs_get_state: Read the current link state from the hardware.
87 * @mac_link_down: take the link down.
88 * @mac_link_up: allow the link to come up.
115 * validate - Validate and update the link configuration
117 * @supported: ethtool bitmask for supported link modes.
135 * MAC driver to return all supported link modes.
144 * mac_pcs_get_state() - Read the current inband link state from the hardware
148 * Read the current inband link state from the MAC PCS, reporting the
151 * negotiation completion state in @state->an_complete, and link up state
152 * in @state->link. If possible, @state->lp_advertising should also be
165 * of the link, which includes changing the interface mode or at initial
190 * @state->lp_advertising, @state->link, @state->an_complete are never
207 * Configure for non-inband negotiation mode, where the link settings
208 * are completely communicated via mac_link_up(). The physical link
223 * place the link in an inband negotiation mode (such as 802.3z
225 * mode). In both cases, link state management (whether the link
227 * mac_pcs_get_state() callback. Changes in link state must be made
232 * If in 802.3z mode, the link speed is fixed, dependent on the
239 * If in Cisco SGMII mode, the link speed and duplex mode are passed
251 * changed, flow control should be updated *without* taking the link
253 * link up status.
282 * mac_link_down() - take the link down
284 * @mode: link autonegotiation mode
285 * @interface: link &typedef phy_interface_t mode
288 * phylink_autoneg_inband()), force the link down and disable any
296 * mac_link_up() - allow the link to come up
299 * @mode: link autonegotiation mode
300 * @interface: link &typedef phy_interface_t mode
301 * @speed: link speed
302 * @duplex: link duplex
303 * @tx_pause: link transmit pause enablement status
304 * @rx_pause: link receive pause enablement status
306 * Configure the MAC for an established link.
308 * @speed, @duplex, @tx_pause and @rx_pause indicate the finalised link
318 * If in-band negotiation mode is disabled, allow the link to come up. If
333 * @poll: poll the PCS for link changes
345 * @pcs_get_state: read the current MAC PCS link state from the hardware.
348 * @pcs_link_up: program the PCS for the resolved link configuration
365 * pcs_get_state() - Read the current inband link state from the hardware
369 * Read the current inband link state from the MAC PCS, reporting the
372 * negotiation completion state in @state->an_complete, and link up state
373 * in @state->link. If possible, @state->lp_advertising should also be
387 * @advertising: adertisement ethtool link mode mask
418 * pcs_link_up() - program the PCS for the resolved link configuration
420 * @mode: link autonegotiation mode
421 * @interface: link &typedef phy_interface_t mode
422 * @speed: link speed
423 * @duplex: link duplex
426 * the resolved link parameters. For example, a PCS operating in SGMII
427 * mode without in-band AN needs to be manually configured for the link