Searched refs:trip_hyst_attrs (Results 1 – 2 of 2) sorted by relevance
1380 tz->trip_hyst_attrs = kzalloc(size, GFP_KERNEL); in create_trip_attrs()1381 if (!tz->trip_hyst_attrs) { in create_trip_attrs()1424 snprintf(tz->trip_hyst_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()1427 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()1428 tz->trip_hyst_attrs[indx].attr.attr.name = in create_trip_attrs()1429 tz->trip_hyst_attrs[indx].name; in create_trip_attrs()1430 tz->trip_hyst_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()1431 tz->trip_hyst_attrs[indx].attr.show = trip_point_hyst_show; in create_trip_attrs()1433 tz->trip_hyst_attrs[indx].attr.attr.mode |= S_IWUSR; in create_trip_attrs()1434 tz->trip_hyst_attrs[indx].attr.store = in create_trip_attrs()[all …]
183 struct thermal_attr *trip_hyst_attrs; member