Lines Matching +full:need +full:- +full:phy +full:- +full:for +full:- +full:wake

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ethtool.h: Defines for Linux ethtool.
46 * enum ethtool_phys_id_state - indicator state for physical identification
62 ETH_RSS_HASH_TOP_BIT, /* Configurable RSS hash function - Toeplitz */
63 ETH_RSS_HASH_XOR_BIT, /* Configurable RSS hash function - Xor */
64 ETH_RSS_HASH_CRC32_BIT, /* Configurable RSS hash function - Crc32 */
91 * struct ethtool_link_ext_state_info - link extended state and substate.
106 * ethtool_rxfh_indir_default - get default value for RX flow hash indirection
110 * This function provides the default policy for RX flow hash indirection.
134 * ethtool_link_ksettings_zero_link_mode - clear link_ksettings link mode mask
139 bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS)
142 * ethtool_link_ksettings_add_link_mode - set bit in link_ksettings
150 __set_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
153 * ethtool_link_ksettings_del_link_mode - clear bit in link_ksettings
161 __clear_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
164 * ethtool_link_ksettings_test_link_mode - test bit in ksettings link mode mask
173 test_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
180 * ethtool_intersect_link_masks - Given two link masks, AND them together
247 * struct ethtool_pause_stats - statistics for IEEE 802.3x pause frames
266 * struct ethtool_ops - optional netdev operations
272 * @get_regs_len: Get buffer length required for @get_regs
274 * @get_wol: Report whether Wake-on-Lan is enabled
275 * @set_wol: Turn Wake-on-Lan on or off. Returns a negative error code
288 * and link_ext_substate are unknown, return -ENODATA. If not implemented,
291 * Should fill in the magic field. Don't need to check len for zero
296 * Should validate the magic field. Don't need to check len for zero
312 * @self_test: Run specified self-tests
319 * a negative error or return a positive frequency for synchronous
320 * indication (e.g. 1 for one on/off cycle per second). If it returns
333 * @get_priv_flags: Report driver-specific feature flags.
334 * @set_priv_flags: Set driver-specific feature flags. Returns a negative
347 * Returns zero if not supported for this specific device.
349 * Returns zero if not supported for this specific device.
378 * a plug-in module.
379 * @get_module_eeprom: Get the eeprom information from the plug-in module
380 * @get_eee: Get Energy-Efficient (EEE) supported and status.
384 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
389 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
405 * @get_ethtool_phy_stats: Return extended statistics about the PHY device.
406 * This is only useful if the device maintains PHY statistics and
407 * cannot use the standard PHY library helpers.
413 * See the structures used by these operations for further documentation.
414 * Note that for all operations using a structure ending with a zero-
418 * See &struct net_device and &struct net_device_ops for documentation
540 * struct ethtool_phy_ops - Optional PHY device options
543 * @get_stats: Return extended statistics about the PHY device.
544 * @start_cable_test - Start a cable test
545 * @start_cable_test_tdr - Start a Time Domain Reflectometry cable test
563 * ethtool_set_ethtool_phy_ops - Set the ethtool_phy_ops singleton
564 * @ops: Ethtool PHY operations to set