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.
43 * enum ethtool_phys_id_state - indicator state for physical identification
59 ETH_RSS_HASH_TOP_BIT, /* Configurable RSS hash function - Toeplitz */
60 ETH_RSS_HASH_XOR_BIT, /* Configurable RSS hash function - Xor */
61 ETH_RSS_HASH_CRC32_BIT, /* Configurable RSS hash function - Crc32 */
88 * struct ethtool_link_ext_state_info - link extended state and substate.
103 * ethtool_rxfh_indir_default - get default value for RX flow hash indirection
107 * This function provides the default policy for RX flow hash indirection.
131 * ethtool_link_ksettings_zero_link_mode - clear link_ksettings link mode mask
136 bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS)
139 * ethtool_link_ksettings_add_link_mode - set bit in link_ksettings
147 __set_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
150 * ethtool_link_ksettings_del_link_mode - clear bit in link_ksettings
158 __clear_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
161 * ethtool_link_ksettings_test_link_mode - test bit in ksettings link mode mask
170 test_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
177 * ethtool_intersect_link_masks - Given two link masks, AND them together
244 * struct ethtool_pause_stats - statistics for IEEE 802.3x pause frames
263 * struct ethtool_ops - optional netdev operations
269 * @get_regs_len: Get buffer length required for @get_regs
271 * @get_wol: Report whether Wake-on-Lan is enabled
272 * @set_wol: Turn Wake-on-Lan on or off. Returns a negative error code
285 * and link_ext_substate are unknown, return -ENODATA. If not implemented,
288 * Should fill in the magic field. Don't need to check len for zero
293 * Should validate the magic field. Don't need to check len for zero
309 * @self_test: Run specified self-tests
316 * a negative error or return a positive frequency for synchronous
317 * indication (e.g. 1 for one on/off cycle per second). If it returns
330 * @get_priv_flags: Report driver-specific feature flags.
331 * @set_priv_flags: Set driver-specific feature flags. Returns a negative
344 * Returns zero if not supported for this specific device.
346 * Returns zero if not supported for this specific device.
375 * a plug-in module.
376 * @get_module_eeprom: Get the eeprom information from the plug-in module
377 * @get_eee: Get Energy-Efficient (EEE) supported and status.
381 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
386 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
402 * @get_ethtool_phy_stats: Return extended statistics about the PHY device.
403 * This is only useful if the device maintains PHY statistics and
404 * cannot use the standard PHY library helpers.
410 * See the structures used by these operations for further documentation.
411 * Note that for all operations using a structure ending with a zero-
415 * See &struct net_device and &struct net_device_ops for documentation
542 * struct ethtool_phy_ops - Optional PHY device options
545 * @get_stats: Return extended statistics about the PHY device.
546 * @start_cable_test - Start a cable test
547 * @start_cable_test_tdr - Start a Time Domain Reflectometry cable test
565 * ethtool_set_ethtool_phy_ops - Set the ethtool_phy_ops singleton
566 * @ops: Ethtool PHY operations to set