Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Dthermal_sysfs.c531 tz->trip_hyst_attrs = kcalloc(tz->trips, in create_trip_attrs()
532 sizeof(*tz->trip_hyst_attrs), in create_trip_attrs()
534 if (!tz->trip_hyst_attrs) { in create_trip_attrs()
546 kfree(tz->trip_hyst_attrs); in create_trip_attrs()
582 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
585 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()
586 tz->trip_hyst_attrs[indx].attr.attr.name = in create_trip_attrs()
587 tz->trip_hyst_attrs[indx].name; in create_trip_attrs()
588 tz->trip_hyst_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()
589 tz->trip_hyst_attrs[indx].attr.show = trip_point_hyst_show; in create_trip_attrs()
[all …]
/Linux-v4.19/include/linux/
Dthermal.h198 struct thermal_attr *trip_hyst_attrs; member