Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Dx86_pkg_temp_thermal.c359 int thres_count, err; in pkg_temp_thermal_device_add() local
365 thres_count = ebx & 0x07; in pkg_temp_thermal_device_add()
366 if (!thres_count) in pkg_temp_thermal_device_add()
369 thres_count = clamp_val(thres_count, 0, MAX_NUMBER_OF_TRIPS); in pkg_temp_thermal_device_add()
383 thres_count, in pkg_temp_thermal_device_add()
384 (thres_count == MAX_NUMBER_OF_TRIPS) ? 0x03 : 0x01, in pkg_temp_thermal_device_add()