Lines Matching refs:cooling_spec
295 struct of_phandle_args cooling_spec; in __thermal_of_unbind() local
299 index, &cooling_spec); in __thermal_of_unbind()
306 of_node_put(cooling_spec.np); in __thermal_of_unbind()
308 if (cooling_spec.args_count < 2) { in __thermal_of_unbind()
313 if (cooling_spec.np != cdev->np) in __thermal_of_unbind()
326 struct of_phandle_args cooling_spec; in __thermal_of_bind() local
332 index, &cooling_spec); in __thermal_of_bind()
339 of_node_put(cooling_spec.np); in __thermal_of_bind()
341 if (cooling_spec.args_count < 2) { in __thermal_of_bind()
346 if (cooling_spec.np != cdev->np) in __thermal_of_bind()
349 ret = thermal_zone_bind_cooling_device(tz, trip_id, cdev, cooling_spec.args[1], in __thermal_of_bind()
350 cooling_spec.args[0], in __thermal_of_bind()