Home
last modified time | relevance | path

Searched refs:ast_crtc (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/ast/
Dast_mode.c672 struct ast_crtc *crtc; in ast_crtc_init()
674 crtc = kzalloc(sizeof(struct ast_crtc), GFP_KERNEL); in ast_crtc_init()
1159 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_set() local
1229 ast_crtc->offset_x = AST_MAX_HWC_WIDTH - width; in ast_cursor_set()
1230 ast_crtc->offset_y = AST_MAX_HWC_WIDTH - height; in ast_cursor_set()
1254 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_move() local
1265 x_offset = ast_crtc->offset_x; in ast_cursor_move()
1266 y_offset = ast_crtc->offset_y; in ast_cursor_move()
1268 x_offset = (-x) + ast_crtc->offset_x; in ast_cursor_move()
1273 y_offset = (-y) + ast_crtc->offset_y; in ast_cursor_move()
Dast_drv.h230 struct ast_crtc { struct
239 #define to_ast_crtc(x) container_of(x, struct ast_crtc, base) argument