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 */
102 * ethtool_rxfh_indir_default - get default value for RX flow hash indirection
106 * 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)
182 * ethtool_intersect_link_masks - Given two link masks, AND them together
255 while (n--) in ethtool_stats_init()
287 /* Basic IEEE 802.3 PHY statistics (30.3.2.1.*), not otherwise exposed
304 * struct ethtool_pause_stats - statistics for IEEE 802.3x pause frames
325 * struct ethtool_fec_stats - statistics for IEEE 802.3 FEC
338 * not entire FEC data blocks. This is a non-standard statistic.
341 * @lane: per-lane/PCS-instance counts as defined by the standard
342 * @total: error counts for the entire port, for drivers incapable of reporting
343 * per-lane stats
345 * Drivers should fill in either only total or per-lane statistics, core
356 * struct ethtool_rmon_hist_range - byte range for histogram statistics
368 * struct ethtool_rmon_stats - selected RMON (RFC 2819) statistics
373 * @hist: Packet counter for packet length buckets (e.g.
378 * APIs, primarily the packet-length-based counters.
397 * struct ethtool_module_eeprom - EEPROM dump from specified page
419 * struct ethtool_ops - optional netdev operations
427 * @get_regs_len: Get buffer length required for @get_regs
429 * @get_wol: Report whether Wake-on-Lan is enabled
430 * @set_wol: Turn Wake-on-Lan on or off. Returns a negative error code
443 * and link_ext_substate are unknown, return -ENODATA. If not implemented,
445 * @get_eeprom_len: Read range of EEPROM addresses for validation of
449 * Should fill in the magic field. Don't need to check len for zero
454 * Should validate the magic field. Don't need to check len for zero
470 * @self_test: Run specified self-tests
477 * a negative error or return a positive frequency for synchronous
478 * indication (e.g. 1 for one on/off cycle per second). If it returns
491 * @get_priv_flags: Report driver-specific feature flags.
492 * @set_priv_flags: Set driver-specific feature flags. Returns a negative
505 * Returns zero if not supported for this specific device.
507 * Returns zero if not supported for this specific device.
536 * a plug-in module.
537 * @get_module_eeprom: Get the eeprom information from the plug-in module
538 * @get_eee: Get Energy-Efficient (EEE) supported and status.
544 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
549 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
564 * Core will sum up per-lane stats to get the total.
570 * @get_ethtool_phy_stats: Return extended statistics about the PHY device.
571 * This is only useful if the device maintains PHY statistics and
572 * cannot use the standard PHY library helpers.
573 * @get_phy_tunable: Read the value of a PHY tunable.
574 * @set_phy_tunable: Set the value of a PHY tunable.
575 * @get_module_eeprom_by_page: Get a region of plug-in module EEPROM data from
578 * @get_eth_phy_stats: Query some of the IEEE 802.3 PHY statistics.
582 * Set %ranges to a pointer to zero-terminated array of byte ranges.
588 * See the structures used by these operations for further documentation.
589 * Note that for all operations using a structure ending with a zero-
593 * See &struct net_device and &struct net_device_ops for documentation
735 * struct ethtool_phy_ops - Optional PHY device options
738 * @get_stats: Return extended statistics about the PHY device.
758 * ethtool_set_ethtool_phy_ops - Set the ethtool_phy_ops singleton
759 * @ops: Ethtool PHY operations to set
764 * ethtool_params_from_link_mode - Derive link parameters from a given link mode
773 * ethtool_get_phc_vclocks - Derive phc vclocks information, and caller
783 * ethtool_sprintf - Write formatted string to ethtool string data