Lines Matching refs:vc4_crtc_state
106 struct vc4_crtc_state *vc4_crtc_state = to_vc4_crtc_state(crtc->state); in vc4_crtc_get_scanout_position() local
123 val = HVS_READ(SCALER_DISPSTATX(vc4_crtc_state->assigned_channel)); in vc4_crtc_get_scanout_position()
139 if (vc4_hvs_get_fifo_frame_count(hvs, vc4_crtc_state->assigned_channel) % 2) in vc4_crtc_get_scanout_position()
143 cob_size = vc4_crtc_get_cob_allocation(vc4, vc4_crtc_state->assigned_channel); in vc4_crtc_get_scanout_position()
591 struct vc4_crtc_state *old_vc4_state = to_vc4_crtc_state(old_state); in vc4_crtc_atomic_disable()
677 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_crtc_get_margins()
709 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_crtc_atomic_check()
1056 struct vc4_crtc_state *vc4_state, *old_vc4_state; in vc4_crtc_duplicate_state()
1074 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_crtc_destroy_state()
1090 struct vc4_crtc_state *vc4_crtc_state; in vc4_crtc_reset() local
1095 vc4_crtc_state = kzalloc(sizeof(*vc4_crtc_state), GFP_KERNEL); in vc4_crtc_reset()
1096 if (!vc4_crtc_state) { in vc4_crtc_reset()
1101 vc4_crtc_state->assigned_channel = VC4_HVS_CHANNEL_DISABLED; in vc4_crtc_reset()
1102 __drm_atomic_helper_crtc_reset(crtc, &vc4_crtc_state->base); in vc4_crtc_reset()