Lines Matching defs:video
578 DRM_DEV_ERROR(dp->dev, "set video status failed: %d\n", ret);
583 static int cdn_dp_get_msa_misc(struct video_info *video,
589 switch (video->color_fmt) {
606 switch (video->color_depth) {
625 ((video->color_fmt == Y_ONLY) ? (1 << 14) : 0);
632 struct video_info *video = &dp->video_info;
639 bit_per_pix = (video->color_fmt == YCBCR_4_2_2) ?
640 (video->color_depth * 2) : (video->color_depth * 3);
687 switch (video->color_depth) {
705 val += video->color_fmt << 8;
710 val = video->h_sync_polarity ? DP_FRAMER_SP_HSP : 0;
711 val |= video->v_sync_polarity ? DP_FRAMER_SP_VSP : 0;
733 val |= (mode->hdisplay << 16) | (video->h_sync_polarity << 15);
745 val |= (mode->vdisplay << 16) | (video->v_sync_polarity << 15);
750 val = cdn_dp_get_msa_misc(video, mode);
780 DRM_DEV_ERROR(dp->dev, "config video failed: %d\n", ret);