Lines Matching full:trips
102 struct device_node *trips __free(device_node) = of_get_child_by_name(np, "trips"); in thermal_of_trips_init()
103 if (!trips) in thermal_of_trips_init()
106 count = of_get_child_count(trips); in thermal_of_trips_init()
115 for_each_child_of_node_scoped(trips, trip) { in thermal_of_trips_init()
372 struct thermal_trip *trips; in thermal_of_zone_register() local
387 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register()
388 if (IS_ERR(trips)) { in thermal_of_zone_register()
390 ret = PTR_ERR(trips); in thermal_of_zone_register()
394 if (!trips) in thermal_of_zone_register()
412 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips, in thermal_of_zone_register()
422 kfree(trips); in thermal_of_zone_register()
435 kfree(trips); in thermal_of_zone_register()