Lines Matching refs:fps
47 struct sti_fps_info *fps; in sti_plane_update_fps() local
53 fps = &plane->fps_info; in sti_plane_update_fps()
56 fps->curr_field_counter++; in sti_plane_update_fps()
62 fps->curr_frame_counter++; in sti_plane_update_fps()
63 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()
64 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps()
69 fps->last_timestamp = now; in sti_plane_update_fps()
70 fps->last_frame_counter = fps->curr_frame_counter; in sti_plane_update_fps()
84 if (fps->curr_field_counter) { in sti_plane_update_fps()
86 num_fields = fps->curr_field_counter - fps->last_field_counter; in sti_plane_update_fps()
87 fps->last_field_counter = fps->curr_field_counter; in sti_plane_update_fps()
96 if (fps->output) in sti_plane_update_fps()