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()
199 INIT_LIST_HEAD(&tt_zone->trips); in tt_add_tz()
365 list_add_tail(&tt_trip->list_node, &tt_zone->trips); in tt_zone_add_trip()
394 struct thermal_trip *trips __free(kfree); in tt_zone_register_tz()
404 trips = kcalloc(tt_zone->num_trips, sizeof(*trips), GFP_KERNEL); in tt_zone_register_tz()
405 if (!trips) in tt_zone_register_tz()
409 list_for_each_entry(tt_trip, &tt_zone->trips, list_node) in tt_zone_register_tz()
410 trips[i++] = tt_trip->trip; in tt_zone_register_tz()
414 tz = thermal_zone_device_register_with_trips("test_tz", trips, i, tt_zone, in tt_zone_register_tz()