Searched refs:ms_since_last (Results 1 – 2 of 2) sorted by relevance
49 int fpks, fipks, ms_since_last, num_frames, num_fields; in sti_plane_update_fps() local64 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()67 if (num_frames <= 0 || ms_since_last < STI_FPS_INTERVAL_MS) in sti_plane_update_fps()74 fpks = (num_frames * 1000000) / ms_since_last; in sti_plane_update_fps()89 fipks = (num_fields * 1000000) / ms_since_last; in sti_plane_update_fps()
1531 int ms_since_last; in ltdc_plane_atomic_print_state() local1535 ms_since_last = ktime_to_ms(ktime_sub(now, fpsi->last_timestamp)); in ltdc_plane_atomic_print_state()1538 DIV_ROUND_CLOSEST(fpsi->counter * 1000, ms_since_last)); in ltdc_plane_atomic_print_state()
Completed in 11 milliseconds