Home
last modified time | relevance | path

Searched refs:mtbr_pl (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c289 char mtbr_pl[MLXSW_REG_MTBR_LEN] = {0}; in mlxsw_hwmon_module_temp_fault_show() local
295 mlxsw_reg_mtbr_pack(mtbr_pl, mlxsw_hwmon_dev->slot_index, in mlxsw_hwmon_module_temp_fault_show()
297 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtbr), mtbr_pl); in mlxsw_hwmon_module_temp_fault_show()
303 mlxsw_reg_mtbr_temp_unpack(mtbr_pl, 0, &temp, NULL); in mlxsw_hwmon_module_temp_fault_show()
Dcore_env.c775 char mtbr_pl[MLXSW_REG_MTBR_LEN]; in mlxsw_env_module_has_temp_sensor() local
779 mlxsw_reg_mtbr_pack(mtbr_pl, slot_index, in mlxsw_env_module_has_temp_sensor()
781 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtbr), mtbr_pl); in mlxsw_env_module_has_temp_sensor()
785 mlxsw_reg_mtbr_temp_unpack(mtbr_pl, 0, &temp, NULL); in mlxsw_env_module_has_temp_sensor()