Home
last modified time | relevance | path

Searched refs:gmbus (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_gmbus.c380 add_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait()
391 remove_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait()
411 add_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait_idle()
417 remove_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait_idle()
800 mutex_lock(&i915->display.gmbus.mutex); in intel_gmbus_output_aksv()
809 mutex_unlock(&i915->display.gmbus.mutex); in intel_gmbus_output_aksv()
835 mutex_lock(&i915->display.gmbus.mutex); in gmbus_lock_bus()
844 return mutex_trylock(&i915->display.gmbus.mutex); in gmbus_trylock_bus()
853 mutex_unlock(&i915->display.gmbus.mutex); in gmbus_unlock_bus()
873 i915->display.gmbus.mmio_base = VLV_DISPLAY_BASE; in intel_gmbus_setup()
[all …]
Dintel_gmbus_regs.h11 #define GMBUS_MMIO_BASE(__i915) ((__i915)->display.gmbus.mmio_base)
Dintel_display_core.h405 } gmbus; member
Dintel_dp_aux.c855 wake_up_all(&i915->display.gmbus.wait_queue); in intel_dp_aux_irq_handler()
Dintel_cdclk.c2326 mutex_lock(&dev_priv->display.gmbus.mutex); in intel_set_cdclk()
2331 &dev_priv->display.gmbus.mutex); in intel_set_cdclk()
2341 mutex_unlock(&dev_priv->display.gmbus.mutex); in intel_set_cdclk()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dedid.c134 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in reset_gmbus_controller()
163 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in gmbus0_mmio_write()
211 i2c_edid->gmbus.total_byte_count = in gmbus1_mmio_write()
229 i2c_edid->gmbus.cycle_type = gmbus1_bus_cycle(wvalue); in gmbus1_mmio_write()
249 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus1_mmio_write()
261 i2c_edid->gmbus.phase = GMBUS_DATA_PHASE; in gmbus1_mmio_write()
294 int byte_left = i2c_edid->gmbus.total_byte_count - in gmbus3_mmio_read()
317 switch (i2c_edid->gmbus.cycle_type) { in gmbus3_mmio_read()
320 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus3_mmio_read()
325 i2c_edid->gmbus.phase = GMBUS_WAIT_PHASE; in gmbus3_mmio_read()
[all …]
Dedid.h137 struct intel_vgpu_i2c_gmbus gmbus; member
/linux-6.6.21/drivers/gpu/drm/gma500/
Dintel_gmbus.c400 dev_priv->gmbus = kcalloc(GMBUS_NUM_PORTS, sizeof(struct intel_gmbus), in gma_intel_setup_gmbus()
402 if (dev_priv->gmbus == NULL) in gma_intel_setup_gmbus()
411 struct intel_gmbus *bus = &dev_priv->gmbus[i]; in gma_intel_setup_gmbus()
441 struct intel_gmbus *bus = &dev_priv->gmbus[i]; in gma_intel_setup_gmbus()
444 kfree(dev_priv->gmbus); in gma_intel_setup_gmbus()
445 dev_priv->gmbus = NULL; in gma_intel_setup_gmbus()
486 if (dev_priv->gmbus == NULL) in gma_intel_teardown_gmbus()
490 struct intel_gmbus *bus = &dev_priv->gmbus[i]; in gma_intel_teardown_gmbus()
499 kfree(dev_priv->gmbus); in gma_intel_teardown_gmbus()
500 dev_priv->gmbus = NULL; in gma_intel_teardown_gmbus()
Dintel_bios.h251 u8 gmbus:2; member
Dpsb_drv.h451 struct intel_gmbus *gmbus; member
Dpsb_intel_sdvo.c1245 &dev_priv->gmbus[dev_priv->crt_ddc_pin].adapter); in psb_intel_sdvo_get_analog_edid()
1888 sdvo->i2c = &dev_priv->gmbus[pin].adapter; in psb_intel_sdvo_select_i2c_bus()
1892 sdvo->i2c = &dev_priv->gmbus[GMBUS_PORT_DPB].adapter; in psb_intel_sdvo_select_i2c_bus()