Searched refs:drm_mode (Results 1 – 6 of 6) sorted by relevance
164 struct drm_display_mode *drm_mode; in drm_cvt_mode() local172 drm_mode = drm_mode_create(dev); in drm_cvt_mode()173 if (!drm_mode) in drm_cvt_mode()196 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()209 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()258 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()278 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode()282 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode()283 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode()284 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);
4 header-y += drm_mode.h
466 struct drm_display_mode *drm_mode, in nv17_tv_mode_set() argument