Lines Matching refs:tpf
449 struct v4l2_fract *tpf) in mt9v111_calc_frame_rate() argument
451 unsigned int fps = tpf->numerator ? in mt9v111_calc_frame_rate()
452 tpf->denominator / tpf->numerator : in mt9v111_calc_frame_rate()
453 tpf->denominator; in mt9v111_calc_frame_rate()
528 tpf->numerator = 1; in mt9v111_calc_frame_rate()
529 tpf->denominator = best_fps; in mt9v111_calc_frame_rate()
728 struct v4l2_fract *tpf = &ival->interval; in mt9v111_s_frame_interval() local
729 unsigned int fps = tpf->numerator ? in mt9v111_s_frame_interval()
730 tpf->denominator / tpf->numerator : in mt9v111_s_frame_interval()
731 tpf->denominator; in mt9v111_s_frame_interval()
734 if (!tpf->numerator) in mt9v111_s_frame_interval()
735 tpf->numerator = 1; in mt9v111_s_frame_interval()
766 mt9v111_calc_frame_rate(mt9v111, tpf); in mt9v111_s_frame_interval()
780 struct v4l2_fract *tpf = &ival->interval; in mt9v111_g_frame_interval() local
784 tpf->numerator = 1; in mt9v111_g_frame_interval()
785 tpf->denominator = mt9v111->fps; in mt9v111_g_frame_interval()
1111 struct v4l2_fract tpf; in mt9v111_probe() local
1196 tpf.numerator = 1; in mt9v111_probe()
1197 tpf.denominator = mt9v111->fps; in mt9v111_probe()
1198 mt9v111_calc_frame_rate(mt9v111, &tpf); in mt9v111_probe()