Lines Matching refs:vc4_encoder

326 	struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);  in vc4_crtc_config_pv()  local
332 bool is_hdmi = vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0 || in vc4_crtc_config_pv()
333 vc4_encoder->type == VC4_ENCODER_TYPE_HDMI1; in vc4_crtc_config_pv()
335 bool is_dsi = (vc4_encoder->type == VC4_ENCODER_TYPE_DSI0 || in vc4_crtc_config_pv()
336 vc4_encoder->type == VC4_ENCODER_TYPE_DSI1); in vc4_crtc_config_pv()
337 bool is_dsi1 = vc4_encoder->type == VC4_ENCODER_TYPE_DSI1; in vc4_crtc_config_pv()
338 bool is_vec = vc4_encoder->type == VC4_ENCODER_TYPE_VEC; in vc4_crtc_config_pv()
442 VC4_SET_FIELD(vc4_encoder->clock_select, in vc4_crtc_config_pv()
469 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_disable() local
501 if (vc4_encoder && vc4_encoder->post_crtc_disable) in vc4_crtc_disable()
502 vc4_encoder->post_crtc_disable(encoder, state); in vc4_crtc_disable()
507 if (vc4_encoder && vc4_encoder->post_crtc_powerdown) in vc4_crtc_disable()
508 vc4_encoder->post_crtc_powerdown(encoder, state); in vc4_crtc_disable()
620 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_enable() local
638 if (vc4_encoder->pre_crtc_configure) in vc4_crtc_atomic_enable()
639 vc4_encoder->pre_crtc_configure(encoder, state); in vc4_crtc_atomic_enable()
645 if (vc4_encoder->pre_crtc_enable) in vc4_crtc_atomic_enable()
646 vc4_encoder->pre_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
654 if (vc4_encoder->post_crtc_enable) in vc4_crtc_atomic_enable()
655 vc4_encoder->post_crtc_enable(encoder, state); in vc4_crtc_atomic_enable()
722 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder); in vc4_crtc_atomic_check() local
724 if (vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0) { in vc4_crtc_atomic_check()
1280 struct vc4_encoder *vc4_encoder; in vc4_set_crtc_possible_masks() local
1286 vc4_encoder = to_vc4_encoder(encoder); in vc4_set_crtc_possible_masks()
1288 if (vc4_encoder->type == encoder_types[i]) { in vc4_set_crtc_possible_masks()
1289 vc4_encoder->clock_select = i; in vc4_set_crtc_possible_masks()