Home
last modified time | relevance | path

Searched refs:encoder_type (Results 1 – 25 of 33) sorted by relevance

12

/drivers/gpu/drm/
Ddrm_encoder.c99 int encoder_type, const char *name, va_list ap) in __drm_encoder_init() argument
112 encoder->encoder_type = encoder_type; in __drm_encoder_init()
118 drm_encoder_enum_list[encoder_type].name, in __drm_encoder_init()
161 int encoder_type, const char *name, ...) in drm_encoder_init() argument
169 ret = __drm_encoder_init(dev, encoder, funcs, encoder_type, name, ap); in drm_encoder_init()
217 int encoder_type, const char *name, ...) in __drmm_encoder_alloc() argument
234 ret = __drm_encoder_init(dev, encoder, funcs, encoder_type, name, ap); in __drmm_encoder_alloc()
300 enc_resp->encoder_type = encoder->encoder_type; in drm_mode_getencoder()
Ddrm_simple_kms_helper.c70 int encoder_type) in drm_simple_encoder_init() argument
74 encoder_type, NULL); in drm_simple_encoder_init()
79 size_t offset, int encoder_type) in __drmm_simple_encoder_alloc() argument
81 return __drmm_encoder_alloc(dev, size, offset, NULL, encoder_type, in __drmm_simple_encoder_alloc()
/drivers/gpu/drm/tidss/
Dtidss_encoder.c73 u32 encoder_type, u32 possible_crtcs) in tidss_encoder_create() argument
85 encoder_type, NULL); in tidss_encoder_create()
Dtidss_encoder.h15 u32 encoder_type, u32 possible_crtcs);
/drivers/gpu/drm/i915/display/
Dintel_dvo.c422 int encoder_type = DRM_MODE_ENCODER_NONE; in intel_dvo_init() local
510 &intel_dvo_enc_funcs, encoder_type, in intel_dvo_init()
529 encoder_type = DRM_MODE_ENCODER_TMDS; in intel_dvo_init()
536 encoder_type = DRM_MODE_ENCODER_LVDS; in intel_dvo_init()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c236 int encoder_type) in amdgpu_connector_find_encoder() argument
241 if (encoder->encoder_type == encoder_type) in amdgpu_connector_find_encoder()
1088 if (encoder->encoder_type != DRM_MODE_ENCODER_DAC && in amdgpu_connector_dvi_detect()
1089 encoder->encoder_type != DRM_MODE_ENCODER_TVDAC) in amdgpu_connector_dvi_detect()
1109 DRM_DEBUG_KMS("load_detect %x returned: %x\n",encoder->encoder_type,lret); in amdgpu_connector_dvi_detect()
1140 if (encoder->encoder_type == DRM_MODE_ENCODER_TMDS) in amdgpu_connector_dvi_encoder()
1143 if (encoder->encoder_type == DRM_MODE_ENCODER_DAC || in amdgpu_connector_dvi_encoder()
1144 encoder->encoder_type == DRM_MODE_ENCODER_TVDAC) in amdgpu_connector_dvi_encoder()
Damdgpu_encoders.c77 amdgpu_connector->devices, encoder->encoder_type); in amdgpu_encoder_set_active_device()
/drivers/gpu/drm/sun4i/
Dsun4i_tcon.c195 switch (encoder->encoder_type) { in sun4i_tcon_set_status()
709 switch (encoder->encoder_type) { in sun4i_tcon_mode_set()
1346 switch (encoder->encoder_type) { in sun4i_a10_tcon_set_mux()
1366 if (encoder->encoder_type == DRM_MODE_ENCODER_TVDAC) in sun5i_a13_tcon_set_mux()
1386 switch (encoder->encoder_type) { in sun6i_tcon_set_mux()
1428 encoder->encoder_type == DRM_MODE_ENCODER_TMDS) { in sun8i_r40_tcon_tv_set_mux()
/drivers/gpu/drm/imx/
Dimx-tve.c489 int encoder_type; in imx_tve_bind() local
492 encoder_type = tve->mode == TVE_MODE_VGA ? in imx_tve_bind()
496 encoder_type); in imx_tve_bind()
Dipuv3-crtc.c279 encoder_types |= BIT(encoder->encoder_type); in ipu_crtc_mode_set_nofb()
/drivers/gpu/drm/radeon/
Dradeon_connectors.c268 static struct drm_encoder *radeon_find_encoder(struct drm_connector *connector, int encoder_type) in radeon_find_encoder() argument
273 if (encoder->encoder_type == encoder_type) in radeon_find_encoder()
1375 if (encoder->encoder_type != DRM_MODE_ENCODER_DAC && in radeon_dvi_detect()
1376 encoder->encoder_type != DRM_MODE_ENCODER_TVDAC) in radeon_dvi_detect()
1396 DRM_DEBUG_KMS("load_detect %x returned: %x\n",encoder->encoder_type,lret); in radeon_dvi_detect()
1432 if (encoder && (encoder->encoder_type == DRM_MODE_ENCODER_TMDS)) { in radeon_dvi_detect()
1455 if (encoder->encoder_type == DRM_MODE_ENCODER_TMDS) in radeon_dvi_encoder()
1458 if (encoder->encoder_type == DRM_MODE_ENCODER_DAC || in radeon_dvi_encoder()
1459 encoder->encoder_type == DRM_MODE_ENCODER_TVDAC) in radeon_dvi_encoder()
Dradeon_legacy_crtc.c794 if (encoder->encoder_type != DRM_MODE_ENCODER_DAC) in radeon_set_pll()
796 if (encoder->encoder_type == DRM_MODE_ENCODER_LVDS) { in radeon_set_pll()
Dradeon_encoders.c232 radeon_connector->devices, encoder->encoder_type); in radeon_encoder_set_active_device()
/drivers/gpu/drm/vc4/
Dvc4_hdmi.h37 enum vc4_encoder_type encoder_type; member
Dvc4_crtc.c500 enum vc4_encoder_type encoder_type; in vc4_crtc_disable_at_boot() local
529 encoder_type = pv_data->encoder_types[encoder_sel]; in vc4_crtc_disable_at_boot()
530 encoder = vc4_crtc_get_encoder_by_type(crtc, encoder_type); in vc4_crtc_disable_at_boot()
1101 if (encoder->encoder_type == DRM_MODE_ENCODER_VIRTUAL) in vc4_set_crtc_possible_masks()
Dvc4_hdmi.c2165 vc4_hdmi->encoder.base.type = variant->encoder_type; in vc4_hdmi_bind()
2346 .encoder_type = VC4_ENCODER_TYPE_HDMI0,
2366 .encoder_type = VC4_ENCODER_TYPE_HDMI0,
2394 .encoder_type = VC4_ENCODER_TYPE_HDMI1,
/drivers/gpu/drm/nouveau/
Dnouveau_connector.h167 return encoder->encoder_type == DRM_MODE_ENCODER_DPMST; in nouveau_connector_is_mst()
/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c667 if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) in nv50_audio_component_get_eld()
975 if (encoder->encoder_type != DRM_MODE_ENCODER_DPMST) in nv50_real_outp()
1430 if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) { in nv50_mstm_cleanup()
1452 if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) { in nv50_mstm_prepare()
2109 if (encoder->encoder_type != DRM_MODE_ENCODER_DPMST) { in nv50_disp_atomic_commit_core()
2123 if (encoder->encoder_type != DRM_MODE_ENCODER_DPMST) { in nv50_disp_atomic_commit_core()
2508 if (outp->encoder->encoder_type == DRM_MODE_ENCODER_DPMST) { in nv50_disp_outp_atomic_check_clr()
2659 if (encoder->encoder_type != DRM_MODE_ENCODER_DPMST) in nv50_display_fini()
2677 if (encoder->encoder_type != DRM_MODE_ENCODER_DPMST) { in nv50_display_init()
/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.h111 enum ta_dtm_encoder_type encoder_type; member
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.c1009 if (drm_enc->encoder_type == DRM_MODE_ENCODER_TMDS) in dpu_encoder_virt_mode_set()
1191 if (drm_enc->encoder_type == DRM_MODE_ENCODER_TMDS) { in dpu_encoder_virt_enable()
1232 if (drm_enc->encoder_type == DRM_MODE_ENCODER_TMDS) { in dpu_encoder_virt_disable()
1261 if (drm_enc->encoder_type == DRM_MODE_ENCODER_TMDS) { in dpu_encoder_virt_disable()
Ddpu_kms.c507 info.intf_type = encoder->encoder_type; in _dpu_kms_initialize_dsi()
570 info.intf_type = encoder->encoder_type; in _dpu_kms_initialize_displayport()
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c1972 encoder->encoder_type = DRM_MODE_ENCODER_TMDS; in psb_intel_sdvo_dvi_init()
2003 encoder->encoder_type = DRM_MODE_ENCODER_TVDAC; in psb_intel_sdvo_tv_init()
2043 encoder->encoder_type = DRM_MODE_ENCODER_DAC; in psb_intel_sdvo_analog_init()
2076 encoder->encoder_type = DRM_MODE_ENCODER_LVDS; in psb_intel_sdvo_lvds_init()
/drivers/gpu/drm/sti/
Dsti_dvo.c427 if (encoder->encoder_type == DRM_MODE_ENCODER_LVDS) in sti_dvo_find_encoder()
Dsti_hda.c665 if (encoder->encoder_type == DRM_MODE_ENCODER_DAC) in sti_hda_find_encoder()
/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c116 switch (encoder->encoder_type) { in mdp4_round_pixclk()

12