Searched refs:UCEL_PER_CEL (Results 1 – 2 of 2) sorted by relevance
13 #define UCEL_PER_CEL 1000000 macro46 const int temp_ucel = temp->val1 * UCEL_PER_CEL + temp->val2; in set_window()50 .val1 = low_ucel / UCEL_PER_CEL, in set_window()51 .val2 = low_ucel % UCEL_PER_CEL, in set_window()56 val.val1 = high_ucel / UCEL_PER_CEL, in set_window()57 val.val2 = high_ucel % UCEL_PER_CEL, in set_window()75 .val1 = temp_ucel / UCEL_PER_CEL, in set_window_ucel()76 .val2 = temp_ucel % UCEL_PER_CEL, in set_window_ucel()122 rc = set_window_ucel(dev, TEMP_INITIAL_CEL * UCEL_PER_CEL); in main()
16 #define UCEL_PER_CEL 1000000 macro58 sensor_val.val1 = value / UCEL_PER_CEL; in sensor_set_attribute()59 sensor_val.val2 = value % UCEL_PER_CEL; in sensor_set_attribute()71 int temp_ucel = val->val1 * UCEL_PER_CEL + val->val2; in temp_in_window()79 int temp_ucel = val->val1 * UCEL_PER_CEL + val->val2; in sensor_set_window()