Home
last modified time | relevance | path

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

/drivers/gpu/drm/ast/
Dast_fb.c274 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_fb_gamma_set() local
275 ast_crtc->lut_r[regno] = red >> 8; in ast_fb_gamma_set()
276 ast_crtc->lut_g[regno] = green >> 8; in ast_fb_gamma_set()
277 ast_crtc->lut_b[regno] = blue >> 8; in ast_fb_gamma_set()
283 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_fb_gamma_get() local
284 *red = ast_crtc->lut_r[regno] << 8; in ast_fb_gamma_get()
285 *green = ast_crtc->lut_g[regno] << 8; in ast_fb_gamma_get()
286 *blue = ast_crtc->lut_b[regno] << 8; in ast_fb_gamma_get()
Dast_mode.c65 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_crtc_load_lut() local
72 ast_load_palette_index(ast, i, ast_crtc->lut_r[i], in ast_crtc_load_lut()
73 ast_crtc->lut_g[i], ast_crtc->lut_b[i]); in ast_crtc_load_lut()
598 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_crtc_gamma_set() local
603 ast_crtc->lut_r[i] = red[i] >> 8; in ast_crtc_gamma_set()
604 ast_crtc->lut_g[i] = green[i] >> 8; in ast_crtc_gamma_set()
605 ast_crtc->lut_b[i] = blue[i] >> 8; in ast_crtc_gamma_set()
628 struct ast_crtc *crtc; in ast_crtc_init()
631 crtc = kzalloc(sizeof(struct ast_crtc), GFP_KERNEL); in ast_crtc_init()
1048 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_cursor_set() local
[all …]
Dast_drv.h219 struct ast_crtc { struct
248 #define to_ast_crtc(x) container_of(x, struct ast_crtc, base) argument