Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c54 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_show() local
60 mlxsw_reg_mtmp_pack(mtmp_pl, index, false, false); in mlxsw_hwmon_temp_show()
61 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_show()
66 mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); in mlxsw_hwmon_temp_show()
77 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_max_show() local
83 mlxsw_reg_mtmp_pack(mtmp_pl, index, false, false); in mlxsw_hwmon_temp_max_show()
84 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_max_show()
89 mlxsw_reg_mtmp_unpack(mtmp_pl, NULL, &temp_max, NULL); in mlxsw_hwmon_temp_max_show()
100 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_rst_store() local
113 mlxsw_reg_mtmp_pack(mtmp_pl, index, true, true); in mlxsw_hwmon_temp_rst_store()
[all …]
Dcore_env.c95 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_env_module_temp_thresholds_get() local
100 mlxsw_reg_mtmp_pack(mtmp_pl, MLXSW_REG_MTMP_MODULE_INDEX_MIN + module, in mlxsw_env_module_temp_thresholds_get()
102 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_module_temp_thresholds_get()
105 mlxsw_reg_mtmp_unpack(mtmp_pl, &module_temp, NULL, NULL); in mlxsw_env_module_temp_thresholds_get()
Dcore_thermal.c314 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_get_temp() local
318 mlxsw_reg_mtmp_pack(mtmp_pl, 0, false, false); in mlxsw_thermal_get_temp()
320 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_get_temp()
325 mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); in mlxsw_thermal_get_temp()
505 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_module_temp_get() local
510 mlxsw_reg_mtmp_pack(mtmp_pl, MLXSW_REG_MTMP_MODULE_INDEX_MIN + in mlxsw_thermal_module_temp_get()
512 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_module_temp_get()
521 mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); in mlxsw_thermal_module_temp_get()
614 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_gearbox_temp_get() local
620 mlxsw_reg_mtmp_pack(mtmp_pl, index, false, false); in mlxsw_thermal_gearbox_temp_get()
[all …]