Lines Matching defs: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);
128 struct device_node *trips, *trip;
131 trips = of_get_child_by_name(np, "trips");
132 if (!trips) {
133 pr_err("Failed to find 'trips' node\n");
137 count = of_get_child_count(trips);
153 for_each_child_of_node(trips, trip) {
159 of_node_put(trips);
167 of_node_put(trips);
476 struct thermal_trip *trips;
491 trips = thermal_of_trips_init(np, &ntrips);
492 if (IS_ERR(trips)) {
494 return ERR_CAST(trips);
513 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips,
522 kfree(trips);
535 kfree(trips);