Searched refs:THERMAL_NAME_LENGTH (Results 1 – 15 of 15) sorted by relevance
/linux-5.19.10/drivers/thermal/ |
D | thermal_core.h | 59 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];
|
D | thermal_hwmon.c | 24 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()
|
D | thermal_core.c | 59 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()
|
D | armada_thermal.c | 71 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()
|
D | thermal_sysfs.c | 224 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()
|
D | thermal_netlink.c | 34 .len = THERMAL_NAME_LENGTH }, 38 .len = THERMAL_NAME_LENGTH }, 45 .len = THERMAL_NAME_LENGTH },
|
/linux-5.19.10/tools/lib/thermal/include/ |
D | thermal.h | 51 char name[THERMAL_NAME_LENGTH]; 52 char governor[THERMAL_NAME_LENGTH]; 58 char name[THERMAL_NAME_LENGTH];
|
/linux-5.19.10/include/linux/ |
D | thermal.h | 148 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/ |
D | commands.c | 61 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/ |
D | thermal.h | 5 #define THERMAL_NAME_LENGTH 20 macro
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_thermal.c | 65 char ch_tz_name[THERMAL_NAME_LENGTH]; in cxgb4_thermal_init()
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 743 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/ |
D | thermometer.c | 308 char tz_type[THERMAL_NAME_LENGTH]; in thermometer_init()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 684 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/ |
D | npcm750-pwm-fan.c | 182 char name[THERMAL_NAME_LENGTH]; 846 snprintf(cdev->name, THERMAL_NAME_LENGTH, "%pOFn%d", child, in npcm7xx_create_pwm_cooling()
|