Lines Matching defs:sdvo

134 	 * This is set if we detect output of sdvo device as LVDS.
140 * This is sdvo fixed pannel mode pointer
148 * the sdvo flag gets lost in round trip: dtd->adjusted_mode->dtd
942 DRM_DEBUG_KMS("writing sdvo hbuf: %i, hbuf_size %i, hbuf_size: %i\n",
983 /* sdvo spec says that the ecc is handled by the hw, and it looks like
1025 /* Asks the sdvo controller for the preferred input mode given the output mode.
1325 /* Some sdvo encoders are not spec compliant and don't
1345 * the sdvo port register, on all other platforms it is part of the dpll
1357 /* Cross check the port pixel multiplier with the sdvo encoder state. */
1599 struct intel_sdvo *sdvo = intel_attached_sdvo(connector);
1600 return drm_get_edid(connector, &sdvo->ddc);
1677 intel_sdvo_connector_matches_edid(struct intel_sdvo_connector *sdvo,
1681 bool connector_is_digital = !!IS_DIGITAL(sdvo);
2201 intel_sdvo_guess_ddc_bus(struct intel_sdvo *sdvo)
2209 switch (sdvo->controlled_output) {
2226 mask &= sdvo->caps.output_flags;
2233 sdvo->ddc_bus = 1 << num_bits;
2245 struct intel_sdvo *sdvo, u32 reg)
2249 if (sdvo->is_sdvob)
2255 sdvo->ddc_bus = 1 << ((mapping->ddc_pin & 0xf0) >> 4);
2257 intel_sdvo_guess_ddc_bus(sdvo);
2262 struct intel_sdvo *sdvo, u32 reg)
2267 if (sdvo->is_sdvob)
2277 sdvo->i2c = intel_gmbus_get_adapter(dev_priv, pin);
2279 /* With gmbus we should be able to drive sdvo i2c at 2MHz, but somehow
2282 intel_gmbus_force_bit(sdvo->i2c, true);
2285 /* undo any changes intel_sdvo_select_i2c_bus() did to sdvo->i2c */
2287 intel_sdvo_unselect_i2c_bus(struct intel_sdvo *sdvo)
2289 intel_gmbus_force_bit(sdvo->i2c, false);
2299 intel_sdvo_get_slave_addr(struct drm_device *dev, struct intel_sdvo *sdvo)
2304 if (sdvo->is_sdvob) {
2329 if (sdvo->is_sdvob)
2817 struct intel_sdvo *sdvo = adapter->algo_data;
2819 if (!intel_sdvo_set_control_bus_switch(sdvo, sdvo->ddc_bus))
2822 return sdvo->i2c->algo->master_xfer(sdvo->i2c, msgs, num);
2827 struct intel_sdvo *sdvo = adapter->algo_data;
2828 return sdvo->i2c->algo->functionality(sdvo->i2c);
2837 intel_sdvo_init_ddc_proxy(struct intel_sdvo *sdvo,
2840 /* OSOL_i915: sdvo->ddc.owner = THIS_MODULE; */
2841 /* OSOL_i915: sdvo->ddc.class = I2C_CLASS_DDC; */
2842 snprintf(sdvo->ddc.name, I2C_NAME_SIZE, "SDVO DDC proxy");
2843 /* OSOL_i915: sdvo->ddc.dev.parent = &dev->pdev->dev; */
2844 sdvo->ddc.algo_data = sdvo;
2845 sdvo->ddc.algo = &intel_sdvo_ddc_proxy;
2847 /* OSOL_i915: return i2c_add_adapter(&sdvo->ddc) == 0; */
2891 /* In default case sdvo lvds is false */