Searched refs:jreg (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
D | ast_mm.c | 39 u8 jreg; in ast_get_vram_size() local 45 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xaa, 0xff); in ast_get_vram_size() 46 switch (jreg & 3) { in ast_get_vram_size() 61 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x99, 0xff); in ast_get_vram_size() 62 switch (jreg & 0x03) { in ast_get_vram_size()
|
D | ast_dp501.c | 211 u8 jreg; in ast_launch_m68k() local 268 …jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x99, 0xfc); /* D[1:0]: Reserved Video Buffer… in ast_launch_m68k() 269 jreg |= 0x02; in ast_launch_m68k() 270 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x99, jreg); in ast_launch_m68k() 396 u8 jreg; in ast_init_dvo() local 402 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_init_dvo() 403 if (!(jreg & 0x80)) { in ast_init_dvo() 496 u8 jreg; in ast_init_3rdtx() local 499 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_init_3rdtx() 500 switch (jreg & 0x0e) { in ast_init_3rdtx()
|
D | ast_main.c | 122 uint32_t jreg, scu_rev; in ast_detect_chip() local 186 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_detect_chip() 187 if (!(jreg & 0x80)) in ast_detect_chip() 189 else if (jreg & 0x01) in ast_detect_chip() 218 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xa3, 0xff); in ast_detect_chip() 219 if (jreg & 0x80) in ast_detect_chip() 229 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_detect_chip() 230 switch (jreg) { in ast_detect_chip()
|
D | ast_mode.c | 265 u8 jreg; in ast_set_std_reg() local 269 jreg = stdtable->misc; in ast_set_std_reg() 270 ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, jreg); in ast_set_std_reg() 276 jreg = stdtable->seq[i]; in ast_set_std_reg() 277 ast_set_index_reg(ast, AST_IO_SEQ_PORT, (i + 1) , jreg); in ast_set_std_reg() 290 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg() 292 jreg = stdtable->ar[i]; in ast_set_std_reg() 294 ast_io_write8(ast, AST_IO_AR_PORT_WRITE, jreg); in ast_set_std_reg() 299 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg() 496 u8 jreg; in ast_set_sync_reg() local [all …]
|
D | ast_cursor.c | 258 u8 jreg; in ast_cursor_show() local 282 jreg = 0x02 | in ast_cursor_show() 284 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xcb, 0xfc, jreg); in ast_cursor_show()
|