Lines Matching refs:upper
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()
999 .upper = THERMAL_NO_LIMIT, in __thermal_zone_cdev_bind()
1289 if (ti->upper == cdev->max_state) in thermal_cooling_device_update()
1292 if (ti->upper < cdev->max_state) { in thermal_cooling_device_update()
1294 ti->upper = cdev->max_state; in thermal_cooling_device_update()
1299 ti->upper = cdev->max_state; in thermal_cooling_device_update()
1300 if (ti->lower > ti->upper) in thermal_cooling_device_update()
1301 ti->lower = ti->upper; in thermal_cooling_device_update()
1306 if (ti->target > ti->upper) in thermal_cooling_device_update()
1307 ti->target = ti->upper; in thermal_cooling_device_update()