Searched refs:ms_since_last (Results 1 – 2 of 2) sorted by relevance
48 int fpks, fipks, ms_since_last, num_frames, num_fields; in sti_plane_update_fps() local63 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()66 if (num_frames <= 0 || ms_since_last < STI_FPS_INTERVAL_MS) in sti_plane_update_fps()73 fpks = (num_frames * 1000000) / ms_since_last; in sti_plane_update_fps()88 fipks = (num_fields * 1000000) / ms_since_last; in sti_plane_update_fps()
1438 int ms_since_last; in ltdc_plane_atomic_print_state() local1442 ms_since_last = ktime_to_ms(ktime_sub(now, fpsi->last_timestamp)); in ltdc_plane_atomic_print_state()1445 DIV_ROUND_CLOSEST(fpsi->counter * 1000, ms_since_last)); in ltdc_plane_atomic_print_state()