Searched refs:drm_mode (Results 1 – 7 of 7) sorted by relevance
155 struct drm_display_mode *drm_mode; in drm_cvt_mode() local167 drm_mode = drm_mode_create(dev); in drm_cvt_mode()168 if (!drm_mode) in drm_cvt_mode()191 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()204 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()253 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()273 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode()277 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode()278 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode()279 drm_mode->hsync_start = drm_mode->hsync_end - in drm_cvt_mode()[all …]
175 const struct drm_display_mode *drm_mode) in ch7006_lookup_mode() argument185 if (mode->mode.hdisplay != drm_mode->hdisplay || in ch7006_lookup_mode()186 mode->mode.vdisplay != drm_mode->vdisplay || in ch7006_lookup_mode()187 mode->mode.vtotal != drm_mode->vtotal || in ch7006_lookup_mode()188 mode->mode.htotal != drm_mode->htotal || in ch7006_lookup_mode()189 mode->mode.clock != drm_mode->clock) in ch7006_lookup_mode()
114 struct drm_display_mode *drm_mode, in ch7006_encoder_mode_set() argument141 start_active = (drm_mode->htotal & ~0x7) - (drm_mode->hsync_start & ~0x7); in ch7006_encoder_mode_set()150 if (drm_mode->flags & DRM_MODE_FLAG_PVSYNC) in ch7006_encoder_mode_set()152 if (drm_mode->flags & DRM_MODE_FLAG_PHSYNC) in ch7006_encoder_mode_set()
114 const struct drm_display_mode *drm_mode);
336 .. kernel-doc:: include/uapi/drm/drm_mode.h339 .. kernel-doc:: include/uapi/drm/drm_mode.h
3438 decide_crtc_timing_for_drm_display_mode(struct drm_display_mode *drm_mode, in decide_crtc_timing_for_drm_display_mode() argument3443 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode()3444 } else if (native_mode->clock == drm_mode->clock && in decide_crtc_timing_for_drm_display_mode()3445 native_mode->htotal == drm_mode->htotal && in decide_crtc_timing_for_drm_display_mode()3446 native_mode->vtotal == drm_mode->vtotal) { in decide_crtc_timing_for_drm_display_mode()3447 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode()3524 const struct drm_display_mode *drm_mode, in create_stream_for_sink() argument3533 struct drm_display_mode mode = *drm_mode; in create_stream_for_sink()
458 struct drm_display_mode *drm_mode, in nv17_tv_mode_set() argument