Searched refs:cool_spec (Results 1 – 1 of 1) sorted by relevance
823 struct cooling_spec *cool_spec) in thermal_bind_cdev_to_trip() argument830 if (cool_spec->lower == THERMAL_NO_LIMIT) in thermal_bind_cdev_to_trip()831 cool_spec->lower = 0; in thermal_bind_cdev_to_trip()833 if (cool_spec->upper == THERMAL_NO_LIMIT) { in thermal_bind_cdev_to_trip()834 cool_spec->upper = cdev->max_state; in thermal_bind_cdev_to_trip()840 if (cool_spec->lower > cool_spec->upper || cool_spec->upper > cdev->max_state) in thermal_bind_cdev_to_trip()849 dev->upper = cool_spec->upper; in thermal_bind_cdev_to_trip()851 dev->lower = cool_spec->lower; in thermal_bind_cdev_to_trip()853 dev->weight = cool_spec->weight; in thermal_bind_cdev_to_trip()