Lines Matching full:trips
29 * @trips: List of trip point templates for this thermal zone template.
37 * @num_trips: Number of trip points in the @trips list.
42 struct list_head trips; member
144 list_for_each_entry_safe(tt_trip, aux, &tt_zone->trips, list_node) { in tt_zone_free_trips()
197 INIT_LIST_HEAD(&tt_zone->trips); in tt_add_tz()
355 list_add_tail(&tt_trip->list_node, &tt_zone->trips); in tt_zone_add_trip()
393 struct thermal_trip *trips __free(kfree) = kzalloc_objs(*trips, in tt_zone_register_tz()
395 if (!trips) in tt_zone_register_tz()
399 list_for_each_entry(tt_trip, &tt_zone->trips, list_node) in tt_zone_register_tz()
400 trips[i++] = tt_trip->trip; in tt_zone_register_tz()
404 tz = thermal_zone_device_register_with_trips("test_tz", trips, i, tt_zone, in tt_zone_register_tz()