Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/ast/
A Dast_mm.c38 u8 jreg; in ast_get_vram_size() local
44 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xaa, 0xff); in ast_get_vram_size()
45 switch (jreg & 3) { in ast_get_vram_size()
60 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x99, 0xff); in ast_get_vram_size()
61 switch (jreg & 0x03) { in ast_get_vram_size()
A Dast_dp501.c211 u8 jreg; in ast_launch_m68k() local
268jreg = 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()
338 u8 jreg; in ast_init_dvo() local
344 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_init_dvo()
345 if (!(jreg & 0x80)) { in ast_init_dvo()
438 u8 jreg; in ast_init_3rdtx() local
441 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_init_3rdtx()
442 switch (jreg & 0x0e) { in ast_init_3rdtx()
A Dast_main.c127 uint32_t jreg, scu_rev; in ast_detect_chip() local
194 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_detect_chip()
195 if (!(jreg & 0x80)) in ast_detect_chip()
197 else if (jreg & 0x01) in ast_detect_chip()
228 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xa3, 0xff); in ast_detect_chip()
229 if (jreg & 0x80) in ast_detect_chip()
239 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_detect_chip()
240 switch (jreg) { in ast_detect_chip()
A Dast_mode.c296 u8 jreg; in ast_set_std_reg() local
300 jreg = stdtable->misc; in ast_set_std_reg()
301 ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, jreg); in ast_set_std_reg()
307 jreg = stdtable->seq[i]; in ast_set_std_reg()
323 jreg = stdtable->ar[i]; in ast_set_std_reg()
325 ast_io_write8(ast, AST_IO_AR_PORT_WRITE, jreg); in ast_set_std_reg()
536 u8 jreg; in ast_set_sync_reg() local
538 jreg = ast_io_read8(ast, AST_IO_MISC_PORT_READ); in ast_set_sync_reg()
539 jreg &= ~0xC0; in ast_set_sync_reg()
541 jreg |= 0x80; in ast_set_sync_reg()
[all …]

Completed in 9 milliseconds