Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/thermal/
Dthermal_core.h61 char name[THERMAL_NAME_LENGTH];
87 char name[THERMAL_NAME_LENGTH];
95 char attr_name[THERMAL_NAME_LENGTH];
97 char weight_attr_name[THERMAL_NAME_LENGTH];
Dthermal_hwmon.c25 char type[THERMAL_NAME_LENGTH];
101 char type[THERMAL_NAME_LENGTH]; in thermal_hwmon_lookup_by_type()
159 strscpy(hwmon->type, tz->type, THERMAL_NAME_LENGTH); in thermal_add_hwmon_sysfs()
Dthermal_core.c57 if (!strncasecmp(name, pos->name, THERMAL_NAME_LENGTH)) in __find_governor()
134 THERMAL_NAME_LENGTH); in thermal_register_governor()
152 if (!strncasecmp(name, governor->name, THERMAL_NAME_LENGTH)) { in thermal_register_governor()
185 THERMAL_NAME_LENGTH)) in thermal_unregister_governor()
1247 if (strlen(type) >= THERMAL_NAME_LENGTH) { in thermal_zone_device_register_with_trips()
1249 type, THERMAL_NAME_LENGTH); in thermal_zone_device_register_with_trips()
1506 if (!strncasecmp(name, pos->type, THERMAL_NAME_LENGTH)) { in thermal_zone_get_zone_by_name()
Dthermal_netlink.c34 .len = THERMAL_NAME_LENGTH },
38 .len = THERMAL_NAME_LENGTH },
45 .len = THERMAL_NAME_LENGTH },
Dthermal_sysfs.c238 char name[THERMAL_NAME_LENGTH]; in policy_store()
474 snprintf(tz->trip_type_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
485 snprintf(tz->trip_temp_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
501 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
Darmada_thermal.c69 char zone_name[THERMAL_NAME_LENGTH];
768 if (strlen(name) > THERMAL_NAME_LENGTH) { in armada_set_sane_name()
782 strscpy(priv->zone_name, name, THERMAL_NAME_LENGTH); in armada_set_sane_name()
/linux-6.6.21/tools/lib/thermal/include/
Dthermal.h51 char name[THERMAL_NAME_LENGTH];
52 char governor[THERMAL_NAME_LENGTH];
58 char name[THERMAL_NAME_LENGTH];
/linux-6.6.21/include/linux/
Dthermal.h157 char type[THERMAL_NAME_LENGTH];
203 char name[THERMAL_NAME_LENGTH];
212 char governor_name[THERMAL_NAME_LENGTH];
/linux-6.6.21/tools/lib/thermal/
Dcommands.c61 THERMAL_NAME_LENGTH); in parse_tz_get()
94 THERMAL_NAME_LENGTH); in parse_cdev_get()
179 THERMAL_NAME_LENGTH); in parse_tz_get_gov()
/linux-6.6.21/include/uapi/linux/
Dthermal.h5 #define THERMAL_NAME_LENGTH 20 macro
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c41 char ch_tz_name[THERMAL_NAME_LENGTH]; in cxgb4_thermal_init()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c693 BUILD_BUG_ON(ARRAY_SIZE(name) >= THERMAL_NAME_LENGTH); in iwl_mvm_thermal_zone_register()
784 BUILD_BUG_ON(ARRAY_SIZE(name) >= THERMAL_NAME_LENGTH); in iwl_mvm_cooling_device_register()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c410 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_module_tz_init()
538 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_gearbox_tz_init()
/linux-6.6.21/tools/thermal/thermometer/
Dthermometer.c308 char tz_type[THERMAL_NAME_LENGTH]; in thermometer_init()
/linux-6.6.21/drivers/hwmon/
Dnpcm750-pwm-fan.c182 char name[THERMAL_NAME_LENGTH];
846 snprintf(cdev->name, THERMAL_NAME_LENGTH, "%pOFn%d", child, in npcm7xx_create_pwm_cooling()