Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_hwmon.c73 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_show() local
98 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_max_show() local
123 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_rst_store() local
142 mlxsw_reg_mtmp_mte_set(mtmp_pl, true); in mlxsw_hwmon_temp_rst_store()
143 mlxsw_reg_mtmp_mtr_set(mtmp_pl, true); in mlxsw_hwmon_temp_rst_store()
250 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_module_temp_get() local
622 mlxsw_reg_mtmp_slot_index_set(mtmp_pl, in mlxsw_hwmon_temp_init()
626 mtmp_pl); in mlxsw_hwmon_temp_init()
632 MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_init()
741 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_gearbox_init() local
[all …]
H A Dcore_thermal.c191 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_get_temp() local
195 mlxsw_reg_mtmp_pack(mtmp_pl, 0, 0, false, false); in mlxsw_thermal_get_temp()
197 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_get_temp()
202 mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL, NULL, NULL); in mlxsw_thermal_get_temp()
241 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_module_temp_get() local
246 mlxsw_reg_mtmp_pack(mtmp_pl, tz->slot_index, sensor_index, in mlxsw_thermal_module_temp_get()
248 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_module_temp_get()
251 mlxsw_reg_mtmp_unpack(mtmp_pl, p_temp, NULL, NULL, NULL, NULL); in mlxsw_thermal_module_temp_get()
265 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_gearbox_temp_get() local
273 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_gearbox_temp_get()
[all …]
H A Dcore_env.c217 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_env_module_temp_thresholds_get() local
223 mlxsw_reg_mtmp_pack(mtmp_pl, slot_index, in mlxsw_env_module_temp_thresholds_get()
226 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_module_temp_thresholds_get()
229 mlxsw_reg_mtmp_unpack(mtmp_pl, &module_temp, NULL, &module_crit, in mlxsw_env_module_temp_thresholds_get()
859 char mtmp_pl[MLXSW_REG_MTMP_LEN] = {0}; in mlxsw_env_temp_event_set() local
863 mlxsw_reg_mtmp_slot_index_set(mtmp_pl, slot_index); in mlxsw_env_temp_event_set()
864 mlxsw_reg_mtmp_sensor_index_set(mtmp_pl, sensor_index); in mlxsw_env_temp_event_set()
865 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_temp_event_set()
889 mlxsw_reg_mtmp_temperature_threshold_hi_set(mtmp_pl, threshold_hi); in mlxsw_env_temp_event_set()
894 mlxsw_reg_mtmp_tee_set(mtmp_pl, tee); in mlxsw_env_temp_event_set()
[all …]