Home
last modified time | relevance | path

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

/drivers/gpu/drm/ast/
Dast_mode.c198 u8 jreg; in ast_set_std_reg() local
202 jreg = stdtable->misc; in ast_set_std_reg()
203 ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, jreg); in ast_set_std_reg()
208 jreg = stdtable->seq[i]; in ast_set_std_reg()
210 jreg |= 0x20; in ast_set_std_reg()
211 ast_set_index_reg(ast, AST_IO_SEQ_PORT, (i + 1) , jreg); in ast_set_std_reg()
220 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg()
222 jreg = stdtable->ar[i]; in ast_set_std_reg()
224 ast_io_write8(ast, AST_IO_AR_PORT_WRITE, jreg); in ast_set_std_reg()
229 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg()
[all …]
Dast_main.c195 uint32_t dclk, jreg; in ast_get_max_dclk() local
216 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_get_max_dclk()
217 if ((jreg & 0x08) && (ast->chip == AST2000)) in ast_get_max_dclk()
219 else if ((jreg & 0x08) && (bpp == 8)) in ast_get_max_dclk()
306 u8 jreg; in ast_get_vram_info() local
310 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xaa, 0xff); in ast_get_vram_info()
311 switch (jreg & 3) { in ast_get_vram_info()