Searched refs:cool_spec (Results 1 – 1 of 1) sorted by relevance
827 struct cooling_spec *cool_spec) in thermal_bind_cdev_to_trip() argument834 if (cool_spec->lower == THERMAL_NO_LIMIT) in thermal_bind_cdev_to_trip()835 cool_spec->lower = 0; in thermal_bind_cdev_to_trip()837 if (cool_spec->upper == THERMAL_NO_LIMIT) { in thermal_bind_cdev_to_trip()838 cool_spec->upper = cdev->max_state; in thermal_bind_cdev_to_trip()844 if (cool_spec->lower > cool_spec->upper || cool_spec->upper > cdev->max_state) in thermal_bind_cdev_to_trip()853 dev->upper = cool_spec->upper; in thermal_bind_cdev_to_trip()855 dev->lower = cool_spec->lower; in thermal_bind_cdev_to_trip()857 dev->weight = cool_spec->weight; in thermal_bind_cdev_to_trip()