Lines Matching refs:vc4_encoder
317 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_config_pv() local
323 bool is_hdmi = vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0 || in vc4_crtc_config_pv()
324 vc4_encoder->type == VC4_ENCODER_TYPE_HDMI1; in vc4_crtc_config_pv()
326 bool is_dsi = (vc4_encoder->type == VC4_ENCODER_TYPE_DSI0 || in vc4_crtc_config_pv()
327 vc4_encoder->type == VC4_ENCODER_TYPE_DSI1); in vc4_crtc_config_pv()
328 bool is_dsi1 = vc4_encoder->type == VC4_ENCODER_TYPE_DSI1; in vc4_crtc_config_pv()
416 VC4_SET_FIELD(vc4_encoder->clock_select, in vc4_crtc_config_pv()
443 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_disable() local
475 if (vc4_encoder && vc4_encoder->post_crtc_disable) in vc4_crtc_disable()
476 vc4_encoder->post_crtc_disable(encoder, state); in vc4_crtc_disable()
481 if (vc4_encoder && vc4_encoder->post_crtc_powerdown) in vc4_crtc_disable()
482 vc4_encoder->post_crtc_powerdown(encoder, state); in vc4_crtc_disable()
495 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_get_encoder_by_type() local
497 if (vc4_encoder->type == type) in vc4_crtc_get_encoder_by_type()
609 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_enable() local
627 if (vc4_encoder->pre_crtc_configure) in vc4_crtc_atomic_enable()
628 vc4_encoder->pre_crtc_configure(encoder, state); in vc4_crtc_atomic_enable()
634 if (vc4_encoder->pre_crtc_enable) in vc4_crtc_atomic_enable()
635 vc4_encoder->pre_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
643 if (vc4_encoder->post_crtc_enable) in vc4_crtc_atomic_enable()
644 vc4_encoder->post_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
711 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_check() local
713 if (vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0) { in vc4_crtc_atomic_check()
1264 struct vc4_encoder *vc4_encoder; in vc4_set_crtc_possible_masks() local
1270 vc4_encoder = to_vc4_encoder(encoder); in vc4_set_crtc_possible_masks()
1272 if (vc4_encoder->type == encoder_types[i]) { in vc4_set_crtc_possible_masks()
1273 vc4_encoder->clock_select = i; in vc4_set_crtc_possible_masks()