• Home
  • Raw
  • Download

Lines Matching refs:mode

31 				      struct drm_display_mode *mode,  in mdp5_vid_encoder_mode_set()  argument
45 mode = adjusted_mode; in mdp5_vid_encoder_mode_set()
47 DBG("set mode: " DRM_MODE_FMT, DRM_MODE_ARG(mode)); in mdp5_vid_encoder_mode_set()
53 if (mode->flags & DRM_MODE_FLAG_NHSYNC) in mdp5_vid_encoder_mode_set()
55 if (mode->flags & DRM_MODE_FLAG_NVSYNC) in mdp5_vid_encoder_mode_set()
84 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp5_vid_encoder_mode_set()
85 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp5_vid_encoder_mode_set()
87 vsync_period = mode->vtotal * mode->htotal; in mdp5_vid_encoder_mode_set()
88 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp5_vid_encoder_mode_set()
89 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp5_vid_encoder_mode_set()
90 …display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_s… in mdp5_vid_encoder_mode_set()
98 display_v_start += mode->htotal - mode->hsync_start; in mdp5_vid_encoder_mode_set()
99 display_v_end -= mode->hsync_start - mode->hdisplay; in mdp5_vid_encoder_mode_set()
105 MDP5_INTF_HSYNC_CTL_PULSEW(mode->hsync_end - mode->hsync_start) | in mdp5_vid_encoder_mode_set()
106 MDP5_INTF_HSYNC_CTL_PERIOD(mode->htotal)); in mdp5_vid_encoder_mode_set()
189 struct drm_display_mode *mode, in mdp5_encoder_mode_set() argument
195 if (intf->mode == MDP5_INTF_DSI_MODE_COMMAND) in mdp5_encoder_mode_set()
196 mdp5_cmd_encoder_mode_set(encoder, mode, adjusted_mode); in mdp5_encoder_mode_set()
198 mdp5_vid_encoder_mode_set(encoder, mode, adjusted_mode); in mdp5_encoder_mode_set()
206 if (intf->mode == MDP5_INTF_DSI_MODE_COMMAND) in mdp5_encoder_disable()
219 mdp5_encoder_mode_set(encoder, &cstate->mode, &cstate->adjusted_mode); in mdp5_encoder_enable()
221 if (intf->mode == MDP5_INTF_DSI_MODE_COMMAND) in mdp5_encoder_enable()
327 intf->mode = MDP5_INTF_DSI_MODE_COMMAND; in mdp5_encoder_set_intf_mode()
330 intf->mode = MDP5_INTF_DSI_MODE_VIDEO; in mdp5_encoder_set_intf_mode()
332 intf->mode = MDP5_INTF_MODE_NONE; in mdp5_encoder_set_intf_mode()