Lines Matching refs:ast_state
1126 struct ast_crtc_state *ast_state; in ast_crtc_helper_atomic_check() local
1138 ast_state = to_ast_crtc_state(crtc_state); in ast_crtc_helper_atomic_check()
1140 format = ast_state->format; in ast_crtc_helper_atomic_check()
1162 &ast_state->vbios_mode_info); in ast_crtc_helper_atomic_check()
1237 struct ast_crtc_state *ast_state = in ast_crtc_reset() local
1238 kzalloc(sizeof(*ast_state), GFP_KERNEL); in ast_crtc_reset()
1243 if (ast_state) in ast_crtc_reset()
1244 __drm_atomic_helper_crtc_reset(crtc, &ast_state->base); in ast_crtc_reset()
1252 struct ast_crtc_state *new_ast_state, *ast_state; in ast_crtc_atomic_duplicate_state() local
1263 ast_state = to_ast_crtc_state(crtc->state); in ast_crtc_atomic_duplicate_state()
1265 new_ast_state->format = ast_state->format; in ast_crtc_atomic_duplicate_state()
1266 memcpy(&new_ast_state->vbios_mode_info, &ast_state->vbios_mode_info, in ast_crtc_atomic_duplicate_state()
1275 struct ast_crtc_state *ast_state = to_ast_crtc_state(state); in ast_crtc_atomic_destroy_state() local
1277 __drm_atomic_helper_crtc_destroy_state(&ast_state->base); in ast_crtc_atomic_destroy_state()
1278 kfree(ast_state); in ast_crtc_atomic_destroy_state()