Lines Matching refs:enh_table
116 vbios_mode->enh_table = &res_640x480[refresh_rate_index]; in ast_get_vbios_mode_info()
119 vbios_mode->enh_table = &res_800x600[refresh_rate_index]; in ast_get_vbios_mode_info()
122 vbios_mode->enh_table = &res_1024x768[refresh_rate_index]; in ast_get_vbios_mode_info()
126 vbios_mode->enh_table = &res_1280x800[refresh_rate_index]; in ast_get_vbios_mode_info()
128 vbios_mode->enh_table = &res_1280x1024[refresh_rate_index]; in ast_get_vbios_mode_info()
131 vbios_mode->enh_table = &res_1360x768[refresh_rate_index]; in ast_get_vbios_mode_info()
134 vbios_mode->enh_table = &res_1440x900[refresh_rate_index]; in ast_get_vbios_mode_info()
138 vbios_mode->enh_table = &res_1600x900[refresh_rate_index]; in ast_get_vbios_mode_info()
140 vbios_mode->enh_table = &res_1600x1200[refresh_rate_index]; in ast_get_vbios_mode_info()
143 vbios_mode->enh_table = &res_1680x1050[refresh_rate_index]; in ast_get_vbios_mode_info()
147 vbios_mode->enh_table = &res_1920x1080[refresh_rate_index]; in ast_get_vbios_mode_info()
149 vbios_mode->enh_table = &res_1920x1200[refresh_rate_index]; in ast_get_vbios_mode_info()
156 check_sync = vbios_mode->enh_table->flags & WideScreenMode; in ast_get_vbios_mode_info()
158 const struct ast_vbios_enhtable *loop = vbios_mode->enh_table; in ast_get_vbios_mode_info()
183 vbios_mode->enh_table = best; in ast_get_vbios_mode_info()
185 hborder = (vbios_mode->enh_table->flags & HBorder) ? 8 : 0; in ast_get_vbios_mode_info()
186 vborder = (vbios_mode->enh_table->flags & VBorder) ? 8 : 0; in ast_get_vbios_mode_info()
188 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info()
189 adjusted_mode->crtc_hblank_start = vbios_mode->enh_table->hde + hborder; in ast_get_vbios_mode_info()
190 adjusted_mode->crtc_hblank_end = vbios_mode->enh_table->ht - hborder; in ast_get_vbios_mode_info()
191 adjusted_mode->crtc_hsync_start = vbios_mode->enh_table->hde + hborder + in ast_get_vbios_mode_info()
192 vbios_mode->enh_table->hfp; in ast_get_vbios_mode_info()
193 adjusted_mode->crtc_hsync_end = (vbios_mode->enh_table->hde + hborder + in ast_get_vbios_mode_info()
194 vbios_mode->enh_table->hfp + in ast_get_vbios_mode_info()
195 vbios_mode->enh_table->hsync); in ast_get_vbios_mode_info()
197 adjusted_mode->crtc_vtotal = vbios_mode->enh_table->vt; in ast_get_vbios_mode_info()
198 adjusted_mode->crtc_vblank_start = vbios_mode->enh_table->vde + vborder; in ast_get_vbios_mode_info()
199 adjusted_mode->crtc_vblank_end = vbios_mode->enh_table->vt - vborder; in ast_get_vbios_mode_info()
200 adjusted_mode->crtc_vsync_start = vbios_mode->enh_table->vde + vborder + in ast_get_vbios_mode_info()
201 vbios_mode->enh_table->vfp; in ast_get_vbios_mode_info()
202 adjusted_mode->crtc_vsync_end = (vbios_mode->enh_table->vde + vborder + in ast_get_vbios_mode_info()
203 vbios_mode->enh_table->vfp + in ast_get_vbios_mode_info()
204 vbios_mode->enh_table->vsync); in ast_get_vbios_mode_info()
206 refresh_rate_index = vbios_mode->enh_table->refresh_rate_index; in ast_get_vbios_mode_info()
207 mode_id = vbios_mode->enh_table->mode_id; in ast_get_vbios_mode_info()
217 if (vbios_mode->enh_table->flags & NewModeInfo) { in ast_get_vbios_mode_info()
287 (vbios_mode->enh_table->flags & AST2500PreCatchCRT)) in ast_set_crtc_reg()
407 clk_info = &dclk_table_ast2500[vbios_mode->enh_table->dclk_index]; in ast_set_dclk_reg()
409 clk_info = &dclk_table[vbios_mode->enh_table->dclk_index]; in ast_set_dclk_reg()
473 if (vbios_mode->enh_table->flags & NVSync) jreg |= 0x80; in ast_set_sync_reg()
474 if (vbios_mode->enh_table->flags & NHSync) jreg |= 0x40; in ast_set_sync_reg()