Home
last modified time | relevance | path

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

/linux/drivers/thermal/
A Dthermal_core.c767 struct cooling_spec *cool_spec) in thermal_bind_cdev_to_trip() argument
775 if (cool_spec->lower == THERMAL_NO_LIMIT) in thermal_bind_cdev_to_trip()
776 cool_spec->lower = 0; in thermal_bind_cdev_to_trip()
778 if (cool_spec->upper == THERMAL_NO_LIMIT) { in thermal_bind_cdev_to_trip()
779 cool_spec->upper = cdev->max_state; in thermal_bind_cdev_to_trip()
785 if (cool_spec->lower > cool_spec->upper || cool_spec->upper > cdev->max_state) in thermal_bind_cdev_to_trip()
794 dev->upper = cool_spec->upper; in thermal_bind_cdev_to_trip()
796 dev->lower = cool_spec->lower; in thermal_bind_cdev_to_trip()
798 dev->weight = cool_spec->weight; in thermal_bind_cdev_to_trip()

Completed in 8 milliseconds