Lines Matching refs:drm_mode
346 dp_catalog_panel_tpg_enable(catalog, &panel->dp_panel.dp_mode.drm_mode); in dp_panel_tpg_config()
365 struct drm_display_mode *drm_mode; in dp_panel_timing_cfg() local
369 drm_mode = &panel->dp_panel.dp_mode.drm_mode; in dp_panel_timing_cfg()
372 drm_mode->hdisplay, drm_mode->htotal - drm_mode->hsync_end, in dp_panel_timing_cfg()
373 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_timing_cfg()
374 drm_mode->hsync_end - drm_mode->hsync_start); in dp_panel_timing_cfg()
377 drm_mode->vdisplay, drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_timing_cfg()
378 drm_mode->vsync_start - drm_mode->vdisplay, in dp_panel_timing_cfg()
379 drm_mode->vsync_end - drm_mode->vsync_start); in dp_panel_timing_cfg()
381 total_hor = drm_mode->htotal; in dp_panel_timing_cfg()
383 total_ver = drm_mode->vtotal; in dp_panel_timing_cfg()
391 data = (drm_mode->vtotal - drm_mode->vsync_start); in dp_panel_timing_cfg()
393 data |= (drm_mode->htotal - drm_mode->hsync_start); in dp_panel_timing_cfg()
397 data = drm_mode->vsync_end - drm_mode->vsync_start; in dp_panel_timing_cfg()
400 data |= drm_mode->hsync_end - drm_mode->hsync_start; in dp_panel_timing_cfg()
405 data = drm_mode->vdisplay; in dp_panel_timing_cfg()
407 data |= drm_mode->hdisplay; in dp_panel_timing_cfg()
419 struct drm_display_mode *drm_mode; in dp_panel_init_panel_info() local
422 drm_mode = &dp_panel->dp_mode.drm_mode; in dp_panel_init_panel_info()
432 drm_mode->hdisplay, drm_mode->vdisplay, drm_mode_vrefresh(drm_mode)); in dp_panel_init_panel_info()
435 drm_mode->htotal - drm_mode->hsync_end, in dp_panel_init_panel_info()
436 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_init_panel_info()
437 drm_mode->hsync_end - drm_mode->hsync_start); in dp_panel_init_panel_info()
440 drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_init_panel_info()
441 drm_mode->vsync_start - drm_mode->vdisplay, in dp_panel_init_panel_info()
442 drm_mode->vsync_end - drm_mode->vsync_start); in dp_panel_init_panel_info()
444 drm_mode->clock); in dp_panel_init_panel_info()
448 dp_panel->dp_mode.drm_mode.clock); in dp_panel_init_panel_info()