Lines Matching full:ddc
37 struct zx_vga_i2c *ddc; member
88 edid = drm_get_edid(connector, &vga->ddc->adap); in zx_vga_connector_get_modes()
167 &vga->ddc->adap); in zx_vga_register()
269 * The DDC I2C adapter is only for reading EDID data, so we assume in zx_vga_i2c_write()
285 struct zx_vga_i2c *ddc = vga->ddc; in zx_vga_i2c_xfer() local
289 mutex_lock(&ddc->lock); in zx_vga_i2c_xfer()
304 mutex_unlock(&ddc->lock); in zx_vga_i2c_xfer()
323 struct zx_vga_i2c *ddc; in zx_vga_ddc_register() local
326 ddc = devm_kzalloc(dev, sizeof(*ddc), GFP_KERNEL); in zx_vga_ddc_register()
327 if (!ddc) in zx_vga_ddc_register()
330 vga->ddc = ddc; in zx_vga_ddc_register()
331 mutex_init(&ddc->lock); in zx_vga_ddc_register()
333 adap = &ddc->adap; in zx_vga_ddc_register()
373 * Since VGA_DETECT_SEL bits need to be reset for switching DDC in zx_vga_irq_handler()
414 * We need to poke monitor via DDC bus to get connection irq in zx_vga_hw_init()
461 DRM_DEV_ERROR(dev, "failed to register ddc: %d\n", ret); in zx_vga_bind()