Lines Matching refs:ast_crtc
693 struct ast_crtc *crtc; in ast_crtc_init()
695 crtc = kzalloc(sizeof(struct ast_crtc), GFP_KERNEL); in ast_crtc_init()
1148 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_set() local
1210 ast_crtc->cursor_width = width; in ast_cursor_set()
1211 ast_crtc->cursor_height = height; in ast_cursor_set()
1212 ast_crtc->offset_x = AST_MAX_HWC_WIDTH - width; in ast_cursor_set()
1213 ast_crtc->offset_y = AST_MAX_HWC_WIDTH - height; in ast_cursor_set()
1229 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_move() local
1238 x_offset = ast_crtc->offset_x; in ast_cursor_move()
1239 y_offset = ast_crtc->offset_y; in ast_cursor_move()
1241 x_offset = (-x) + ast_crtc->offset_x; in ast_cursor_move()
1246 y_offset = (-y) + ast_crtc->offset_y; in ast_cursor_move()