Home
last modified time | relevance | path

Searched refs:ast_set_index_reg (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/ast/
H A Dast_mode.c225 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8c, (u8)((color_index & 0x0f) << 4)); in ast_set_vbios_color_reg()
227 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x91, 0x00); in ast_set_vbios_color_reg()
230 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x91, 0xa8); in ast_set_vbios_color_reg()
231 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x92, format->cpp[0] * 8); in ast_set_vbios_color_reg()
244 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8d, refresh_rate_index & 0xff); in ast_set_vbios_mode_reg()
245 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8e, mode_id & 0xff); in ast_set_vbios_mode_reg()
247 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x91, 0x00); in ast_set_vbios_mode_reg()
250 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x91, 0xa8); in ast_set_vbios_mode_reg()
251 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x93, adjusted_mode->clock / 1000); in ast_set_vbios_mode_reg()
252 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x94, adjusted_mode->crtc_hdisplay); in ast_set_vbios_mode_reg()
[all …]
H A Dast_cursor.c213 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc8, addr0); in ast_cursor_set_base()
214 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc9, addr1); in ast_cursor_set_base()
215 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xca, addr2); in ast_cursor_set_base()
244 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc2, x_offset); in ast_cursor_set_location()
245 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc3, y_offset); in ast_cursor_set_location()
246 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc4, x0); in ast_cursor_set_location()
247 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc5, x1); in ast_cursor_set_location()
248 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc6, y0); in ast_cursor_set_location()
249 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc7, y1); in ast_cursor_set_location()
H A Dast_drv.h223 static inline void ast_set_index_reg(struct ast_private *ast, in ast_set_index_reg() function
240 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x80, 0xA8); in ast_open_key()
H A Dast_main.c47 ast_set_index_reg(ast, base, index, tmp); in ast_set_index_reg_mask()
392 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xa1, 0x04); in ast_device_release()
H A Dast_dp501.c270 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x99, jreg); in ast_launch_m68k()
H A Dast_post.c52 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xa1, 0x06); in ast_enable_mmio()
79 ast_set_index_reg(ast, AST_IO_CRTC_PORT, i, 0x00); in ast_set_def_ext_reg()