Lines Matching refs:timings

48 	struct v4l2_dv_timings timings;  member
96 fmt->field = hdmi->timings.bt.interlaced ? in adv748x_hdmi_fill_format()
102 fmt->width = hdmi->timings.bt.width; in adv748x_hdmi_fill_format()
103 fmt->height = hdmi->timings.bt.height; in adv748x_hdmi_fill_format()
109 static void adv748x_fill_optional_dv_timings(struct v4l2_dv_timings *timings) in adv748x_fill_optional_dv_timings() argument
111 v4l2_find_dv_timings_cap(timings, &adv748x_hdmi_timings_cap, in adv748x_fill_optional_dv_timings()
172 const struct v4l2_dv_timings *timings) in adv748x_hdmi_set_video_timings() argument
179 if (!v4l2_match_dv_timings(timings, &stds[i].timings, 250000, in adv748x_hdmi_set_video_timings()
218 struct v4l2_dv_timings *timings) in adv748x_hdmi_s_dv_timings() argument
224 if (!timings) in adv748x_hdmi_s_dv_timings()
227 if (v4l2_match_dv_timings(&hdmi->timings, timings, 0, false)) in adv748x_hdmi_s_dv_timings()
230 if (!v4l2_valid_dv_timings(timings, &adv748x_hdmi_timings_cap, in adv748x_hdmi_s_dv_timings()
234 adv748x_fill_optional_dv_timings(timings); in adv748x_hdmi_s_dv_timings()
238 ret = adv748x_hdmi_set_video_timings(state, timings); in adv748x_hdmi_s_dv_timings()
242 hdmi->timings = *timings; in adv748x_hdmi_s_dv_timings()
245 timings->bt.interlaced ? in adv748x_hdmi_s_dv_timings()
258 struct v4l2_dv_timings *timings) in adv748x_hdmi_g_dv_timings() argument
265 *timings = hdmi->timings; in adv748x_hdmi_g_dv_timings()
273 struct v4l2_dv_timings *timings) in adv748x_hdmi_query_dv_timings() argument
277 struct v4l2_bt_timings *bt = &timings->bt; in adv748x_hdmi_query_dv_timings()
281 if (!timings) in adv748x_hdmi_query_dv_timings()
284 memset(timings, 0, sizeof(struct v4l2_dv_timings)); in adv748x_hdmi_query_dv_timings()
293 timings->type = V4L2_DV_BT_656_1120; in adv748x_hdmi_query_dv_timings()
327 adv748x_fill_optional_dv_timings(timings); in adv748x_hdmi_query_dv_timings()
334 hdmi->timings = *timings; in adv748x_hdmi_query_dv_timings()
400 struct v4l2_dv_timings timings; in adv748x_hdmi_propagate_pixelrate() local
406 adv748x_hdmi_query_dv_timings(&hdmi->sd, &timings); in adv748x_hdmi_propagate_pixelrate()
408 return adv748x_csi2_set_pixelrate(tx, timings.bt.pixelclock); in adv748x_hdmi_propagate_pixelrate()
569 static bool adv748x_hdmi_check_dv_timings(const struct v4l2_dv_timings *timings, in adv748x_hdmi_check_dv_timings() argument
576 for (i = 0; stds[i].timings.bt.width; i++) in adv748x_hdmi_check_dv_timings()
577 if (v4l2_match_dv_timings(timings, &stds[i].timings, 0, false)) in adv748x_hdmi_check_dv_timings()
584 struct v4l2_enum_dv_timings *timings) in adv748x_hdmi_enum_dv_timings() argument
586 return v4l2_enum_dv_timings_cap(timings, &adv748x_hdmi_timings_cap, in adv748x_hdmi_enum_dv_timings()
728 hdmi->timings = cea1280x720; in adv748x_hdmi_init()