Searched refs:gmbus (Results 1 – 8 of 8) sorted by relevance
131 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in reset_gmbus_controller()160 vgpu->display.i2c_edid.gmbus.phase = GMBUS_IDLE_PHASE; in gmbus0_mmio_write()208 i2c_edid->gmbus.total_byte_count = in gmbus1_mmio_write()226 i2c_edid->gmbus.cycle_type = gmbus1_bus_cycle(wvalue); in gmbus1_mmio_write()246 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus1_mmio_write()258 i2c_edid->gmbus.phase = GMBUS_DATA_PHASE; in gmbus1_mmio_write()291 int byte_left = i2c_edid->gmbus.total_byte_count - in gmbus3_mmio_read()314 switch (i2c_edid->gmbus.cycle_type) { in gmbus3_mmio_read()317 i2c_edid->gmbus.phase = GMBUS_IDLE_PHASE; in gmbus3_mmio_read()322 i2c_edid->gmbus.phase = GMBUS_WAIT_PHASE; in gmbus3_mmio_read()[all …]
137 struct intel_vgpu_i2c_gmbus gmbus; member
400 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()
251 u8 gmbus:2; member
1223 &dev_priv->gmbus[dev_priv->crt_ddc_pin].adapter); in psb_intel_sdvo_get_analog_edid()1865 sdvo->i2c = &dev_priv->gmbus[pin].adapter; in psb_intel_sdvo_select_i2c_bus()1869 sdvo->i2c = &dev_priv->gmbus[GMBUS_PORT_DPB].adapter; in psb_intel_sdvo_select_i2c_bus()
499 struct intel_gmbus *gmbus; member
852 for (pin = 0; pin < ARRAY_SIZE(dev_priv->gmbus); pin++) { in intel_gmbus_setup()856 bus = &dev_priv->gmbus[pin]; in intel_gmbus_setup()900 bus = &dev_priv->gmbus[pin]; in intel_gmbus_setup()913 return &dev_priv->gmbus[pin].adapter; in intel_gmbus_get_adapter()951 for (pin = 0; pin < ARRAY_SIZE(dev_priv->gmbus); pin++) { in intel_gmbus_teardown()955 bus = &dev_priv->gmbus[pin]; in intel_gmbus_teardown()
863 struct intel_gmbus gmbus[GMBUS_NUM_PINS]; member