Lines Matching refs:vc4_encoder
327 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_config_pv() local
333 bool is_hdmi = vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0 || in vc4_crtc_config_pv()
334 vc4_encoder->type == VC4_ENCODER_TYPE_HDMI1; in vc4_crtc_config_pv()
336 bool is_dsi = (vc4_encoder->type == VC4_ENCODER_TYPE_DSI0 || in vc4_crtc_config_pv()
337 vc4_encoder->type == VC4_ENCODER_TYPE_DSI1); in vc4_crtc_config_pv()
338 bool is_dsi1 = vc4_encoder->type == VC4_ENCODER_TYPE_DSI1; in vc4_crtc_config_pv()
339 bool is_vec = vc4_encoder->type == VC4_ENCODER_TYPE_VEC; in vc4_crtc_config_pv()
443 VC4_SET_FIELD(vc4_encoder->clock_select, in vc4_crtc_config_pv()
470 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_disable() local
502 if (vc4_encoder && vc4_encoder->post_crtc_disable) in vc4_crtc_disable()
503 vc4_encoder->post_crtc_disable(encoder, state); in vc4_crtc_disable()
508 if (vc4_encoder && vc4_encoder->post_crtc_powerdown) in vc4_crtc_disable()
509 vc4_encoder->post_crtc_powerdown(encoder, state); in vc4_crtc_disable()
621 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_enable() local
639 if (vc4_encoder->pre_crtc_configure) in vc4_crtc_atomic_enable()
640 vc4_encoder->pre_crtc_configure(encoder, state); in vc4_crtc_atomic_enable()
646 if (vc4_encoder->pre_crtc_enable) in vc4_crtc_atomic_enable()
647 vc4_encoder->pre_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
655 if (vc4_encoder->post_crtc_enable) in vc4_crtc_atomic_enable()
656 vc4_encoder->post_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
723 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_check() local
725 if (vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0) { in vc4_crtc_atomic_check()
1281 struct vc4_encoder *vc4_encoder; in vc4_set_crtc_possible_masks() local
1287 vc4_encoder = to_vc4_encoder(encoder); in vc4_set_crtc_possible_masks()
1289 if (vc4_encoder->type == encoder_types[i]) { in vc4_set_crtc_possible_masks()
1290 vc4_encoder->clock_select = i; in vc4_set_crtc_possible_masks()