Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/thermal/
Dthermal_core.h59 char name[THERMAL_NAME_LENGTH];
99 char name[THERMAL_NAME_LENGTH];
107 char attr_name[THERMAL_NAME_LENGTH];
109 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 strlcpy(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()
1205 if (type && strlen(type) >= THERMAL_NAME_LENGTH) { in thermal_zone_device_register()
1207 type, THERMAL_NAME_LENGTH); in thermal_zone_device_register()
1411 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.c224 char name[THERMAL_NAME_LENGTH]; in policy_store()
456 snprintf(tz->trip_type_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
467 snprintf(tz->trip_temp_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
486 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-5.19.10/tools/lib/thermal/include/
Dthermal.h51 char name[THERMAL_NAME_LENGTH];
52 char governor[THERMAL_NAME_LENGTH];
58 char name[THERMAL_NAME_LENGTH];
/linux-5.19.10/include/linux/
Dthermal.h148 char type[THERMAL_NAME_LENGTH];
192 char name[THERMAL_NAME_LENGTH];
236 char governor_name[THERMAL_NAME_LENGTH];
/linux-5.19.10/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-5.19.10/include/uapi/linux/
Dthermal.h5 #define THERMAL_NAME_LENGTH 20 macro
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c65 char ch_tz_name[THERMAL_NAME_LENGTH]; in cxgb4_thermal_init()
/linux-5.19.10/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-5.19.10/tools/thermal/thermometer/
Dthermometer.c308 char tz_type[THERMAL_NAME_LENGTH]; in thermometer_init()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c684 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_module_tz_init()
823 char tz_name[THERMAL_NAME_LENGTH]; in mlxsw_thermal_gearbox_tz_init()
/linux-5.19.10/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()