Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/ast/
Dast_dp501.c192 u8 jreg; in ast_launch_m68k() local
246jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x99, 0xfc); /* D[1:0]: Reserved Video Buffer… in ast_launch_m68k()
247 jreg |= 0x02; in ast_launch_m68k()
248 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x99, jreg); in ast_launch_m68k()
313 u8 jreg; in ast_init_dvo() local
319 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_init_dvo()
320 if (!(jreg & 0x80)) { in ast_init_dvo()
413 u8 jreg; in ast_init_3rdtx() local
416 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_init_3rdtx()
417 switch (jreg & 0x0e) { in ast_init_3rdtx()
Dast_main.c117 uint32_t jreg, scu_rev; in ast_detect_chip() local
189 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_detect_chip()
190 if (!(jreg & 0x80)) in ast_detect_chip()
192 else if (jreg & 0x01) in ast_detect_chip()
221 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xa3, 0xff); in ast_detect_chip()
222 if (jreg & 0x80) in ast_detect_chip()
232 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_detect_chip()
233 switch (jreg) { in ast_detect_chip()
452 u8 jreg; in ast_get_vram_info() local
457 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xaa, 0xff); in ast_get_vram_info()
[all …]
Dast_mode.c235 u8 jreg; in ast_set_std_reg() local
239 jreg = stdtable->misc; in ast_set_std_reg()
240 ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, jreg); in ast_set_std_reg()
245 jreg = stdtable->seq[i]; in ast_set_std_reg()
247 jreg |= 0x20; in ast_set_std_reg()
248 ast_set_index_reg(ast, AST_IO_SEQ_PORT, (i + 1) , jreg); in ast_set_std_reg()
257 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg()
259 jreg = stdtable->ar[i]; in ast_set_std_reg()
261 ast_io_write8(ast, AST_IO_AR_PORT_WRITE, jreg); in ast_set_std_reg()
266 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg()
[all …]