Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dthermal_sysfs.c455 tz->trip_hyst_attrs = kcalloc(tz->num_trips, in create_trip_attrs()
456 sizeof(*tz->trip_hyst_attrs), in create_trip_attrs()
458 if (!tz->trip_hyst_attrs) { in create_trip_attrs()
468 kfree(tz->trip_hyst_attrs); in create_trip_attrs()
501 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
504 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()
505 tz->trip_hyst_attrs[indx].attr.attr.name = in create_trip_attrs()
506 tz->trip_hyst_attrs[indx].name; in create_trip_attrs()
507 tz->trip_hyst_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()
508 tz->trip_hyst_attrs[indx].attr.show = trip_point_hyst_show; in create_trip_attrs()
[all …]
/openbmc/linux/include/linux/
H A Dthermal.h164 struct thermal_attr *trip_hyst_attrs; member