Lines Matching refs:s64

480 static s64 mlx90632_preprocess_temp_amb(s16 ambient_new_raw,  in mlx90632_preprocess_temp_amb()
483 s64 VR_Ta, kGb, tmp; in mlx90632_preprocess_temp_amb()
485 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_amb()
486 VR_Ta = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_amb()
487 kGb * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_amb()
490 div64_s64(((s64)ambient_new_raw * 1000000000000LL), in mlx90632_preprocess_temp_amb()
495 static s64 mlx90632_preprocess_temp_obj(s16 object_new_raw, s16 object_old_raw, in mlx90632_preprocess_temp_obj()
499 s64 VR_IR, kKa, tmp; in mlx90632_preprocess_temp_obj()
501 kKa = ((s64)Ka * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_obj()
502 VR_IR = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_obj()
503 kKa * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_obj()
506 div64_s64(((s64)((object_new_raw + object_old_raw) / 2) in mlx90632_preprocess_temp_obj()
512 static s64 mlx90632_preprocess_temp_obj_extended(s16 object_new_raw, s16 ambient_new_raw, in mlx90632_preprocess_temp_obj_extended()
515 s64 VR_IR, kKa, tmp; in mlx90632_preprocess_temp_obj_extended()
517 kKa = ((s64)Ka * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_obj_extended()
518 VR_IR = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_obj_extended()
519 kKa * div64_s64((s64)ambient_new_raw * 1000LL, in mlx90632_preprocess_temp_obj_extended()
522 div64_s64((s64) object_new_raw * 1000000000000LL, MLX90632_REF_12), in mlx90632_preprocess_temp_obj_extended()
530 s64 Asub, Bsub, Ablock, Bblock, Cblock, AMB, sum; in mlx90632_calc_temp_ambient()
534 Asub = ((s64)P_T * 10000000000LL) >> 44ULL; in mlx90632_calc_temp_ambient()
535 Bsub = AMB - (((s64)P_R * 1000LL) >> 8ULL); in mlx90632_calc_temp_ambient()
538 Cblock = ((s64)P_O * 10000000000LL) >> 8ULL; in mlx90632_calc_temp_ambient()
545 static s32 mlx90632_calc_temp_object_iteration(s32 prev_object_temp, s64 object, in mlx90632_calc_temp_object_iteration()
546 s64 TAdut, s64 TAdut4, s32 Fa, s32 Fb, in mlx90632_calc_temp_object_iteration()
550 s64 calcedKsTO, calcedKsTA, ir_Alpha, Alpha_corr; in mlx90632_calc_temp_object_iteration()
551 s64 Ha_customer, Hb_customer; in mlx90632_calc_temp_object_iteration()
553 Ha_customer = ((s64)Ha * 1000000LL) >> 14ULL; in mlx90632_calc_temp_object_iteration()
554 Hb_customer = ((s64)Hb * 100) >> 10ULL; in mlx90632_calc_temp_object_iteration()
556 calcedKsTO = ((s64)((s64)Ga * (prev_object_temp - 25 * 1000LL) in mlx90632_calc_temp_object_iteration()
558 calcedKsTA = ((s64)(Fb * (TAdut - 25 * 1000000LL))) >> 36LL; in mlx90632_calc_temp_object_iteration()
559 Alpha_corr = div64_s64((((s64)(Fa * 10000000000LL) >> 46LL) in mlx90632_calc_temp_object_iteration()
561 Alpha_corr *= ((s64)(1 * 1000000LL + calcedKsTO + calcedKsTA)); in mlx90632_calc_temp_object_iteration()
564 ir_Alpha = div64_s64((s64)object * 10000000LL, Alpha_corr); in mlx90632_calc_temp_object_iteration()
570 static s64 mlx90632_calc_ta4(s64 TAdut, s64 scale) in mlx90632_calc_ta4()
578 static s32 mlx90632_calc_temp_object(s64 object, s64 ambient, s32 Ea, s32 Eb, in mlx90632_calc_temp_object()
582 s64 kTA, kTA0, TAdut, TAdut4; in mlx90632_calc_temp_object()
583 s64 temp = 25000; in mlx90632_calc_temp_object()
600 static s32 mlx90632_calc_temp_object_extended(s64 object, s64 ambient, s64 reflected, in mlx90632_calc_temp_object_extended()
604 s64 kTA, kTA0, TAdut, TAdut4, Tr4, TaTr4; in mlx90632_calc_temp_object_extended()
605 s64 temp = 25000; in mlx90632_calc_temp_object_extended()
632 s64 object, ambient; in mlx90632_calc_object_dsp105()