Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/ast/
Dast_main.c122 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()
226 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xa3, 0xff); in ast_detect_chip()
227 if (jreg & 0x80) in ast_detect_chip()
237 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_detect_chip()
238 switch (jreg) { in ast_detect_chip()
398 u8 jreg; in ast_get_vram_info() local
403 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xaa, 0xff); in ast_get_vram_info()
[all …]
Dast_dp501.c195 u8 jreg; in ast_launch_m68k() local
249jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x99, 0xfc); /* D[1:0]: Reserved Video Buffer… in ast_launch_m68k()
250 jreg |= 0x02; in ast_launch_m68k()
251 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x99, jreg); in ast_launch_m68k()
316 u8 jreg; in ast_init_dvo() local
322 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd0, 0xff); in ast_init_dvo()
323 if (!(jreg & 0x80)) { in ast_init_dvo()
416 u8 jreg; in ast_init_3rdtx() local
419 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd1, 0xff); in ast_init_3rdtx()
420 switch (jreg & 0x0e) { in ast_init_3rdtx()
Dast_mode.c240 u8 jreg; in ast_set_std_reg() local
244 jreg = stdtable->misc; in ast_set_std_reg()
245 ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, jreg); in ast_set_std_reg()
250 jreg = stdtable->seq[i]; in ast_set_std_reg()
252 jreg |= 0x20; in ast_set_std_reg()
253 ast_set_index_reg(ast, AST_IO_SEQ_PORT, (i + 1) , jreg); in ast_set_std_reg()
262 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg()
264 jreg = stdtable->ar[i]; in ast_set_std_reg()
266 ast_io_write8(ast, AST_IO_AR_PORT_WRITE, jreg); in ast_set_std_reg()
271 jreg = ast_io_read8(ast, AST_IO_INPUT_STATUS1_READ); in ast_set_std_reg()
[all …]