Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c748 mlxsw_thermal_gearbox_tz_init(struct mlxsw_thermal_module *gearbox_tz) in mlxsw_thermal_gearbox_tz_init() argument
753 if (gearbox_tz->slot_index) in mlxsw_thermal_gearbox_tz_init()
755 gearbox_tz->slot_index, gearbox_tz->module + 1); in mlxsw_thermal_gearbox_tz_init()
758 gearbox_tz->module + 1); in mlxsw_thermal_gearbox_tz_init()
759 gearbox_tz->tzdev = thermal_zone_device_register(tz_name, in mlxsw_thermal_gearbox_tz_init()
762 gearbox_tz, in mlxsw_thermal_gearbox_tz_init()
765 gearbox_tz->parent->polling_delay); in mlxsw_thermal_gearbox_tz_init()
766 if (IS_ERR(gearbox_tz->tzdev)) in mlxsw_thermal_gearbox_tz_init()
767 return PTR_ERR(gearbox_tz->tzdev); in mlxsw_thermal_gearbox_tz_init()
769 ret = thermal_zone_device_enable(gearbox_tz->tzdev); in mlxsw_thermal_gearbox_tz_init()
[all …]