Searched refs:JC42_TEMP_SCALE_CEL (Results 1 – 3 of 3) sorted by relevance
85 val->val1 = temp / JC42_TEMP_SCALE_CEL; in jc42_channel_get()86 temp -= val->val1 * JC42_TEMP_SCALE_CEL; in jc42_channel_get()87 val->val2 = (temp * 1000000) / JC42_TEMP_SCALE_CEL; in jc42_channel_get()
46 temp = val->val1 * JC42_TEMP_SCALE_CEL; in jc42_attr_set()47 temp += (JC42_TEMP_SCALE_CEL * val->val2) / 1000000; in jc42_attr_set()
53 #define JC42_TEMP_SCALE_CEL 16 /* signed */ macro