Lines Matching defs:i2c
72 struct i2c_adapter *i2c;
288 if ((ret = i2c_transfer(intel_sdvo->i2c, msgs, 2)) == 2)
291 DRM_DEBUG_KMS("i2c transfer returned %d\n", ret);
495 ret = i2c_transfer(intel_sdvo->i2c, msgs, i+3);
593 /* This must be the immediately preceding write before the i2c xfer */
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 */
2289 intel_gmbus_force_bit(sdvo->i2c, false);
2822 return sdvo->i2c->algo->master_xfer(sdvo->i2c, msgs, num);
2828 return sdvo->i2c->algo->functionality(sdvo->i2c);