Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/i915/gvt/
Dedid.c132 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in reset_gmbus_controller()
161 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in gmbus0_mmio_write()
209 i2c_edid->gmbus.total_byte_count = in gmbus1_mmio_write()
227 i2c_edid->gmbus.cycle_type = gmbus1_bus_cycle(wvalue); in gmbus1_mmio_write()
247 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus1_mmio_write()
259 i2c_edid->gmbus.phase = GMBUS_DATA_PHASE; in gmbus1_mmio_write()
292 int byte_left = i2c_edid->gmbus.total_byte_count - in gmbus3_mmio_read()
315 switch (i2c_edid->gmbus.cycle_type) { in gmbus3_mmio_read()
318 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus3_mmio_read()
323 i2c_edid->gmbus.phase = GMBUS_WAIT_PHASE; in gmbus3_mmio_read()
[all …]
Dedid.h137 struct intel_vgpu_i2c_gmbus gmbus; member
/linux-5.19.10/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.h452 struct intel_gmbus *gmbus; member
Dpsb_intel_sdvo.c1223 &dev_priv->gmbus[dev_priv->crt_ddc_pin].adapter); in psb_intel_sdvo_get_analog_edid()
1866 sdvo->i2c = &dev_priv->gmbus[pin].adapter; in psb_intel_sdvo_select_i2c_bus()
1870 sdvo->i2c = &dev_priv->gmbus[GMBUS_PORT_DPB].adapter; in psb_intel_sdvo_select_i2c_bus()
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_gmbus.c878 for (pin = 0; pin < ARRAY_SIZE(dev_priv->gmbus); pin++) { in intel_gmbus_setup()
925 dev_priv->gmbus[pin] = bus; in intel_gmbus_setup()
941 if (drm_WARN_ON(&dev_priv->drm, pin >= ARRAY_SIZE(dev_priv->gmbus) || in intel_gmbus_get_adapter()
942 !dev_priv->gmbus[pin])) in intel_gmbus_get_adapter()
945 return &dev_priv->gmbus[pin]->adapter; in intel_gmbus_get_adapter()
975 for (pin = 0; pin < ARRAY_SIZE(dev_priv->gmbus); pin++) { in intel_gmbus_teardown()
978 bus = dev_priv->gmbus[pin]; in intel_gmbus_teardown()
985 dev_priv->gmbus[pin] = NULL; in intel_gmbus_teardown()
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_drv.h486 struct intel_gmbus *gmbus[GMBUS_NUM_PINS]; member