Lines Matching +full:tx +full:- +full:device
1 // SPDX-License-Identifier: GPL-2.0+
5 * linkmode_resolve_pause - resolve the allowable pause modes
15 * Local device Link partner
19 * 0 1 1 1 TX
21 * 1 X 1 X TX+RX
47 * linkmode_set_pause - set the pause mode advertisement
49 * @tx: boolean from ethtool struct ethtool_pauseparam tx_pause member
53 * capabilities of provided in @tx and @rx.
56 * tx rx Pause AsymDir
62 * Note: this translation from ethtool tx/rx notation to the advertisement
65 * For tx=0 rx=1, meaning transmit is unsupported, receive is supported:
67 * Local device Link partner
69 * 1 1 1 0 TX + RX - but we have no TX support.
72 * For tx=1 rx=1, meaning we have the capability to transmit and receive
75 * Local device Link partner
77 * 1 0 0 1 Disabled - but since we do support tx and rx,
81 * rx=1 tx=0 gives Pause+AsymDir advertisement, but we may end up
82 * resolving to tx+rx pause or only rx pause depending on
84 * rx=0 tx=1 gives AsymDir only, which will only give tx pause if
86 * rx=1 tx=1 gives Pause only, which will only allow tx+rx pause
89 void linkmode_set_pause(unsigned long *advertisement, bool tx, bool rx) in linkmode_set_pause() argument
93 rx ^ tx); in linkmode_set_pause()