Home
last modified time | relevance | path

Searched refs:i2c_edid (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/i915/gvt/
Dedid.c51 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte()
129 if (!vgpu->display.i2c_edid.edid_available) in reset_gmbus_controller()
131 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in reset_gmbus_controller()
159 vgpu->display.i2c_edid.state = I2C_GMBUS; in gmbus0_mmio_write()
160 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in gmbus0_mmio_write()
167 vgpu->display.i2c_edid.port = port; in gmbus0_mmio_write()
168 vgpu->display.i2c_edid.edid_available = true; in gmbus0_mmio_write()
178 struct intel_vgpu_i2c_edid *i2c_edid = &vgpu->display.i2c_edid; in gmbus1_mmio_write() local
208 i2c_edid->gmbus.total_byte_count = in gmbus1_mmio_write()
214 i2c_edid->slave_selected = true; in gmbus1_mmio_write()
[all …]
Dgvt.h129 struct intel_vgpu_i2c_edid i2c_edid; member
/drivers/gpu/drm/bridge/adv7511/
Dadv7511_drv.c572 xfer[0].addr = adv7511->i2c_edid->addr; in adv7511_get_edid_block()
576 xfer[1].addr = adv7511->i2c_edid->addr; in adv7511_get_edid_block()
584 ret = i2c_transfer(adv7511->i2c_edid->adapter, xfer, in adv7511_get_edid_block()
618 (adv7511->i2c_edid->addr << 1); in adv7511_get_edid()
1268 adv7511->i2c_edid = i2c_new_ancillary_device(i2c, "edid", in adv7511_probe()
1270 if (IS_ERR(adv7511->i2c_edid)) { in adv7511_probe()
1271 ret = PTR_ERR(adv7511->i2c_edid); in adv7511_probe()
1276 adv7511->i2c_edid->addr << 1); in adv7511_probe()
1335 i2c_unregister_device(adv7511->i2c_edid); in adv7511_probe()
1361 i2c_unregister_device(adv7511->i2c_edid); in adv7511_remove()
Dadv7511.h331 struct i2c_client *i2c_edid; member
/drivers/media/i2c/
Dadv7511-v4l2.c118 struct i2c_client *i2c_edid; member
243 err = adv_smbus_read_i2c_block_data(state->i2c_edid, i, in adv7511_edid_rd()
1861 state->i2c_edid_addr = state->pdata.i2c_edid << 1; in adv7511_probe()
1875 state->i2c_edid = i2c_new_dummy_device(client->adapter, in adv7511_probe()
1877 if (IS_ERR(state->i2c_edid)) { in adv7511_probe()
1879 err = PTR_ERR(state->i2c_edid); in adv7511_probe()
1945 i2c_unregister_device(state->i2c_edid); in adv7511_probe()
1968 i2c_unregister_device(state->i2c_edid); in adv7511_remove()
Dadv7842.c123 struct i2c_client *i2c_edid; member
514 return adv_smbus_read_byte_data(state->i2c_edid, reg); in edid_read()
521 return adv_smbus_write_byte_data(state->i2c_edid, reg, val); in edid_write()
744 err = adv_smbus_write_i2c_block_data(state->i2c_edid, i, in edid_write_vga_segment()
810 err = adv_smbus_write_i2c_block_data(state->i2c_edid, i, in edid_write_hdmi_segment()
3169 io_write(sd, 0xfa, pdata->i2c_edid << 1); in adv7842_rewrite_i2c_addresses()
3361 i2c_unregister_device(state->i2c_edid); in adv7842_unregister_clients()
3373 state->i2c_edid = NULL; in adv7842_unregister_clients()
3414 state->i2c_edid = adv7842_dummy_client(sd, "edid", pdata->i2c_edid, 0xfa); in adv7842_register_clients()
3426 !state->i2c_edid || in adv7842_register_clients()
/drivers/media/pci/cobalt/
Dcobalt-driver.c566 .i2c_edid = 0x36, in cobalt_subdevs_hsma_init()
582 .i2c_edid = 0x7e >> 1, in cobalt_subdevs_hsma_init()