Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A 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];
H A 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()
H A 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()
1252 if (strlen(type) >= THERMAL_NAME_LENGTH) { in thermal_zone_device_register_with_trips()
1254 type, THERMAL_NAME_LENGTH); in thermal_zone_device_register_with_trips()
1517 if (!strncasecmp(name, pos->type, THERMAL_NAME_LENGTH)) { in thermal_zone_get_zone_by_name()
H A Dthermal_netlink.c34 .len = THERMAL_NAME_LENGTH },
38 .len = THERMAL_NAME_LENGTH },
45 .len = THERMAL_NAME_LENGTH },
H A 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()
H A 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()
/openbmc/linux/tools/lib/thermal/include/
H A Dthermal.h51 char name[THERMAL_NAME_LENGTH];
52 char governor[THERMAL_NAME_LENGTH];
58 char name[THERMAL_NAME_LENGTH];
/openbmc/linux/include/linux/
H A Dthermal.h158 char type[THERMAL_NAME_LENGTH];
205 char name[THERMAL_NAME_LENGTH];
214 char governor_name[THERMAL_NAME_LENGTH];
/openbmc/linux/tools/lib/thermal/
H A 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()
/openbmc/linux/include/uapi/linux/
H A Dthermal.h5 #define THERMAL_NAME_LENGTH 20 macro
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_thermal.c41 char ch_tz_name[THERMAL_NAME_LENGTH]; in cxgb4_thermal_init()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
/openbmc/linux/tools/thermal/thermometer/
H A Dthermometer.c308 char tz_type[THERMAL_NAME_LENGTH]; in thermometer_init()
/openbmc/linux/drivers/hwmon/
H A Dnpcm750-pwm-fan.c186 char name[THERMAL_NAME_LENGTH];
863 snprintf(cdev->name, THERMAL_NAME_LENGTH, "%pOFn%d", child, in npcm7xx_create_pwm_cooling()
/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Dthermal-zones.yaml53 # characters in total (see THERMAL_NAME_LENGTH, including terminating NUL