Lines Matching defs:timings
21 #include <linux/v4l2-dv-timings.h>
25 #include <media/v4l2-dv-timings.h>
43 * @timings: current HDTV timings
59 struct v4l2_dv_timings timings;
304 * standard, HDTV timings or the video input would require updating the
319 pix->width = skel->timings.bt.width;
320 pix->height = skel->timings.bt.height;
321 if (skel->timings.bt.interlaced) {
477 struct v4l2_dv_timings *timings)
486 if (!v4l2_valid_dv_timings(timings, &skel_timings_cap, NULL, NULL))
489 /* Check if the timings are part of the CEA-861 timings. */
490 if (!v4l2_find_dv_timings_cap(timings, &skel_timings_cap,
494 /* Return 0 if the new timings are the same as the current timings. */
495 if (v4l2_match_dv_timings(timings, &skel->timings, 0, false))
499 * Changing the timings implies a format change, which is not allowed
505 /* TODO: Configure new timings */
507 /* Save timings */
508 skel->timings = *timings;
516 struct v4l2_dv_timings *timings)
524 *timings = skel->timings;
529 struct v4l2_enum_dv_timings *timings)
537 return v4l2_enum_dv_timings_cap(timings, &skel_timings_cap,
542 * Query the current timings as seen by the hardware. This function shall
543 * never actually change the timings, it just detects and reports.
551 struct v4l2_dv_timings *timings)
561 * Query currently seen timings. This function should look
574 timings, true);
739 * the driver should be complete. So the initial format, standard, timings
744 /* The initial timings are chosen to be 720p60. */
780 skel->timings = timings_def;