Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/thermal/
A Dthermal_sysfs.c447 tz->trip_temp_attrs = kcalloc(tz->num_trips, sizeof(*tz->trip_temp_attrs), in create_trip_attrs()
449 if (!tz->trip_temp_attrs) { in create_trip_attrs()
459 kfree(tz->trip_temp_attrs); in create_trip_attrs()
466 kfree(tz->trip_temp_attrs); in create_trip_attrs()
487 sysfs_attr_init(&tz->trip_temp_attrs[indx].attr.attr); in create_trip_attrs()
488 tz->trip_temp_attrs[indx].attr.attr.name = in create_trip_attrs()
489 tz->trip_temp_attrs[indx].name; in create_trip_attrs()
490 tz->trip_temp_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()
494 tz->trip_temp_attrs[indx].attr.attr.mode |= S_IWUSR; in create_trip_attrs()
495 tz->trip_temp_attrs[indx].attr.store = in create_trip_attrs()
[all …]
/linux-6.3-rc2/include/linux/
A Dthermal.h161 struct thermal_attr *trip_temp_attrs; member

Completed in 6 milliseconds