Lines Matching refs:device_node
44 static int thermal_of_get_trip_type(struct device_node *np, in thermal_of_get_trip_type()
63 static int thermal_of_populate_trip(struct device_node *np, in thermal_of_populate_trip()
96 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init()
102 struct device_node *trips __free(device_node) = of_get_child_by_name(np, "trips"); in thermal_of_trips_init()
126 static struct device_node *of_thermal_zone_find(struct device_node *sensor, int id) in of_thermal_zone_find()
130 struct device_node *np __free(device_node) = of_find_node_by_name(NULL, "thermal-zones"); in of_thermal_zone_find()
175 static int thermal_of_monitor_init(struct device_node *np, int *delay, int *pdelay) in thermal_of_monitor_init()
198 static void thermal_of_parameters_init(struct device_node *np, in thermal_of_parameters_init()
225 static struct device_node *thermal_of_zone_get_by_name(struct thermal_zone_device *tz) in thermal_of_zone_get_by_name()
227 struct device_node *np, *tz_np; in thermal_of_zone_get_by_name()
243 static bool thermal_of_get_cooling_spec(struct device_node *map_np, int index, in thermal_of_get_cooling_spec()
277 static bool thermal_of_cm_lookup(struct device_node *cm_np, in thermal_of_cm_lookup()
283 struct device_node *tr_np; in thermal_of_cm_lookup()
310 struct device_node *tz_np, *cm_np; in thermal_of_should_bind()
367 static struct thermal_zone_device *thermal_of_zone_register(struct device_node *sensor, int id, voi… in thermal_of_zone_register()
374 struct device_node *np; in thermal_of_zone_register()