Lines Matching refs:i2c_edid
53 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte()
131 if (!vgpu->display.i2c_edid.edid_available) in reset_gmbus_controller()
133 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in reset_gmbus_controller()
161 vgpu->display.i2c_edid.state = I2C_GMBUS; in gmbus0_mmio_write()
162 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in gmbus0_mmio_write()
169 vgpu->display.i2c_edid.port = port; in gmbus0_mmio_write()
170 vgpu->display.i2c_edid.edid_available = true; in gmbus0_mmio_write()
180 struct intel_vgpu_i2c_edid *i2c_edid = &vgpu->display.i2c_edid; in gmbus1_mmio_write() local
210 i2c_edid->gmbus.total_byte_count = in gmbus1_mmio_write()
216 i2c_edid->slave_selected = true; in gmbus1_mmio_write()
225 i2c_edid->current_edid_read = in gmbus1_mmio_write()
228 i2c_edid->gmbus.cycle_type = gmbus1_bus_cycle(wvalue); in gmbus1_mmio_write()
248 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus1_mmio_write()
260 i2c_edid->gmbus.phase = GMBUS_DATA_PHASE; in gmbus1_mmio_write()
292 struct intel_vgpu_i2c_edid *i2c_edid = &vgpu->display.i2c_edid; in gmbus3_mmio_read() local
293 int byte_left = i2c_edid->gmbus.total_byte_count - in gmbus3_mmio_read()
294 i2c_edid->current_edid_read; in gmbus3_mmio_read()
316 switch (i2c_edid->gmbus.cycle_type) { in gmbus3_mmio_read()
319 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus3_mmio_read()
324 i2c_edid->gmbus.phase = GMBUS_WAIT_PHASE; in gmbus3_mmio_read()
485 struct intel_vgpu_i2c_edid *i2c_edid = &vgpu->display.i2c_edid; in intel_gvt_i2c_handle_aux_ch_write() local
521 i2c_edid->aux_ch.i2c_over_aux_ch = true; in intel_gvt_i2c_handle_aux_ch_write()
522 i2c_edid->aux_ch.aux_ch_mot = true; in intel_gvt_i2c_handle_aux_ch_write()
527 i2c_edid->state = I2C_AUX_CH; in intel_gvt_i2c_handle_aux_ch_write()
528 i2c_edid->port = port_idx; in intel_gvt_i2c_handle_aux_ch_write()
529 i2c_edid->slave_selected = true; in intel_gvt_i2c_handle_aux_ch_write()
533 i2c_edid->edid_available = true; in intel_gvt_i2c_handle_aux_ch_write()
548 if (i2c_edid->edid_available && i2c_edid->slave_selected) { in intel_gvt_i2c_handle_aux_ch_write()
572 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in intel_vgpu_init_i2c_edid()