Home
last modified time | relevance | path

Searched refs:intel_connector (Results 1 – 19 of 19) sorted by relevance

/drivers/gpu/drm/i915/
Dintel_dp_mst.c45 struct intel_connector *connector, *found = NULL; in intel_dp_mst_compute_config()
150 struct intel_connector *found = NULL, *connector; in intel_mst_pre_enable_dp()
292 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dp_mst_get_ddc_modes() local
293 struct intel_dp *intel_dp = intel_connector->mst_port; in intel_dp_mst_get_ddc_modes()
297 edid = drm_dp_mst_get_edid(connector, &intel_dp->mst_mgr, intel_connector->port); in intel_dp_mst_get_ddc_modes()
310 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dp_mst_detect() local
311 struct intel_dp *intel_dp = intel_connector->mst_port; in intel_dp_mst_detect()
313 return drm_dp_mst_detect_port(connector, &intel_dp->mst_mgr, intel_connector->port); in intel_dp_mst_detect()
327 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dp_mst_connector_destroy() local
329 if (!IS_ERR_OR_NULL(intel_connector->edid)) in intel_dp_mst_connector_destroy()
[all …]
Dintel_panel.c428 static inline u32 scale_user_to_hw(struct intel_connector *connector, in scale_user_to_hw()
439 static inline u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw()
452 static inline u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user()
461 static u32 intel_panel_compute_brightness(struct intel_connector *connector, in intel_panel_compute_brightness()
481 static u32 lpt_get_backlight(struct intel_connector *connector) in lpt_get_backlight()
489 static u32 pch_get_backlight(struct intel_connector *connector) in pch_get_backlight()
497 static u32 i9xx_get_backlight(struct intel_connector *connector) in i9xx_get_backlight()
528 static u32 vlv_get_backlight(struct intel_connector *connector) in vlv_get_backlight()
536 static u32 bxt_get_backlight(struct intel_connector *connector) in bxt_get_backlight()
545 static u32 pwm_get_backlight(struct intel_connector *connector) in pwm_get_backlight()
[all …]
Dintel_hotplug.c149 struct intel_connector *intel_connector; in intel_hpd_irq_storm_disable() local
161 intel_connector = to_intel_connector(connector); in intel_hpd_irq_storm_disable()
162 intel_encoder = intel_connector->encoder; in intel_hpd_irq_storm_disable()
210 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_hpd_irq_storm_reenable_work() local
212 if (intel_connector->encoder->hpd_pin == i) { in intel_hpd_irq_storm_reenable_work()
213 if (connector->polled != intel_connector->polled) in intel_hpd_irq_storm_reenable_work()
216 connector->polled = intel_connector->polled; in intel_hpd_irq_storm_reenable_work()
307 struct intel_connector *intel_connector; in i915_hotplug_work_func() local
327 intel_connector = to_intel_connector(connector); in i915_hotplug_work_func()
328 if (!intel_connector->encoder) in i915_hotplug_work_func()
[all …]
Dintel_lvds.c45 struct intel_connector base;
210 struct intel_connector *intel_connector = in intel_enable_lvds() local
230 intel_panel_enable_backlight(intel_connector); in intel_enable_lvds()
259 struct intel_connector *intel_connector = in gmch_disable_lvds() local
262 intel_panel_disable_backlight(intel_connector); in gmch_disable_lvds()
270 struct intel_connector *intel_connector = in pch_disable_lvds() local
273 intel_panel_disable_backlight(intel_connector); in pch_disable_lvds()
285 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_lvds_mode_valid() local
286 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_lvds_mode_valid()
305 struct intel_connector *intel_connector = in intel_lvds_compute_config() local
[all …]
Dintel_dvo.c100 struct intel_connector *attached_connector;
115 static bool intel_dvo_connector_get_hw_state(struct intel_connector *connector) in intel_dvo_connector_get_hw_state()
419 struct intel_connector *intel_connector; in intel_dvo_init() local
427 intel_connector = intel_connector_alloc(); in intel_dvo_init()
428 if (!intel_connector) { in intel_dvo_init()
433 intel_dvo->attached_connector = intel_connector; in intel_dvo_init()
445 intel_connector->get_hw_state = intel_dvo_connector_get_hw_state; in intel_dvo_init()
446 intel_connector->unregister = intel_connector_unregister; in intel_dvo_init()
450 struct drm_connector *connector = &intel_connector->base; in intel_dvo_init()
530 intel_connector_attach_encoder(intel_connector, intel_encoder); in intel_dvo_init()
[all …]
Dintel_drv.h189 int (*setup)(struct intel_connector *connector, enum pipe pipe);
190 uint32_t (*get)(struct intel_connector *connector);
191 void (*set)(struct intel_connector *connector, uint32_t level);
192 void (*disable)(struct intel_connector *connector);
193 void (*enable)(struct intel_connector *connector);
194 uint32_t (*hz_to_pwm)(struct intel_connector *connector,
196 void (*power)(struct intel_connector *, bool enable);
200 struct intel_connector { struct
209 bool (*get_hw_state)(struct intel_connector *); argument
217 void (*unregister)(struct intel_connector *); argument
[all …]
Dintel_dsi.c270 struct intel_connector *intel_connector = intel_dsi->attached_connector; in intel_dsi_compute_config() local
271 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dsi_compute_config()
723 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dsi_mode_valid() local
724 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dsi_mode_valid()
1045 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dsi_get_modes() local
1050 if (!intel_connector->panel.fixed_mode) { in intel_dsi_get_modes()
1056 intel_connector->panel.fixed_mode); in intel_dsi_get_modes()
1068 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dsi_connector_destroy() local
1071 intel_panel_fini(&intel_connector->panel); in intel_dsi_connector_destroy()
1118 struct intel_connector *intel_connector; in intel_dsi_init() local
[all …]
Dintel_dp.c207 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dp_mode_valid() local
208 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dp_mode_valid()
1009 intel_dp_aux_init(struct intel_dp *intel_dp, struct intel_connector *connector) in intel_dp_aux_init()
1101 intel_dp_connector_unregister(struct intel_connector *intel_connector) in intel_dp_connector_unregister() argument
1103 struct intel_dp *intel_dp = intel_attached_dp(&intel_connector->base); in intel_dp_connector_unregister()
1105 if (!intel_connector->mst_port) in intel_dp_connector_unregister()
1106 sysfs_remove_link(&intel_connector->base.kdev->kobj, in intel_dp_connector_unregister()
1108 intel_connector_unregister(intel_connector); in intel_dp_connector_unregister()
1388 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_compute_config() local
1415 if (is_edp(intel_dp) && intel_connector->panel.fixed_mode) { in intel_dp_compute_config()
[all …]
Dintel_crt.c51 struct intel_connector *connector;
789 struct intel_connector *intel_connector; in intel_crt_init() local
800 intel_connector = intel_connector_alloc(); in intel_crt_init()
801 if (!intel_connector) { in intel_crt_init()
806 connector = &intel_connector->base; in intel_crt_init()
807 crt->connector = intel_connector; in intel_crt_init()
808 drm_connector_init(dev, &intel_connector->base, in intel_crt_init()
814 intel_connector_attach_encoder(intel_connector, &crt->base); in intel_crt_init()
853 intel_connector->get_hw_state = intel_connector_get_hw_state; in intel_crt_init()
854 intel_connector->unregister = intel_connector_unregister; in intel_crt_init()
[all …]
Dintel_sdvo.c158 struct intel_connector base;
1319 static bool intel_sdvo_connector_get_hw_state(struct intel_connector *connector) in intel_sdvo_connector_get_hw_state()
2342 intel_sdvo_connector_unregister(struct intel_connector *intel_connector) in intel_sdvo_connector_unregister() argument
2347 drm_connector = &intel_connector->base; in intel_sdvo_connector_unregister()
2348 sdvo_encoder = intel_attached_sdvo(&intel_connector->base); in intel_sdvo_connector_unregister()
2352 intel_connector_unregister(intel_connector); in intel_sdvo_connector_unregister()
2437 struct intel_connector *intel_connector; in intel_sdvo_dvi_init() local
2454 intel_connector = &intel_sdvo_connector->base; in intel_sdvo_dvi_init()
2455 connector = &intel_connector->base; in intel_sdvo_dvi_init()
2465 intel_connector->polled = DRM_CONNECTOR_POLL_CONNECT | DRM_CONNECTOR_POLL_DISCONNECT; in intel_sdvo_dvi_init()
[all …]
Dintel_tv.c1580 struct intel_connector *intel_connector; in intel_tv_init() local
1624 intel_connector = intel_connector_alloc(); in intel_tv_init()
1625 if (!intel_connector) { in intel_tv_init()
1631 connector = &intel_connector->base; in intel_tv_init()
1642 intel_connector->polled = DRM_CONNECTOR_POLL_CONNECT; in intel_tv_init()
1656 intel_connector->get_hw_state = intel_connector_get_hw_state; in intel_tv_init()
1657 intel_connector->unregister = intel_connector_unregister; in intel_tv_init()
1659 intel_connector_attach_encoder(intel_connector, intel_encoder); in intel_tv_init()
Dintel_hdmi.c2045 struct intel_connector *intel_connector) in intel_hdmi_init_connector() argument
2047 struct drm_connector *connector = &intel_connector->base; in intel_hdmi_init_connector()
2115 intel_connector->get_hw_state = intel_ddi_connector_get_hw_state; in intel_hdmi_init_connector()
2117 intel_connector->get_hw_state = intel_connector_get_hw_state; in intel_hdmi_init_connector()
2118 intel_connector->unregister = intel_connector_unregister; in intel_hdmi_init_connector()
2122 intel_connector_attach_encoder(intel_connector, intel_encoder); in intel_hdmi_init_connector()
2124 intel_hdmi->attached_connector = intel_connector; in intel_hdmi_init_connector()
2140 struct intel_connector *intel_connector; in intel_hdmi_init() local
2146 intel_connector = intel_connector_alloc(); in intel_hdmi_init()
2147 if (!intel_connector) { in intel_hdmi_init()
[all …]
Dintel_opregion.c414 struct intel_connector *intel_connector; in asle_set_backlight() local
438 list_for_each_entry(intel_connector, &dev->mode_config.connector_list, base.head) in asle_set_backlight()
439 intel_panel_set_backlight_acpi(intel_connector, bclp, 255); in asle_set_backlight()
Dintel_dsi.h48 struct intel_connector *attached_connector;
Di915_debugfs.c2591 struct intel_connector *connector; in i915_sink_crc()
2807 struct intel_connector *intel_connector; in intel_encoder_info() local
2813 for_each_connector_on_encoder(dev, encoder, intel_connector) { in intel_encoder_info()
2814 struct drm_connector *connector = &intel_connector->base; in intel_encoder_info()
2857 struct intel_connector *intel_connector) in intel_dp_info() argument
2859 struct intel_encoder *intel_encoder = intel_connector->encoder; in intel_dp_info()
2865 intel_panel_info(m, &intel_connector->panel); in intel_dp_info()
2869 struct intel_connector *intel_connector) in intel_hdmi_info() argument
2871 struct intel_encoder *intel_encoder = intel_connector->encoder; in intel_hdmi_info()
2878 struct intel_connector *intel_connector) in intel_lvds_info() argument
[all …]
Dintel_ddi.c1962 bool intel_ddi_connector_get_hw_state(struct intel_connector *intel_connector) in intel_ddi_connector_get_hw_state() argument
1964 struct drm_device *dev = intel_connector->base.dev; in intel_ddi_connector_get_hw_state()
1966 struct intel_encoder *intel_encoder = intel_connector->encoder; in intel_ddi_connector_get_hw_state()
1967 int type = intel_connector->base.connector_type; in intel_ddi_connector_get_hw_state()
3221 static struct intel_connector *
3224 struct intel_connector *connector; in intel_ddi_init_dp_connector()
3240 static struct intel_connector *
3243 struct intel_connector *connector; in intel_ddi_init_hdmi_connector()
Di915_drv.h302 #define for_each_intel_connector(dev, intel_connector) \ argument
303 list_for_each_entry(intel_connector, \
311 #define for_each_connector_on_encoder(dev, __encoder, intel_connector) \ argument
312 list_for_each_entry((intel_connector), &(dev)->mode_config.connector_list, base.head) \
313 if ((intel_connector)->base.encoder == (__encoder))
605 struct intel_connector;
3386 extern void intel_connector_unregister(struct intel_connector *);
Dintel_display.c6413 static void intel_connector_check_state(struct intel_connector *connector) in intel_connector_check_state()
6450 int intel_connector_init(struct intel_connector *connector) in intel_connector_init()
6462 struct intel_connector *intel_connector_alloc(void) in intel_connector_alloc()
6464 struct intel_connector *connector; in intel_connector_alloc()
6481 bool intel_connector_get_hw_state(struct intel_connector *connector) in intel_connector_get_hw_state()
11933 struct intel_connector *connector; in intel_modeset_update_connector_atomic_state()
11949 connected_sink_compute_bpp(struct intel_connector *connector, in connected_sink_compute_bpp()
12734 struct intel_connector *connector; in check_encoder_state()
14009 enum pipe intel_get_pipe_from_connector(struct intel_connector *connector) in intel_get_pipe_from_connector()
15036 struct intel_connector *connector; in intel_enable_pipe_a()
[all …]
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c2044 struct gma_connector *intel_connector; in psb_intel_sdvo_dvi_init() local
2059 intel_connector = &psb_intel_sdvo_connector->base; in psb_intel_sdvo_dvi_init()
2060 connector = &intel_connector->base; in psb_intel_sdvo_dvi_init()
2084 struct gma_connector *intel_connector; in psb_intel_sdvo_tv_init() local
2091 intel_connector = &psb_intel_sdvo_connector->base; in psb_intel_sdvo_tv_init()
2092 connector = &intel_connector->base; in psb_intel_sdvo_tv_init()
2123 struct gma_connector *intel_connector; in psb_intel_sdvo_analog_init() local
2130 intel_connector = &psb_intel_sdvo_connector->base; in psb_intel_sdvo_analog_init()
2131 connector = &intel_connector->base; in psb_intel_sdvo_analog_init()
2157 struct gma_connector *intel_connector; in psb_intel_sdvo_lvds_init() local
[all …]