1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2 /* Copyright (c) 2018 Mellanox Technologies. All rights reserved */ 3 4 #ifndef _MLXSW_CORE_ENV_H 5 #define _MLXSW_CORE_ENV_H 6 7 int mlxsw_env_module_temp_thresholds_get(struct mlxsw_core *core, int module, 8 int off, int *temp); 9 10 int mlxsw_env_get_module_info(struct mlxsw_core *mlxsw_core, int module, 11 struct ethtool_modinfo *modinfo); 12 13 int mlxsw_env_get_module_eeprom(struct net_device *netdev, 14 struct mlxsw_core *mlxsw_core, int module, 15 struct ethtool_eeprom *ee, u8 *data); 16 17 #endif