Home
last modified time | relevance | path

Searched refs:cool_spec (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/
H A Dthermal_core.c763 struct cooling_spec *cool_spec) in thermal_bind_cdev_to_trip() argument
770 if (cool_spec->lower == THERMAL_NO_LIMIT) in thermal_bind_cdev_to_trip()
771 cool_spec->lower = 0; in thermal_bind_cdev_to_trip()
773 if (cool_spec->upper == THERMAL_NO_LIMIT) { in thermal_bind_cdev_to_trip()
774 cool_spec->upper = cdev->max_state; in thermal_bind_cdev_to_trip()
780 if (cool_spec->lower > cool_spec->upper || cool_spec->upper > cdev->max_state) in thermal_bind_cdev_to_trip()
789 dev->upper = cool_spec->upper; in thermal_bind_cdev_to_trip()
791 dev->lower = cool_spec->lower; in thermal_bind_cdev_to_trip()
793 dev->weight = cool_spec->weight; in thermal_bind_cdev_to_trip()