Searched refs:trip_hyst_attrs (Results 1 – 2 of 2) sorted by relevance
515 tz->trip_hyst_attrs = kcalloc(tz->trips, in create_trip_attrs()516 sizeof(*tz->trip_hyst_attrs), in create_trip_attrs()518 if (!tz->trip_hyst_attrs) { in create_trip_attrs()530 kfree(tz->trip_hyst_attrs); in create_trip_attrs()566 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()569 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()570 tz->trip_hyst_attrs[indx].attr.attr.name = in create_trip_attrs()571 tz->trip_hyst_attrs[indx].name; in create_trip_attrs()572 tz->trip_hyst_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()573 tz->trip_hyst_attrs[indx].attr.show = trip_point_hyst_show; in create_trip_attrs()[all …]
157 struct thermal_attr *trip_hyst_attrs; member