Lines Matching refs:ast_crtc
66 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_crtc_load_lut() local
73 ast_load_palette_index(ast, i, ast_crtc->lut_r[i], in ast_crtc_load_lut()
74 ast_crtc->lut_g[i], ast_crtc->lut_b[i]); in ast_crtc_load_lut()
636 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_crtc_gamma_set() local
641 ast_crtc->lut_r[i] = red[i] >> 8; in ast_crtc_gamma_set()
642 ast_crtc->lut_g[i] = green[i] >> 8; in ast_crtc_gamma_set()
643 ast_crtc->lut_b[i] = blue[i] >> 8; in ast_crtc_gamma_set()
666 struct ast_crtc *crtc; in ast_crtc_init()
669 crtc = kzalloc(sizeof(struct ast_crtc), GFP_KERNEL); in ast_crtc_init()
1141 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_set() local
1203 ast_crtc->cursor_width = width; in ast_cursor_set()
1204 ast_crtc->cursor_height = height; in ast_cursor_set()
1205 ast_crtc->offset_x = AST_MAX_HWC_WIDTH - width; in ast_cursor_set()
1206 ast_crtc->offset_y = AST_MAX_HWC_WIDTH - height; in ast_cursor_set()
1222 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_move() local
1231 x_offset = ast_crtc->offset_x; in ast_cursor_move()
1232 y_offset = ast_crtc->offset_y; in ast_cursor_move()
1234 x_offset = (-x) + ast_crtc->offset_x; in ast_cursor_move()
1239 y_offset = (-y) + ast_crtc->offset_y; in ast_cursor_move()