Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c42 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_show() local
46 mlxsw_reg_mtmp_pack(mtmp_pl, mlwsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_show()
48 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_show()
53 mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); in mlxsw_hwmon_temp_show()
64 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_max_show() local
68 mlxsw_reg_mtmp_pack(mtmp_pl, mlwsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_max_show()
70 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_max_show()
75 mlxsw_reg_mtmp_unpack(mtmp_pl, NULL, &temp_max, NULL); in mlxsw_hwmon_temp_max_show()
86 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_rst_store() local
96 mlxsw_reg_mtmp_pack(mtmp_pl, mlwsw_hwmon_attr->type_index, true, true); in mlxsw_hwmon_temp_rst_store()
[all …]
Dcore_thermal.c182 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_get_temp() local
186 mlxsw_reg_mtmp_pack(mtmp_pl, 0, false, false); in mlxsw_thermal_get_temp()
188 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_get_temp()
193 mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); in mlxsw_thermal_get_temp()