Lines Matching refs:sdvo

132 	 * This is set if we detect output of sdvo device as LVDS and
138 * This is sdvo fixed pannel mode pointer
146 * the sdvo flag gets lost in round trip: dtd->adjusted_mode->dtd
927 DRM_DEBUG_KMS("writing sdvo hbuf: %i, hbuf_size %i, hbuf_size: %i\n",
957 /* sdvo spec says that the ecc is handled by the hw, and it looks like
1000 /* Asks the sdvo controller for the preferred input mode given the output mode.
1455 struct intel_sdvo *sdvo = intel_attached_sdvo(connector);
1456 return drm_get_edid(connector, sdvo->ddc);
1531 intel_sdvo_connector_matches_edid(struct intel_sdvo_connector *sdvo,
1535 bool connector_is_digital = !!IS_DIGITAL(sdvo);
2046 intel_sdvo_guess_ddc_bus(struct intel_sdvo *sdvo)
2054 switch (sdvo->controlled_output) {
2071 mask &= sdvo->caps.output_flags;
2078 sdvo->ddc_bus = 1 << num_bits;
2090 struct intel_sdvo *sdvo, u32 reg)
2094 if (sdvo->is_sdvob)
2100 sdvo->ddc_bus = 1 << ((mapping->ddc_pin & 0xf0) >> 4);
2102 intel_sdvo_guess_ddc_bus(sdvo);
2107 struct intel_sdvo *sdvo, u32 reg)
2112 if (sdvo->is_sdvob)
2122 sdvo->i2c = intel_gmbus_get_adapter(dev_priv, pin);
2124 /* With gmbus we should be able to drive sdvo i2c at 2MHz, but somehow
2127 intel_gmbus_force_bit(sdvo->i2c, true);
2130 /* undo any changes intel_sdvo_select_i2c_bus() did to sdvo->i2c */
2132 intel_sdvo_unselect_i2c_bus(struct intel_sdvo *sdvo)
2134 intel_gmbus_force_bit(sdvo->i2c, false);
2144 intel_sdvo_get_slave_addr(struct drm_device *dev, struct intel_sdvo *sdvo)
2149 if (sdvo->is_sdvob) {
2174 if (sdvo->is_sdvob)
2702 struct intel_sdvo *sdvo;
2705 sdvo = sc->intel_sdvo;
2707 return (IICBUS_RESET(device_get_parent(sdvo->i2c), speed, addr,
2716 struct intel_sdvo *sdvo;
2719 sdvo = sc->intel_sdvo;
2721 if (!intel_sdvo_set_control_bus_switch(sdvo, sdvo->ddc_bus))
2724 return (iicbus_transfer(sdvo->i2c, msgs, num));
2745 intel_sdvo_init_ddc_proxy(struct intel_sdvo *sdvo,
2751 sdvo->ddc_iic_bus = device_add_child(dev->dev,
2752 "intel_sdvo_ddc_proxy", sdvo->sdvo_reg);
2753 if (sdvo->ddc_iic_bus == NULL) {
2754 DRM_ERROR("cannot create ddc proxy bus %d\n", sdvo->sdvo_reg);
2757 device_quiet(sdvo->ddc_iic_bus);
2758 ret = device_probe_and_attach(sdvo->ddc_iic_bus);
2761 sdvo->sdvo_reg, ret);
2762 device_delete_child(dev->dev, sdvo->ddc_iic_bus);
2765 sc = device_get_softc(sdvo->ddc_iic_bus);
2766 sc->intel_sdvo = sdvo;
2768 sdvo->ddc = sc->port;
2825 /* In default case sdvo lvds is false */