/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _EEE_H #define _EEE_H #include <linux/types.h> struct eee_config { … }; static inline bool eeecfg_mac_can_tx_lpi(const struct eee_config *eeecfg) { … } static inline void eeecfg_to_eee(struct ethtool_keee *eee, const struct eee_config *eeecfg) { … } static inline void eee_to_eeecfg(struct eee_config *eeecfg, const struct ethtool_keee *eee) { … } #endif