Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thermal/
Dthermal_core.h59 char name[THERMAL_NAME_LENGTH];
85 char name[THERMAL_NAME_LENGTH];
93 char attr_name[THERMAL_NAME_LENGTH];
95 char weight_attr_name[THERMAL_NAME_LENGTH];
Dthermal_hwmon.c24 char type[THERMAL_NAME_LENGTH];
92 char type[THERMAL_NAME_LENGTH]; in thermal_hwmon_lookup_by_type()
150 strscpy(hwmon->type, tz->type, THERMAL_NAME_LENGTH); in thermal_add_hwmon_sysfs()
Dthermal_core.c59 if (!strncasecmp(name, pos->name, THERMAL_NAME_LENGTH)) in __find_governor()
136 THERMAL_NAME_LENGTH); in thermal_register_governor()
154 if (!strncasecmp(name, governor->name, THERMAL_NAME_LENGTH)) { in thermal_register_governor()
187 THERMAL_NAME_LENGTH)) in thermal_unregister_governor()
1197 if (strlen(type) >= THERMAL_NAME_LENGTH) { in thermal_zone_device_register_with_trips()
1199 type, THERMAL_NAME_LENGTH); in thermal_zone_device_register_with_trips()
1429 if (!strncasecmp(name, pos->type, THERMAL_NAME_LENGTH)) { in thermal_zone_get_zone_by_name()
Darmada_thermal.c71 char zone_name[THERMAL_NAME_LENGTH];
750 if (strlen(name) > THERMAL_NAME_LENGTH) { in armada_set_sane_name()
764 strncpy(priv->zone_name, name, THERMAL_NAME_LENGTH - 1); in armada_set_sane_name()
765 priv->zone_name[THERMAL_NAME_LENGTH - 1] = '\0'; in armada_set_sane_name()
Dthermal_sysfs.c233 char name[THERMAL_NAME_LENGTH]; in policy_store()
465 snprintf(tz->trip_type_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
476 snprintf(tz->trip_temp_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
495 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
Dthermal_netlink.c34 .len = THERMAL_NAME_LENGTH },
38 .len = THERMAL_NAME_LENGTH },
45 .len = THERMAL_NAME_LENGTH },
/linux-6.1.9/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.1.9/include/linux/
Dthermal.h158 char type[THERMAL_NAME_LENGTH];
203 char name[THERMAL_NAME_LENGTH];
247 char governor_name[THERMAL_NAME_LENGTH];
/linux-6.1.9/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.1.9/include/uapi/linux/
Dthermal.h5 #define THERMAL_NAME_LENGTH 20 macro
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c65 char ch_tz_name[THERMAL_NAME_LENGTH]; in cxgb4_thermal_init()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c743 BUILD_BUG_ON(ARRAY_SIZE(name) >= THERMAL_NAME_LENGTH); in iwl_mvm_thermal_zone_register()
831 BUILD_BUG_ON(ARRAY_SIZE(name) >= THERMAL_NAME_LENGTH); in iwl_mvm_cooling_device_register()
/linux-6.1.9/tools/thermal/thermometer/
Dthermometer.c308 char tz_type[THERMAL_NAME_LENGTH]; in thermometer_init()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c611 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_module_tz_init()
750 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_gearbox_tz_init()
/linux-6.1.9/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()