Searched refs:tz_name (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/thermal/tmon/ |
H A D | sysfs.c | 183 tz_name, tp_id, temp_ulong, d_name); in find_tzone_tp() 189 get_trip_point_data(tz_name, tz_id, tp_id); in find_tzone_tp() 218 tz_name, nl->d_name); in find_tzone_cdev() 233 sysfs_get_ulong(tz_name, cdev_trip_name, in find_tzone_cdev() 284 char tz_name[256]; in scan_tzones() local 291 memset(tz_name, 0, sizeof(tz_name)); in scan_tzones() 294 dir = opendir(tz_name); in scan_tzones() 321 if (!find_tzone_cdev(namelist[n], tz_name, in scan_tzones() 483 char tz_name[256]; in update_thermal_data() local 500 memset(tz_name, 0, sizeof(tz_name)); in update_thermal_data() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_thermal.c | 410 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_module_tz_init() local 414 snprintf(tz_name, sizeof(tz_name), "mlxsw-lc%d-module%d", in mlxsw_thermal_module_tz_init() 417 snprintf(tz_name, sizeof(tz_name), "mlxsw-module%d", in mlxsw_thermal_module_tz_init() 419 module_tz->tzdev = thermal_zone_device_register_with_trips(tz_name, in mlxsw_thermal_module_tz_init() 538 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_gearbox_tz_init() local 542 snprintf(tz_name, sizeof(tz_name), "mlxsw-lc%d-gearbox%d", in mlxsw_thermal_gearbox_tz_init() 545 snprintf(tz_name, sizeof(tz_name), "mlxsw-gearbox%d", in mlxsw_thermal_gearbox_tz_init() 547 gearbox_tz->tzdev = thermal_zone_device_register_with_trips(tz_name, in mlxsw_thermal_gearbox_tz_init()
|