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()
638 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_crtc_gamma_set() local
643 ast_crtc->lut_r[i] = red[i] >> 8; in ast_crtc_gamma_set()
644 ast_crtc->lut_g[i] = green[i] >> 8; in ast_crtc_gamma_set()
645 ast_crtc->lut_b[i] = blue[i] >> 8; in ast_crtc_gamma_set()
668 struct ast_crtc *crtc; in ast_crtc_init()
671 crtc = kzalloc(sizeof(struct ast_crtc), GFP_KERNEL); in ast_crtc_init()
1143 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_set() local
1205 ast_crtc->cursor_width = width; in ast_cursor_set()
1206 ast_crtc->cursor_height = height; in ast_cursor_set()
1207 ast_crtc->offset_x = AST_MAX_HWC_WIDTH - width; in ast_cursor_set()
1208 ast_crtc->offset_y = AST_MAX_HWC_WIDTH - height; in ast_cursor_set()
1224 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_move() local
1233 x_offset = ast_crtc->offset_x; in ast_cursor_move()
1234 y_offset = ast_crtc->offset_y; in ast_cursor_move()
1236 x_offset = (-x) + ast_crtc->offset_x; in ast_cursor_move()
1241 y_offset = (-y) + ast_crtc->offset_y; in ast_cursor_move()