Home
last modified time | relevance | path

Searched refs:jreg (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/ast/
H A Dast_mm.c38 u8 jreg; in ast_get_vram_size() local
42 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xaa, 0xff); in ast_get_vram_size()
43 switch (jreg & 3) { in ast_get_vram_size()
58 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x99, 0xff); in ast_get_vram_size()
59 switch (jreg & 0x03) { in ast_get_vram_size()
H A Dast_main.c41 u8 jreg; in ast_detect_widescreen() local
49 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd0, 0xff); in ast_detect_widescreen()
50 if (!(jreg & 0x80)) in ast_detect_widescreen()
52 else if (jreg & 0x01) in ast_detect_widescreen()
79 u8 jreg, vgacrd1; in ast_detect_tx_chip() local
108 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xa3, 0xff); in ast_detect_tx_chip()
109 if (jreg & 0x80) in ast_detect_tx_chip()
119 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd1, in ast_detect_tx_chip()
121 switch (jreg) { in ast_detect_tx_chip()
H A Dast_dp501.c212 u8 jreg; in ast_launch_m68k() local
269 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x99, 0xfc); /* D[1:0]: Reserved Video Buffer */ in ast_launch_m68k()
270 jreg |= 0x02; in ast_launch_m68k()
271 ast_set_index_reg(ast, AST_IO_VGACRI, 0x99, jreg); in ast_launch_m68k()
349 u8 jreg; in ast_init_dvo() local
355 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd0, 0xff); in ast_init_dvo()
356 if (!(jreg & 0x80)) { in ast_init_dvo()
H A Dast_mode.c295 u8 jreg; in ast_set_std_reg() local
299 jreg = stdtable->misc; in ast_set_std_reg()
300 ast_io_write8(ast, AST_IO_VGAMR_W, jreg); in ast_set_std_reg()
306 jreg = stdtable->seq[i]; in ast_set_std_reg()
307 ast_set_index_reg(ast, AST_IO_VGASRI, (i + 1), jreg); in ast_set_std_reg()
320 jreg = ast_io_read8(ast, AST_IO_VGAIR1_R); in ast_set_std_reg()
322 jreg = stdtable->ar[i]; in ast_set_std_reg()
324 ast_io_write8(ast, AST_IO_VGAARI_W, jreg); in ast_set_std_reg()
329 jreg = ast_io_read8(ast, AST_IO_VGAIR1_R); in ast_set_std_reg()
531 u8 jreg; in ast_set_sync_reg() local
[all …]