Lines Matching refs:vc4_encoder
350 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_config_pv() local
356 bool is_hdmi = vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0 || in vc4_crtc_config_pv()
357 vc4_encoder->type == VC4_ENCODER_TYPE_HDMI1; in vc4_crtc_config_pv()
359 bool is_dsi = (vc4_encoder->type == VC4_ENCODER_TYPE_DSI0 || in vc4_crtc_config_pv()
360 vc4_encoder->type == VC4_ENCODER_TYPE_DSI1); in vc4_crtc_config_pv()
361 bool is_dsi1 = vc4_encoder->type == VC4_ENCODER_TYPE_DSI1; in vc4_crtc_config_pv()
362 bool is_vec = vc4_encoder->type == VC4_ENCODER_TYPE_VEC; in vc4_crtc_config_pv()
474 VC4_SET_FIELD(vc4_encoder->clock_select, in vc4_crtc_config_pv()
503 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_disable() local
535 if (vc4_encoder && vc4_encoder->post_crtc_disable) in vc4_crtc_disable()
536 vc4_encoder->post_crtc_disable(encoder, state); in vc4_crtc_disable()
541 if (vc4_encoder && vc4_encoder->post_crtc_powerdown) in vc4_crtc_disable()
542 vc4_encoder->post_crtc_powerdown(encoder, state); in vc4_crtc_disable()
658 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_enable() local
676 if (vc4_encoder->pre_crtc_configure) in vc4_crtc_atomic_enable()
677 vc4_encoder->pre_crtc_configure(encoder, state); in vc4_crtc_atomic_enable()
683 if (vc4_encoder->pre_crtc_enable) in vc4_crtc_atomic_enable()
684 vc4_encoder->pre_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
692 if (vc4_encoder->post_crtc_enable) in vc4_crtc_atomic_enable()
693 vc4_encoder->post_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
760 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_check() local
762 if (vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0) { in vc4_crtc_atomic_check()
1358 struct vc4_encoder *vc4_encoder; in vc4_set_crtc_possible_masks() local
1364 vc4_encoder = to_vc4_encoder(encoder); in vc4_set_crtc_possible_masks()
1366 if (vc4_encoder->type == encoder_types[i]) { in vc4_set_crtc_possible_masks()
1367 vc4_encoder->clock_select = i; in vc4_set_crtc_possible_masks()