• Home
  • Raw
  • Download

Lines Matching refs:sync

28 extern int start_vo(unsigned int dev, unsigned int type, unsigned int sync);
45 static int check_vo_support(unsigned int dev, unsigned int type, unsigned int sync) in check_vo_support() argument
88 if (!(((sync >= VO_OUTPUT_1080P24) && (sync <= VO_OUTPUT_640x480_60)) || in check_vo_support()
89 ((sync >= VO_OUTPUT_1920x2160_30) && (sync <= VO_OUTPUT_4096x2160_60)))) { in check_vo_support()
90 printf("vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
96 if ((sync < VO_OUTPUT_1080P24) || in check_vo_support()
97 (sync > VO_OUTPUT_7680x4320_30)) { in check_vo_support()
98 printf("vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
105 if ((sync != VO_OUTPUT_576P50) && in check_vo_support()
106 (sync != VO_OUTPUT_720P50) && in check_vo_support()
107 (sync != VO_OUTPUT_720P60) && in check_vo_support()
108 (sync != VO_OUTPUT_1024x768_60) && in check_vo_support()
109 (sync != VO_OUTPUT_1280x1024_60) && in check_vo_support()
110 (sync != VO_OUTPUT_720x1280_60) && in check_vo_support()
111 (sync != VO_OUTPUT_1080x1920_60) && in check_vo_support()
112 (sync != VO_OUTPUT_1080P60) && in check_vo_support()
113 (sync != VO_OUTPUT_3840x2160_30) && in check_vo_support()
114 (sync != VO_OUTPUT_3840x2160_60)) { in check_vo_support()
115 printf("for MIPI(mipi_tx) intface, vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
119 if ((sync != VO_OUTPUT_576P50) && in check_vo_support()
120 (sync != VO_OUTPUT_720P50) && in check_vo_support()
121 (sync != VO_OUTPUT_720P60) && in check_vo_support()
122 (sync != VO_OUTPUT_1024x768_60) && in check_vo_support()
123 (sync != VO_OUTPUT_1280x1024_60) && in check_vo_support()
124 (sync != VO_OUTPUT_720x1280_60) && in check_vo_support()
125 (sync != VO_OUTPUT_1080x1920_60) && in check_vo_support()
126 (sync != VO_OUTPUT_1080P60)) { in check_vo_support()
127 printf("for MIPI(mipi_tx) intface, vo%u's intfsync %u illegal! \n", dev, sync); in check_vo_support()
134 if ((sync == VO_OUTPUT_576P50) || in check_vo_support()
135 (sync == VO_OUTPUT_1024x768_60)) { in check_vo_support()
170 unsigned int dev, intftype, sync; in do_startvo() local
180 sync = (unsigned int)simple_strtoul(argv[3], NULL, CMD_VO_ARGS_BASE10); in do_startvo()
181 if ((dev >= VO_DEV_BUTT) || (sync >= VO_OUTPUT_BUTT)) { in do_startvo()
186 if (check_vo_support(dev, intftype, sync)) { in do_startvo()
191 start_vo(dev, intftype, sync); in do_startvo()
197 hdmi_display(sync, 0, 2); in do_startvo()
199 hdmi_display(sync, 2, 2); in do_startvo()
205 mipi_tx_display(sync); in do_startvo()