Home
last modified time | relevance | path

Searched refs:drm_connector (Results 1 – 25 of 207) sorted by relevance

123456789

/drivers/gpu/drm/gma500/
Dpsb_intel_drv.h141 struct drm_connector base;
208 int psb_intel_ddc_get_modes(struct drm_connector *connector,
230 extern struct drm_encoder *gma_best_encoder(struct drm_connector *connector);
235 struct drm_connector *connector) in gma_attached_encoder()
244 extern struct drm_connector *psb_intel_sdvo_find(struct drm_device *dev,
246 extern int psb_intel_sdvo_supports_hotplug(struct drm_connector *connector);
247 extern void psb_intel_sdvo_set_hotplug(struct drm_connector *connector,
255 extern enum drm_mode_status psb_intel_lvds_mode_valid(struct drm_connector *connector,
257 extern int psb_intel_lvds_set_property(struct drm_connector *connector,
260 extern void psb_intel_lvds_destroy(struct drm_connector *connector);
[all …]
Dcdv_intel_crt.c67 static int cdv_intel_crt_mode_valid(struct drm_connector *connector, in cdv_intel_crt_mode_valid()
134 static bool cdv_intel_crt_detect_hotplug(struct drm_connector *connector, in cdv_intel_crt_detect_hotplug()
182 struct drm_connector *connector, bool force) in cdv_intel_crt_detect()
190 static void cdv_intel_crt_destroy(struct drm_connector *connector) in cdv_intel_crt_destroy()
200 static int cdv_intel_crt_get_modes(struct drm_connector *connector) in cdv_intel_crt_get_modes()
207 static int cdv_intel_crt_set_property(struct drm_connector *connector, in cdv_intel_crt_set_property()
256 struct drm_connector *connector; in cdv_intel_crt_init()
/drivers/gpu/drm/sti/
Dsti_dvo.c99 struct drm_connector drm_connector; member
105 container_of(x, struct sti_dvo_connector, drm_connector)
285 static int sti_dvo_connector_get_modes(struct drm_connector *connector) in sti_dvo_connector_get_modes()
299 static int sti_dvo_connector_mode_valid(struct drm_connector *connector, in sti_dvo_connector_mode_valid()
323 struct drm_encoder *sti_dvo_best_encoder(struct drm_connector *connector) in sti_dvo_best_encoder()
340 sti_dvo_connector_detect(struct drm_connector *connector, bool force) in sti_dvo_connector_detect()
358 static void sti_dvo_connector_destroy(struct drm_connector *connector) in sti_dvo_connector_destroy()
396 struct drm_connector *drm_connector; in sti_dvo_bind() local
437 drm_connector = (struct drm_connector *)connector; in sti_dvo_bind()
439 drm_connector->polled = DRM_CONNECTOR_POLL_HPD; in sti_dvo_bind()
[all …]
Dsti_hda.c256 struct drm_connector drm_connector; member
262 container_of(x, struct sti_hda_connector, drm_connector)
520 static int sti_hda_connector_get_modes(struct drm_connector *connector) in sti_hda_connector_get_modes()
553 static int sti_hda_connector_mode_valid(struct drm_connector *connector, in sti_hda_connector_mode_valid()
583 struct drm_encoder *sti_hda_best_encoder(struct drm_connector *connector) in sti_hda_best_encoder()
600 sti_hda_connector_detect(struct drm_connector *connector, bool force) in sti_hda_connector_detect()
605 static void sti_hda_connector_destroy(struct drm_connector *connector) in sti_hda_connector_destroy()
643 struct drm_connector *drm_connector; in sti_hda_bind() local
671 drm_connector = (struct drm_connector *)connector; in sti_hda_bind()
673 drm_connector->polled = DRM_CONNECTOR_POLL_HPD; in sti_hda_bind()
[all …]
Dsti_hdmi.c117 struct drm_connector drm_connector; member
123 container_of(x, struct sti_hdmi_connector, drm_connector)
570 static int sti_hdmi_connector_get_modes(struct drm_connector *connector) in sti_hdmi_connector_get_modes()
597 static int sti_hdmi_connector_mode_valid(struct drm_connector *connector, in sti_hdmi_connector_mode_valid()
622 struct drm_encoder *sti_hdmi_best_encoder(struct drm_connector *connector) in sti_hdmi_best_encoder()
640 sti_hdmi_connector_detect(struct drm_connector *connector, bool force) in sti_hdmi_connector_detect()
657 static void sti_hdmi_connector_destroy(struct drm_connector *connector) in sti_hdmi_connector_destroy()
695 struct drm_connector *drm_connector; in sti_hdmi_bind() local
723 drm_connector = (struct drm_connector *)connector; in sti_hdmi_bind()
725 drm_connector->polled = DRM_CONNECTOR_POLL_HPD; in sti_hdmi_bind()
[all …]
/drivers/gpu/drm/udl/
Dudl_connector.c57 static int udl_get_modes(struct drm_connector *connector) in udl_get_modes()
83 static int udl_mode_valid(struct drm_connector *connector, in udl_mode_valid()
97 udl_detect(struct drm_connector *connector, bool force) in udl_detect()
105 udl_best_single_encoder(struct drm_connector *connector) in udl_best_single_encoder()
111 static int udl_connector_set_property(struct drm_connector *connector, in udl_connector_set_property()
118 static void udl_connector_destroy(struct drm_connector *connector) in udl_connector_destroy()
141 struct drm_connector *connector; in udl_connector_init()
143 connector = kzalloc(sizeof(struct drm_connector), GFP_KERNEL); in udl_connector_init()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_lvds_connector.c24 struct drm_connector base;
31 struct drm_connector *connector, bool force) in mdp4_lvds_connector_detect()
41 static void mdp4_lvds_connector_destroy(struct drm_connector *connector) in mdp4_lvds_connector_destroy()
56 static int mdp4_lvds_connector_get_modes(struct drm_connector *connector) in mdp4_lvds_connector_get_modes()
69 static int mdp4_lvds_connector_mode_valid(struct drm_connector *connector, in mdp4_lvds_connector_mode_valid()
89 mdp4_lvds_connector_best_encoder(struct drm_connector *connector) in mdp4_lvds_connector_best_encoder()
113 struct drm_connector *mdp4_lvds_connector_init(struct drm_device *dev, in mdp4_lvds_connector_init()
116 struct drm_connector *connector = NULL; in mdp4_lvds_connector_init()
/drivers/gpu/drm/amd/amdgpu/
Datombios_encoders.h33 struct drm_connector *drm_connector);
48 amdgpu_atombios_encoder_set_edp_panel_power(struct drm_connector *connector,
58 struct drm_connector *connector);
61 struct drm_connector *connector);
65 amdgpu_atombios_encoder_set_bios_scratch_regs(struct drm_connector *connector,
Damdgpu_connectors.h27 struct edid *amdgpu_connector_edid(struct drm_connector *connector);
28 void amdgpu_connector_hotplug(struct drm_connector *connector);
29 int amdgpu_connector_get_monitor_bpc(struct drm_connector *connector);
30 u16 amdgpu_connector_encoder_get_dp_bridge_encoder_id(struct drm_connector *connector);
31 bool amdgpu_connector_is_dp12_capable(struct drm_connector *connector);
Datombios_dp.h31 struct drm_connector *connector);
32 void amdgpu_atombios_dp_set_link_config(struct drm_connector *connector,
34 int amdgpu_atombios_dp_mode_valid_helper(struct drm_connector *connector,
37 void amdgpu_atombios_dp_set_rx_power_state(struct drm_connector *connector,
40 struct drm_connector *connector);
Damdgpu_connectors.c40 void amdgpu_connector_hotplug(struct drm_connector *connector) in amdgpu_connector_hotplug()
98 int amdgpu_connector_get_monitor_bpc(struct drm_connector *connector) in amdgpu_connector_get_monitor_bpc()
212 amdgpu_connector_update_scratch_regs(struct drm_connector *connector, in amdgpu_connector_update_scratch_regs()
243 amdgpu_connector_find_encoder(struct drm_connector *connector, in amdgpu_connector_find_encoder()
263 struct edid *amdgpu_connector_edid(struct drm_connector *connector) in amdgpu_connector_edid()
295 static void amdgpu_connector_get_edid(struct drm_connector *connector) in amdgpu_connector_get_edid()
338 static void amdgpu_connector_free_edid(struct drm_connector *connector) in amdgpu_connector_free_edid()
348 static int amdgpu_connector_ddc_get_modes(struct drm_connector *connector) in amdgpu_connector_ddc_get_modes()
364 amdgpu_connector_best_single_encoder(struct drm_connector *connector) in amdgpu_connector_best_single_encoder()
374 static void amdgpu_get_native_mode(struct drm_connector *connector) in amdgpu_get_native_mode()
[all …]
/drivers/gpu/drm/msm/edp/
Dedp_connector.c19 struct drm_connector base;
25 struct drm_connector *connector, bool force) in edp_connector_detect()
35 static void edp_connector_destroy(struct drm_connector *connector) in edp_connector_destroy()
46 static int edp_connector_get_modes(struct drm_connector *connector) in edp_connector_get_modes()
66 static int edp_connector_mode_valid(struct drm_connector *connector, in edp_connector_mode_valid()
95 edp_connector_best_encoder(struct drm_connector *connector) in edp_connector_best_encoder()
120 struct drm_connector *msm_edp_connector_init(struct msm_edp *edp) in msm_edp_connector_init()
122 struct drm_connector *connector = NULL; in msm_edp_connector_init()
/drivers/gpu/drm/radeon/
Dradeon_encoders.c34 struct drm_connector *drm_connector);
37 struct drm_connector *drm_connector);
162 struct drm_connector *connector) in radeon_encoder_add_backlight()
203 struct drm_connector *connector; in radeon_link_encoder_connector()
226 struct drm_connector *connector; in radeon_encoder_set_active_device()
239 struct drm_connector *
244 struct drm_connector *connector; in radeon_get_connector_for_encoder()
264 struct drm_connector *
269 struct drm_connector *connector; in radeon_get_connector_for_encoder_init()
371 struct drm_connector *connector; in radeon_dig_monitor_is_duallink()
Dradeon_mode.h366 struct drm_connector *connector;
545 struct drm_connector base;
727 radeon_combios_connected_scratch_regs(struct drm_connector *connector,
731 radeon_atombios_connected_scratch_regs(struct drm_connector *connector,
735 extern struct drm_connector *
737 extern struct drm_connector *
743 extern u16 radeon_connector_encoder_get_dp_bridge_encoder_id(struct drm_connector *connector);
744 extern bool radeon_connector_is_dp12_capable(struct drm_connector *connector);
745 extern int radeon_get_monitor_bpc(struct drm_connector *connector);
747 extern struct edid *radeon_connector_edid(struct drm_connector *connector);
[all …]
/drivers/gpu/drm/i915/
Dintel_dp_mst.c44 struct drm_connector *drm_connector; in intel_dp_mst_compute_config() local
67 for_each_connector_in_state(state, drm_connector, connector_state, i) { in intel_dp_mst_compute_config()
68 connector = to_intel_connector(drm_connector); in intel_dp_mst_compute_config()
290 static int intel_dp_mst_get_ddc_modes(struct drm_connector *connector) in intel_dp_mst_get_ddc_modes()
308 intel_dp_mst_detect(struct drm_connector *connector, bool force) in intel_dp_mst_detect()
317 intel_dp_mst_set_property(struct drm_connector *connector, in intel_dp_mst_set_property()
325 intel_dp_mst_connector_destroy(struct drm_connector *connector) in intel_dp_mst_connector_destroy()
347 static int intel_dp_mst_get_modes(struct drm_connector *connector) in intel_dp_mst_get_modes()
353 intel_dp_mst_mode_valid(struct drm_connector *connector, in intel_dp_mst_mode_valid()
366 static struct drm_encoder *intel_mst_atomic_best_encoder(struct drm_connector *connector, in intel_mst_atomic_best_encoder()
[all …]
Dintel_modes.c39 int intel_connector_update_modes(struct drm_connector *connector, in intel_connector_update_modes()
58 int intel_ddc_get_modes(struct drm_connector *connector, in intel_ddc_get_modes()
82 intel_attach_force_audio_property(struct drm_connector *connector) in intel_attach_force_audio_property()
109 intel_attach_broadcast_rgb_property(struct drm_connector *connector) in intel_attach_broadcast_rgb_property()
131 intel_attach_aspect_ratio_property(struct drm_connector *connector) in intel_attach_aspect_ratio_property()
/drivers/gpu/drm/
Ddrm_internal.h79 int drm_sysfs_connector_add(struct drm_connector *connector);
80 void drm_sysfs_connector_remove(struct drm_connector *connector);
109 int drm_debugfs_connector_add(struct drm_connector *connector);
110 void drm_debugfs_connector_remove(struct drm_connector *connector);
123 static inline int drm_debugfs_connector_add(struct drm_connector *connector) in drm_debugfs_connector_add()
127 static inline void drm_debugfs_connector_remove(struct drm_connector *connector) in drm_debugfs_connector_remove()
Ddrm_sysfs.c168 struct drm_connector *connector = to_drm_connector(device); in status_store()
222 struct drm_connector *connector = to_drm_connector(device); in status_show()
232 struct drm_connector *connector = to_drm_connector(device); in dpms_show()
245 struct drm_connector *connector = to_drm_connector(device); in enabled_show()
256 struct drm_connector *connector = to_drm_connector(connector_dev); in edid_show()
282 struct drm_connector *connector = to_drm_connector(device); in modes_show()
298 struct drm_connector *connector = to_drm_connector(device); in tv_subconnector_show()
322 struct drm_connector *connector = to_drm_connector(device); in tv_select_subconnector_show()
346 struct drm_connector *connector = to_drm_connector(device); in dvii_subconnector_show()
370 struct drm_connector *connector = to_drm_connector(device); in dvii_select_subconnector_show()
[all …]
/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_rgb.c69 static void fsl_dcu_drm_connector_destroy(struct drm_connector *connector) in fsl_dcu_drm_connector_destroy()
76 fsl_dcu_drm_connector_detect(struct drm_connector *connector, bool force) in fsl_dcu_drm_connector_detect()
92 fsl_dcu_drm_connector_best_encoder(struct drm_connector *connector) in fsl_dcu_drm_connector_best_encoder()
99 static int fsl_dcu_drm_connector_get_modes(struct drm_connector *connector) in fsl_dcu_drm_connector_get_modes()
115 static int fsl_dcu_drm_connector_mode_valid(struct drm_connector *connector, in fsl_dcu_drm_connector_mode_valid()
133 struct drm_connector *connector = &fsl_dev->connector.base; in fsl_dcu_drm_connector_create()
/drivers/gpu/drm/nouveau/
Dnouveau_connector.c60 find_encoder(struct drm_connector *connector, int type) in find_encoder()
89 struct drm_connector *drm_connector; in nouveau_encoder_connector_get() local
91 list_for_each_entry(drm_connector, &dev->mode_config.connector_list, head) { in nouveau_encoder_connector_get()
92 if (drm_connector->encoder == to_drm_encoder(encoder)) in nouveau_encoder_connector_get()
93 return nouveau_connector(drm_connector); in nouveau_encoder_connector_get()
100 nouveau_connector_destroy(struct drm_connector *connector) in nouveau_connector_destroy()
113 nouveau_connector_ddc_detect(struct drm_connector *connector) in nouveau_connector_ddc_detect()
166 nouveau_connector_of_detect(struct drm_connector *connector) in nouveau_connector_of_detect()
196 nouveau_connector_set_encoder(struct drm_connector *connector, in nouveau_connector_set_encoder()
237 nouveau_connector_detect(struct drm_connector *connector, bool force) in nouveau_connector_detect()
[all …]
Dnouveau_connector.h63 struct drm_connector base;
86 struct drm_connector *con) in nouveau_connector()
95 struct drm_connector *connector; in nouveau_crtc_connector_get()
106 struct drm_connector *
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_output.c50 struct drm_connector connector;
57 drm_connector_to_atmel_hlcdc_rgb_output(struct drm_connector *connector) in drm_connector_to_atmel_hlcdc_rgb_output()
166 static int atmel_hlcdc_panel_get_modes(struct drm_connector *connector) in atmel_hlcdc_panel_get_modes()
175 static int atmel_hlcdc_rgb_mode_valid(struct drm_connector *connector, in atmel_hlcdc_rgb_mode_valid()
187 atmel_hlcdc_rgb_best_encoder(struct drm_connector *connector) in atmel_hlcdc_rgb_best_encoder()
202 atmel_hlcdc_panel_connector_detect(struct drm_connector *connector, bool force) in atmel_hlcdc_panel_connector_detect()
208 atmel_hlcdc_panel_connector_destroy(struct drm_connector *connector) in atmel_hlcdc_panel_connector_destroy()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h151 struct drm_connector connector;
207 int vmw_du_connector_dpms(struct drm_connector *connector, int mode);
208 void vmw_du_connector_save(struct drm_connector *connector);
209 void vmw_du_connector_restore(struct drm_connector *connector);
211 vmw_du_connector_detect(struct drm_connector *connector, bool force);
212 int vmw_du_connector_fill_modes(struct drm_connector *connector,
214 int vmw_du_connector_set_property(struct drm_connector *connector,
259 struct drm_connector **p_con,
/drivers/gpu/drm/omapdrm/
Domap_connector.c33 struct drm_connector base;
39 bool omap_connector_get_hdmi_mode(struct drm_connector *connector) in omap_connector_get_hdmi_mode()
110 struct drm_connector *connector, bool force) in omap_connector_detect()
136 static void omap_connector_destroy(struct drm_connector *connector) in omap_connector_destroy()
151 static int omap_connector_get_modes(struct drm_connector *connector) in omap_connector_get_modes()
201 static int omap_connector_mode_valid(struct drm_connector *connector, in omap_connector_mode_valid()
256 struct drm_connector *connector) in omap_connector_attached_encoder()
279 struct drm_connector *omap_connector_init(struct drm_device *dev, in omap_connector_init()
283 struct drm_connector *connector = NULL; in omap_connector_init()
/drivers/gpu/drm/tilcdc/
Dtilcdc_tfp410.c159 struct drm_connector base;
167 static void tfp410_connector_destroy(struct drm_connector *connector) in tfp410_connector_destroy()
176 struct drm_connector *connector, in tfp410_connector_detect()
187 static int tfp410_connector_get_modes(struct drm_connector *connector) in tfp410_connector_get_modes()
205 static int tfp410_connector_mode_valid(struct drm_connector *connector, in tfp410_connector_mode_valid()
214 struct drm_connector *connector) in tfp410_connector_best_encoder()
233 static struct drm_connector *tfp410_connector_create(struct drm_device *dev, in tfp410_connector_create()
237 struct drm_connector *connector; in tfp410_connector_create()
283 struct drm_connector *connector; in tfp410_modeset_init()

123456789