Searched refs:trip_hyst_attrs (Results 1 – 2 of 2) sorted by relevance
1688 tz->trip_hyst_attrs = kzalloc(size, GFP_KERNEL); in create_trip_attrs()1689 if (!tz->trip_hyst_attrs) { in create_trip_attrs()1733 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()1736 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()1737 tz->trip_hyst_attrs[indx].attr.attr.name = in create_trip_attrs()1738 tz->trip_hyst_attrs[indx].name; in create_trip_attrs()1739 tz->trip_hyst_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()1740 tz->trip_hyst_attrs[indx].attr.show = trip_point_hyst_show; in create_trip_attrs()1742 tz->trip_hyst_attrs[indx].attr.attr.mode |= S_IWUSR; in create_trip_attrs()1743 tz->trip_hyst_attrs[indx].attr.store = in create_trip_attrs()[all …]
192 struct thermal_attr *trip_hyst_attrs; member