Searched refs:temp_ucel (Results 1 – 2 of 2) sorted by relevance
46 const int temp_ucel = temp->val1 * UCEL_PER_CEL + temp->val2; in set_window() local47 const int low_ucel = temp_ucel - TEMP_WINDOW_HALF_UCEL; in set_window()48 const int high_ucel = temp_ucel + TEMP_WINDOW_HALF_UCEL; in set_window()72 int temp_ucel) in set_window_ucel() argument75 .val1 = temp_ucel / UCEL_PER_CEL, in set_window_ucel()76 .val2 = temp_ucel % UCEL_PER_CEL, in set_window_ucel()
71 int temp_ucel = val->val1 * UCEL_PER_CEL + val->val2; in temp_in_window() local73 return (temp_ucel >= low_ucel) && (temp_ucel <= high_ucel); in temp_in_window()79 int temp_ucel = val->val1 * UCEL_PER_CEL + val->val2; in sensor_set_window() local81 low_ucel = temp_ucel - TEMP_WINDOW_HALF_UCEL; in sensor_set_window()82 high_ucel = temp_ucel + TEMP_WINDOW_HALF_UCEL; in sensor_set_window()