Home
last modified time | relevance | path

Searched refs:trip_hyst_attrs (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/thermal/
Dthermal_sysfs.c444 tz->trip_hyst_attrs = kcalloc(tz->num_trips, in create_trip_attrs()
445 sizeof(*tz->trip_hyst_attrs), in create_trip_attrs()
447 if (!tz->trip_hyst_attrs) { in create_trip_attrs()
459 kfree(tz->trip_hyst_attrs); in create_trip_attrs()
495 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
498 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()
499 tz->trip_hyst_attrs[indx].attr.attr.name = in create_trip_attrs()
500 tz->trip_hyst_attrs[indx].name; in create_trip_attrs()
501 tz->trip_hyst_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()
502 tz->trip_hyst_attrs[indx].attr.show = trip_point_hyst_show; in create_trip_attrs()
[all …]
/linux-6.1.9/include/linux/
Dthermal.h163 struct thermal_attr *trip_hyst_attrs; member