Lines Matching refs:trips
25 struct device_node *trips;
29 trips = of_get_child_by_name(np, "trips");
30 if (!trips) {
31 pr_err("Failed to find 'trips' node\n");
38 for_each_child_of_node(trips, t) {
49 of_node_put(trips);
126 struct device_node *trips, *trip;
129 trips = of_get_child_by_name(np, "trips");
130 if (!trips) {
131 pr_err("Failed to find 'trips' node\n");
135 count = of_get_child_count(trips);
151 for_each_child_of_node(trips, trip) {
157 of_node_put(trips);
165 of_node_put(trips);
441 struct thermal_trip *trips = tz->trips;
446 kfree(trips);
474 struct thermal_trip *trips;
494 trips = thermal_of_trips_init(np, &ntrips);
495 if (IS_ERR(trips)) {
497 ret = PTR_ERR(trips);
514 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips,
534 kfree(trips);