Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c113 struct mlxsw_cooling_states cooling_states[MLXSW_THERMAL_NUM_TRIPS]; member
134 struct mlxsw_cooling_states cooling_states[MLXSW_THERMAL_NUM_TRIPS]; member
401 memcpy(module_tz->cooling_states, default_cooling_states, in mlxsw_thermal_module_init()
402 sizeof(thermal->cooling_states)); in mlxsw_thermal_module_init()
404 module_tz->trips[i].priv = &module_tz->cooling_states[i]; in mlxsw_thermal_module_init()
533 memcpy(gearbox_tz->cooling_states, default_cooling_states, in mlxsw_thermal_gearboxes_init()
534 sizeof(thermal->cooling_states)); in mlxsw_thermal_gearboxes_init()
536 gearbox_tz->trips[j].priv = &gearbox_tz->cooling_states[j]; in mlxsw_thermal_gearboxes_init()
652 memcpy(thermal->cooling_states, default_cooling_states, sizeof(thermal->cooling_states)); in mlxsw_thermal_init()
654 thermal->trips[i].priv = &thermal->cooling_states[i]; in mlxsw_thermal_init()