Lines Matching refs:AST_IO_VGACRI
255 ast_set_index_reg(ast, AST_IO_VGACRI, 0x8c, (u8)((color_index & 0x0f) << 4)); in ast_set_vbios_color_reg()
257 ast_set_index_reg(ast, AST_IO_VGACRI, 0x91, 0x00); in ast_set_vbios_color_reg()
260 ast_set_index_reg(ast, AST_IO_VGACRI, 0x91, 0xa8); in ast_set_vbios_color_reg()
261 ast_set_index_reg(ast, AST_IO_VGACRI, 0x92, format->cpp[0] * 8); in ast_set_vbios_color_reg()
274 ast_set_index_reg(ast, AST_IO_VGACRI, 0x8d, refresh_rate_index & 0xff); in ast_set_vbios_mode_reg()
275 ast_set_index_reg(ast, AST_IO_VGACRI, 0x8e, mode_id & 0xff); in ast_set_vbios_mode_reg()
277 ast_set_index_reg(ast, AST_IO_VGACRI, 0x91, 0x00); in ast_set_vbios_mode_reg()
280 ast_set_index_reg(ast, AST_IO_VGACRI, 0x91, 0xa8); in ast_set_vbios_mode_reg()
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()
311 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x11, 0x7f, 0x00); in ast_set_std_reg()
313 ast_set_index_reg(ast, AST_IO_VGACRI, i, stdtable->crtc[i]); in ast_set_std_reg()
315 ast_set_index_reg(ast, AST_IO_VGACRI, i, stdtable->crtc[i]); in ast_set_std_reg()
317 ast_set_index_reg(ast, AST_IO_VGACRI, i, stdtable->crtc[i]); in ast_set_std_reg()
348 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x11, 0x7f, 0x00); in ast_set_crtc_reg()
353 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x00, 0x00, temp); in ast_set_crtc_reg()
358 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x01, 0x00, temp); in ast_set_crtc_reg()
363 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x02, 0x00, temp); in ast_set_crtc_reg()
370 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x03, 0xE0, (temp & 0x1f)); in ast_set_crtc_reg()
375 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x04, 0x00, temp); in ast_set_crtc_reg()
380 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x05, 0x60, (u8)((temp & 0x1f) | jreg05)); in ast_set_crtc_reg()
382 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xAC, 0x00, jregAC); in ast_set_crtc_reg()
383 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xAD, 0x00, jregAD); in ast_set_crtc_reg()
387 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xFC, 0xFD, 0x02); in ast_set_crtc_reg()
389 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xFC, 0xFD, 0x00); in ast_set_crtc_reg()
399 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x06, 0x00, temp); in ast_set_crtc_reg()
408 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x10, 0x00, temp); in ast_set_crtc_reg()
415 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x11, 0x70, temp & 0xf); in ast_set_crtc_reg()
424 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x12, 0x00, temp); in ast_set_crtc_reg()
433 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x15, 0x00, temp); in ast_set_crtc_reg()
438 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x16, 0x00, temp); in ast_set_crtc_reg()
440 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x07, 0x00, jreg07); in ast_set_crtc_reg()
441 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x09, 0xdf, jreg09); in ast_set_crtc_reg()
442 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xAE, 0x00, (jregAE | 0x80)); in ast_set_crtc_reg()
445 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb6, 0x3f, 0x80); in ast_set_crtc_reg()
447 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb6, 0x3f, 0x00); in ast_set_crtc_reg()
449 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x11, 0x7f, 0x80); in ast_set_crtc_reg()
458 ast_set_index_reg(ast, AST_IO_VGACRI, 0x13, (offset & 0xff)); in ast_set_offset_reg()
459 ast_set_index_reg(ast, AST_IO_VGACRI, 0xb0, (offset >> 8) & 0x3f); in ast_set_offset_reg()
473 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xc0, 0x00, clk_info->param1); in ast_set_dclk_reg()
474 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xc1, 0x00, clk_info->param2); in ast_set_dclk_reg()
475 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xbb, 0x0f, in ast_set_dclk_reg()
504 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xa0, 0x8f, jregA0); in ast_set_color_reg()
505 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xa3, 0xf0, jregA3); in ast_set_color_reg()
506 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xa8, 0xfd, jregA8); in ast_set_color_reg()
513 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa7, 0xe0); in ast_set_crtthd_reg()
514 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa6, 0xa0); in ast_set_crtthd_reg()
516 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa7, 0x78); in ast_set_crtthd_reg()
517 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa6, 0x60); in ast_set_crtthd_reg()
519 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa7, 0x3f); in ast_set_crtthd_reg()
520 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa6, 0x2f); in ast_set_crtthd_reg()
522 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa7, 0x2f); in ast_set_crtthd_reg()
523 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa6, 0x1f); in ast_set_crtthd_reg()
548 ast_set_index_reg(ast, AST_IO_VGACRI, 0x0d, (u8)(addr & 0xff)); in ast_set_start_address_crt1()
549 ast_set_index_reg(ast, AST_IO_VGACRI, 0x0c, (u8)((addr >> 8) & 0xff)); in ast_set_start_address_crt1()
550 ast_set_index_reg(ast, AST_IO_VGACRI, 0xaf, (u8)((addr >> 16) & 0xff)); in ast_set_start_address_crt1()
833 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc8, addr0); in ast_set_cursor_base()
834 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc9, addr1); in ast_set_cursor_base()
835 ast_set_index_reg(ast, AST_IO_VGACRI, 0xca, addr2); in ast_set_cursor_base()
846 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc2, x_offset); in ast_set_cursor_location()
847 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc3, y_offset); in ast_set_cursor_location()
848 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc4, x0); in ast_set_cursor_location()
849 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc5, x1); in ast_set_cursor_location()
850 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc6, y0); in ast_set_cursor_location()
851 ast_set_index_reg(ast, AST_IO_VGACRI, 0xc7, y1); in ast_set_cursor_location()
864 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xcb, mask, vgacrcb); in ast_set_cursor_enabled()
1049 jtemp = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd1, 0xff); in ast_crtc_helper_mode_valid()
1111 ast_set_index_reg(ast, AST_IO_VGACRI, 0xa1, 0x06); in ast_crtc_helper_mode_set_nofb()
1197 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb6, 0xfc, 0x00); in ast_crtc_helper_atomic_enable()
1211 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb6, 0xfc, vgacrb6); in ast_crtc_helper_atomic_disable()