Lines Matching refs:vic
818 unsigned int vic;
879 bool meson_venc_hdmi_supported_vic(int vic)
883 while (vmode->vic && vmode->mode) {
884 if (vmode->vic == vic)
918 static union meson_hdmi_venc_mode *meson_venc_hdmi_get_vic_vmode(int vic)
922 while (vmode->vic && vmode->mode) {
923 if (vmode->vic == vic)
931 bool meson_venc_hdmi_venc_repeat(int vic)
934 if (vic == 6 || vic == 7 || /* 480i */
935 vic == 21 || vic == 22 || /* 576i */
936 vic == 17 || vic == 18 || /* 576p */
937 vic == 2 || vic == 3 || /* 480p */
938 vic == 4 || /* 720p60 */
939 vic == 19 || /* 720p50 */
940 vic == 5 || /* 1080i60 */
941 vic == 20) /* 1080i50 */
948 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic,
990 if (meson_venc_hdmi_supported_vic(vic)) {
991 vmode = meson_venc_hdmi_get_vic_vmode(vic);
1005 if (meson_venc_hdmi_venc_repeat(vic))