Lines Matching refs:adjusted_mode
111 struct drm_display_mode *adjusted_mode, in ast_get_vbios_mode_info() argument
213 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info()
214 adjusted_mode->crtc_hblank_start = vbios_mode->enh_table->hde + hborder; in ast_get_vbios_mode_info()
215 adjusted_mode->crtc_hblank_end = vbios_mode->enh_table->ht - hborder; in ast_get_vbios_mode_info()
216 adjusted_mode->crtc_hsync_start = vbios_mode->enh_table->hde + hborder + in ast_get_vbios_mode_info()
218 adjusted_mode->crtc_hsync_end = (vbios_mode->enh_table->hde + hborder + in ast_get_vbios_mode_info()
222 adjusted_mode->crtc_vtotal = vbios_mode->enh_table->vt; in ast_get_vbios_mode_info()
223 adjusted_mode->crtc_vblank_start = vbios_mode->enh_table->vde + vborder; in ast_get_vbios_mode_info()
224 adjusted_mode->crtc_vblank_end = vbios_mode->enh_table->vt - vborder; in ast_get_vbios_mode_info()
225 adjusted_mode->crtc_vsync_start = vbios_mode->enh_table->vde + vborder + in ast_get_vbios_mode_info()
227 adjusted_mode->crtc_vsync_end = (vbios_mode->enh_table->vde + vborder + in ast_get_vbios_mode_info()
266 const struct drm_display_mode *adjusted_mode, in ast_set_vbios_mode_reg() argument
281 ast_set_index_reg(ast, AST_IO_VGACRI, 0x93, adjusted_mode->clock / 1000); in ast_set_vbios_mode_reg()
282 ast_set_index_reg(ast, AST_IO_VGACRI, 0x94, adjusted_mode->crtc_hdisplay); in ast_set_vbios_mode_reg()
283 ast_set_index_reg(ast, AST_IO_VGACRI, 0x95, adjusted_mode->crtc_hdisplay >> 8); in ast_set_vbios_mode_reg()
284 ast_set_index_reg(ast, AST_IO_VGACRI, 0x96, adjusted_mode->crtc_vdisplay); in ast_set_vbios_mode_reg()
285 ast_set_index_reg(ast, AST_IO_VGACRI, 0x97, adjusted_mode->crtc_vdisplay >> 8); in ast_set_vbios_mode_reg()
1100 struct drm_display_mode *adjusted_mode = &crtc_state->adjusted_mode; in ast_crtc_helper_mode_set_nofb() local
1110 ast_set_vbios_mode_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_mode_set_nofb()
1112 ast_set_std_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_mode_set_nofb()
1113 ast_set_crtc_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_mode_set_nofb()
1114 ast_set_dclk_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_mode_set_nofb()
1116 ast_set_sync_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_mode_set_nofb()
1161 &crtc_state->adjusted_mode, in ast_crtc_helper_atomic_check()