Searched refs:mtmp_pl (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_hwmon.c | 63 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_show() local 86 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_temp_max_show() local 109 char mtmp_pl[MLXSW_REG_MTMP_LEN] = {0}; in mlxsw_hwmon_temp_rst_store() local 127 mlxsw_reg_mtmp_mte_set(mtmp_pl, true); in mlxsw_hwmon_temp_rst_store() 128 mlxsw_reg_mtmp_mtr_set(mtmp_pl, true); in mlxsw_hwmon_temp_rst_store() 230 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_module_temp_get() local 593 mtmp_pl); in mlxsw_hwmon_temp_init() 596 mlxsw_reg_mtmp_mte_set(mtmp_pl, true); in mlxsw_hwmon_temp_init() 599 MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_init() 708 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_hwmon_gearbox_init() local [all …]
|
A D | core_thermal.c | 270 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_get_temp() local 274 mlxsw_reg_mtmp_pack(mtmp_pl, 0, false, false); in mlxsw_thermal_get_temp() 276 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_get_temp() 281 mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL, NULL, NULL); in mlxsw_thermal_get_temp() 426 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_module_temp_and_thresholds_get() local 430 mlxsw_reg_mtmp_pack(mtmp_pl, sensor_index, false, false); in mlxsw_thermal_module_temp_and_thresholds_get() 431 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_module_temp_and_thresholds_get() 569 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_thermal_gearbox_temp_get() local 575 mlxsw_reg_mtmp_pack(mtmp_pl, index, false, false); in mlxsw_thermal_gearbox_temp_get() 577 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_gearbox_temp_get() [all …]
|
A D | core_env.c | 139 char mtmp_pl[MLXSW_REG_MTMP_LEN]; in mlxsw_env_module_temp_thresholds_get() local 145 mlxsw_reg_mtmp_pack(mtmp_pl, MLXSW_REG_MTMP_MODULE_INDEX_MIN + module, in mlxsw_env_module_temp_thresholds_get() 147 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_module_temp_thresholds_get() 150 mlxsw_reg_mtmp_unpack(mtmp_pl, &module_temp, NULL, &module_crit, in mlxsw_env_module_temp_thresholds_get() 627 char mtmp_pl[MLXSW_REG_MTMP_LEN] = {0}; in mlxsw_env_temp_event_set() local 631 mlxsw_reg_mtmp_sensor_index_set(mtmp_pl, sensor_index); in mlxsw_env_temp_event_set() 632 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_temp_event_set() 655 mlxsw_reg_mtmp_temperature_threshold_hi_set(mtmp_pl, threshold_hi); in mlxsw_env_temp_event_set() 656 mlxsw_reg_mtmp_temperature_threshold_lo_set(mtmp_pl, threshold_hi - in mlxsw_env_temp_event_set() 660 mlxsw_reg_mtmp_tee_set(mtmp_pl, tee); in mlxsw_env_temp_event_set() [all …]
|
Completed in 11 milliseconds