i2c_bus 54 arch/x86/platform/intel-mid/sfi.c static int i2c_bus[MAX_SCU_I2C]; i2c_bus 269 arch/x86/platform/intel-mid/sfi.c i2c_bus[i2c_next_dev] = bus; i2c_bus 288 arch/x86/platform/intel-mid/sfi.c adapter = i2c_get_adapter(i2c_bus[i]); i2c_bus 295 arch/x86/platform/intel-mid/sfi.c i2c_register_board_info(i2c_bus[i], i2c_devs[i], 1); i2c_bus 795 drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_i2c_chan *i2c_bus[AMDGPU_MAX_I2C_BUS]; i2c_bus 151 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c adev->i2c_bus[i] = amdgpu_i2c_create(adev->ddev, &i2c, stmp); i2c_bus 1497 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c struct amdgpu_i2c_bus_rec *i2c_bus, i2c_bus 1524 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (amdgpu_connector->ddc_bus && i2c_bus->valid) { i2c_bus 1525 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (amdgpu_connector->ddc_bus->rec.i2c_id == i2c_bus->i2c_id) { i2c_bus 1576 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1577 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1671 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1672 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1696 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1697 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1726 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1727 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1781 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1782 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1828 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1829 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1875 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1876 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1901 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 1902 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); i2c_bus 1924 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (i2c_bus->valid) { i2c_bus 37 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.h struct amdgpu_i2c_bus_rec *i2c_bus, i2c_bus 767 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c struct amdgpu_i2c_bus_rec i2c_bus; i2c_bus 852 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c i2c_bus = amdgpu_atombios_lookup_i2c_gpio(adev, controller->ucI2cLine); i2c_bus 853 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.i2c_bus = amdgpu_i2c_lookup(adev, &i2c_bus); i2c_bus 854 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->pm.i2c_bus) { i2c_bus 859 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c i2c_new_device(&adev->pm.i2c_bus->adapter, &info); i2c_bus 437 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h struct amdgpu_i2c_chan *i2c_bus; i2c_bus 244 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c if (adev->i2c_bus[i]) { i2c_bus 245 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c amdgpu_i2c_destroy(adev->i2c_bus[i]); i2c_bus 246 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c adev->i2c_bus[i] = NULL; i2c_bus 260 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c if (!adev->i2c_bus[i]) { i2c_bus 261 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c adev->i2c_bus[i] = amdgpu_i2c_create(dev, rec, name); i2c_bus 270 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c const struct amdgpu_i2c_bus_rec *i2c_bus) i2c_bus 275 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c if (adev->i2c_bus[i] && i2c_bus 276 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c (adev->i2c_bus[i]->rec.i2c_id == i2c_bus->i2c_id)) { i2c_bus 277 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c return adev->i2c_bus[i]; i2c_bus 283 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c static void amdgpu_i2c_get_byte(struct amdgpu_i2c_chan *i2c_bus, i2c_bus 308 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c if (i2c_transfer(&i2c_bus->adapter, msgs, 2) == 2) { i2c_bus 317 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c static void amdgpu_i2c_put_byte(struct amdgpu_i2c_chan *i2c_bus, i2c_bus 333 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c if (i2c_transfer(&i2c_bus->adapter, &msg, 1) != 1) i2c_bus 38 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h const struct amdgpu_i2c_bus_rec *i2c_bus); i2c_bus 293 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h struct amdgpu_i2c_bus_rec *i2c_bus, i2c_bus 58 drivers/gpu/drm/gma500/cdv_intel_hdmi.c struct mdfld_hdmi_i2c *i2c_bus; i2c_bus 136 drivers/gpu/drm/gma500/cdv_intel_hdmi.c edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter); i2c_bus 218 drivers/gpu/drm/gma500/cdv_intel_hdmi.c edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter); i2c_bus 250 drivers/gpu/drm/gma500/cdv_intel_hdmi.c psb_intel_i2c_destroy(gma_encoder->i2c_bus); i2c_bus 349 drivers/gpu/drm/gma500/cdv_intel_hdmi.c gma_encoder->i2c_bus = psb_intel_i2c_create(dev, i2c_bus 352 drivers/gpu/drm/gma500/cdv_intel_hdmi.c if (!gma_encoder->i2c_bus) { i2c_bus 357 drivers/gpu/drm/gma500/cdv_intel_hdmi.c hdmi_priv->hdmi_i2c_adapter = &(gma_encoder->i2c_bus->adapter); i2c_bus 386 drivers/gpu/drm/gma500/cdv_intel_lvds.c ret = psb_intel_ddc_get_modes(connector, &gma_encoder->i2c_bus->adapter); i2c_bus 412 drivers/gpu/drm/gma500/cdv_intel_lvds.c psb_intel_i2c_destroy(gma_encoder->i2c_bus); i2c_bus 646 drivers/gpu/drm/gma500/cdv_intel_lvds.c gma_encoder->i2c_bus = psb_intel_i2c_create(dev, i2c_bus 649 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (!gma_encoder->i2c_bus) { i2c_bus 654 drivers/gpu/drm/gma500/cdv_intel_lvds.c gma_encoder->i2c_bus->slave_addr = 0x2C; i2c_bus 655 drivers/gpu/drm/gma500/cdv_intel_lvds.c dev_priv->lvds_i2c_bus = gma_encoder->i2c_bus; i2c_bus 752 drivers/gpu/drm/gma500/cdv_intel_lvds.c psb_intel_i2c_destroy(gma_encoder->i2c_bus); i2c_bus 566 drivers/gpu/drm/gma500/oaktrail_device.c .i2c_bus = 1, i2c_bus 352 drivers/gpu/drm/gma500/oaktrail_lvds.c i2c_adap = i2c_get_adapter(dev_priv->ops->i2c_bus); i2c_bus 656 drivers/gpu/drm/gma500/psb_drv.h int i2c_bus; /* I2C bus identifier for Moorestown */ i2c_bus 125 drivers/gpu/drm/gma500/psb_intel_drv.h struct psb_intel_i2c_chan *i2c_bus; i2c_bus 50 drivers/gpu/drm/gma500/psb_intel_lvds.c struct psb_intel_i2c_chan *i2c_bus; i2c_bus 501 drivers/gpu/drm/gma500/psb_intel_lvds.c ret = psb_intel_ddc_get_modes(connector, &lvds_priv->i2c_bus->adapter); i2c_bus 712 drivers/gpu/drm/gma500/psb_intel_lvds.c lvds_priv->i2c_bus = psb_intel_i2c_create(dev, GPIOB, "LVDSBLC_B"); i2c_bus 713 drivers/gpu/drm/gma500/psb_intel_lvds.c if (!lvds_priv->i2c_bus) { i2c_bus 718 drivers/gpu/drm/gma500/psb_intel_lvds.c lvds_priv->i2c_bus->slave_addr = 0x2C; i2c_bus 719 drivers/gpu/drm/gma500/psb_intel_lvds.c dev_priv->lvds_i2c_bus = lvds_priv->i2c_bus; i2c_bus 806 drivers/gpu/drm/gma500/psb_intel_lvds.c psb_intel_i2c_destroy(lvds_priv->i2c_bus); i2c_bus 185 drivers/gpu/drm/i915/display/dvo_ch7017.c return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; i2c_bus 197 drivers/gpu/drm/i915/display/dvo_ch7017.c return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; i2c_bus 212 drivers/gpu/drm/i915/display/dvo_ch7017.c dvo->i2c_bus = adapter; i2c_bus 139 drivers/gpu/drm/i915/display/dvo_ch7xxx.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 177 drivers/gpu/drm/i915/display/dvo_ch7xxx.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 212 drivers/gpu/drm/i915/display/dvo_ch7xxx.c dvo->i2c_bus = adapter; i2c_bus 195 drivers/gpu/drm/i915/display/dvo_ivch.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 238 drivers/gpu/drm/i915/display/dvo_ivch.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 274 drivers/gpu/drm/i915/display/dvo_ivch.c dvo->i2c_bus = adapter; i2c_bus 396 drivers/gpu/drm/i915/display/dvo_ns2501.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 441 drivers/gpu/drm/i915/display/dvo_ns2501.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 483 drivers/gpu/drm/i915/display/dvo_ns2501.c dvo->i2c_bus = adapter; i2c_bus 72 drivers/gpu/drm/i915/display/dvo_sil164.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 109 drivers/gpu/drm/i915/display/dvo_sil164.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 144 drivers/gpu/drm/i915/display/dvo_sil164.c dvo->i2c_bus = adapter; i2c_bus 97 drivers/gpu/drm/i915/display/dvo_tfp410.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 134 drivers/gpu/drm/i915/display/dvo_tfp410.c struct i2c_adapter *adapter = dvo->i2c_bus; i2c_bus 180 drivers/gpu/drm/i915/display/dvo_tfp410.c dvo->i2c_bus = adapter; i2c_bus 44 drivers/gpu/drm/i915/display/intel_dvo_dev.h struct i2c_adapter *i2c_bus; i2c_bus 156 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c struct nvkm_i2c_bus *i2c_bus; i2c_bus 176 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c i2c_bus = nvkm_i2c_bus_find(i2c, NVKM_I2C_BUS_SEC); i2c_bus 178 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c i2c_bus = nvkm_i2c_bus_find(i2c, NVKM_I2C_BUS_PRI); i2c_bus 179 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c if (!i2c_bus) i2c_bus 183 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c if (!nvkm_iccsense_validate_device(&i2c_bus->i2c, addr, i2c_bus 198 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c sensor->i2c = &i2c_bus->i2c; i2c_bus 1624 drivers/gpu/drm/radeon/radeon.h struct radeon_i2c_chan *i2c_bus; i2c_bus 2424 drivers/gpu/drm/radeon/radeon.h struct radeon_i2c_chan *i2c_bus[RADEON_MAX_I2C_BUS]; i2c_bus 195 drivers/gpu/drm/radeon/radeon_atombios.c rdev->i2c_bus[i] = radeon_i2c_create(rdev->ddev, &i2c, stmp); i2c_bus 289 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_i2c_bus_rec *i2c_bus, i2c_bus 334 drivers/gpu/drm/radeon/radeon_atombios.c i2c_bus->valid = false; i2c_bus 437 drivers/gpu/drm/radeon/radeon_atombios.c (i2c_bus->valid == false) && i2c_bus 440 drivers/gpu/drm/radeon/radeon_atombios.c *i2c_bus = radeon_lookup_i2c_gpio(rdev, 0x93); i2c_bus 2099 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_i2c_bus_rec i2c_bus; i2c_bus 2116 drivers/gpu/drm/radeon/radeon_atombios.c i2c_bus = radeon_lookup_i2c_gpio(rdev, power_info->info.ucOverdriveI2cLine); i2c_bus 2117 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); i2c_bus 2118 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.i2c_bus) { i2c_bus 2124 drivers/gpu/drm/radeon/radeon_atombios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); i2c_bus 2280 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_i2c_bus_rec i2c_bus; i2c_bus 2357 drivers/gpu/drm/radeon/radeon_atombios.c i2c_bus = radeon_lookup_i2c_gpio(rdev, controller->ucI2cLine); i2c_bus 2358 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); i2c_bus 2359 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.i2c_bus) { i2c_bus 2364 drivers/gpu/drm/radeon/radeon_atombios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); i2c_bus 691 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[0] = radeon_i2c_create(dev, &i2c, "DVI_DDC"); i2c_bus 694 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[1] = radeon_i2c_create(dev, &i2c, "VGA_DDC"); i2c_bus 701 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[2] = radeon_i2c_create(dev, &i2c, "MM_I2C"); i2c_bus 711 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[3] = radeon_i2c_create(dev, &i2c, "MONID"); i2c_bus 716 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[4] = radeon_i2c_create(dev, &i2c, "GPIOPAD_MASK"); i2c_bus 721 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[3] = radeon_i2c_create(dev, &i2c, "MONID"); i2c_bus 725 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[3] = radeon_i2c_create(dev, &i2c, "MONID"); i2c_bus 728 drivers/gpu/drm/radeon/radeon_combios.c rdev->i2c_bus[4] = radeon_i2c_create(dev, &i2c, "CRT2_DDC"); i2c_bus 1391 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_i2c_bus_rec i2c_bus; i2c_bus 1394 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus = combios_setup_i2c_bus(rdev, DDC_MONID, 0, 0); i2c_bus 1395 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); i2c_bus 1418 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_i2c_bus_rec i2c_bus; i2c_bus 1420 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = NULL; i2c_bus 1422 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus = combios_setup_i2c_bus(rdev, DDC_MONID, 0, 0); i2c_bus 1423 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); i2c_bus 1436 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.valid = true; i2c_bus 1437 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.hw_capable = true; i2c_bus 1438 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.mm_i2c = true; i2c_bus 1439 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.i2c_id = 0xa0; i2c_bus 1441 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus = combios_setup_i2c_bus(rdev, gpio, 0, 0); i2c_bus 1442 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); i2c_bus 1446 drivers/gpu/drm/radeon/radeon_combios.c if (!tmds->i2c_bus) { i2c_bus 2643 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_i2c_bus_rec i2c_bus; i2c_bus 2692 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.valid = true; i2c_bus 2693 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.hw_capable = true; i2c_bus 2694 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.mm_i2c = true; i2c_bus 2695 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus.i2c_id = 0xa0; i2c_bus 2697 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus = combios_setup_i2c_bus(rdev, gpio, 1 << clk_bit, 1 << data_bit); i2c_bus 2699 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus = combios_setup_i2c_bus(rdev, gpio, 0, 0); i2c_bus 2700 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); i2c_bus 2701 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->pm.i2c_bus) { i2c_bus 2706 drivers/gpu/drm/radeon/radeon_combios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); i2c_bus 2716 drivers/gpu/drm/radeon/radeon_combios.c i2c_bus = combios_setup_i2c_bus(rdev, DDC_MONID, 0, 0); i2c_bus 2717 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); i2c_bus 2718 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->pm.i2c_bus) { i2c_bus 2723 drivers/gpu/drm/radeon/radeon_combios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); i2c_bus 2848 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, i2c_bus 2851 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, i2c_bus 2854 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, i2c_bus 2857 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, i2c_bus 2860 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, i2c_bus 2944 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, i2c_bus 2999 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, i2c_bus 1861 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_i2c_bus_rec *i2c_bus, i2c_bus 1895 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus && i2c_bus->valid) { i2c_bus 1896 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus->rec.i2c_id == i2c_bus->i2c_id) { i2c_bus 1948 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 1949 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2047 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2048 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2072 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2073 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2103 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2104 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2160 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2161 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2210 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2211 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2260 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2261 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2299 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2300 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2315 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2340 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_i2c_bus_rec *i2c_bus, i2c_bus 2383 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2384 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2400 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2401 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2418 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2419 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2463 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 2464 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); i2c_bus 2478 drivers/gpu/drm/radeon/radeon_connectors.c if (i2c_bus->valid) { i2c_bus 1011 drivers/gpu/drm/radeon/radeon_i2c.c if (rdev->i2c_bus[i]) { i2c_bus 1012 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_destroy(rdev->i2c_bus[i]); i2c_bus 1013 drivers/gpu/drm/radeon/radeon_i2c.c rdev->i2c_bus[i] = NULL; i2c_bus 1027 drivers/gpu/drm/radeon/radeon_i2c.c if (!rdev->i2c_bus[i]) { i2c_bus 1028 drivers/gpu/drm/radeon/radeon_i2c.c rdev->i2c_bus[i] = radeon_i2c_create(dev, rec, name); i2c_bus 1036 drivers/gpu/drm/radeon/radeon_i2c.c struct radeon_i2c_bus_rec *i2c_bus) i2c_bus 1041 drivers/gpu/drm/radeon/radeon_i2c.c if (rdev->i2c_bus[i] && i2c_bus 1042 drivers/gpu/drm/radeon/radeon_i2c.c (rdev->i2c_bus[i]->rec.i2c_id == i2c_bus->i2c_id)) { i2c_bus 1043 drivers/gpu/drm/radeon/radeon_i2c.c return rdev->i2c_bus[i]; i2c_bus 1049 drivers/gpu/drm/radeon/radeon_i2c.c void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, i2c_bus 1074 drivers/gpu/drm/radeon/radeon_i2c.c if (i2c_transfer(&i2c_bus->adapter, msgs, 2) == 2) { i2c_bus 1083 drivers/gpu/drm/radeon/radeon_i2c.c void radeon_i2c_put_byte(struct radeon_i2c_chan *i2c_bus, i2c_bus 1099 drivers/gpu/drm/radeon/radeon_i2c.c if (i2c_transfer(&i2c_bus->adapter, &msg, 1) != 1) i2c_bus 421 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_i2c_chan *i2c_bus; i2c_bus 699 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_i2c_bus_rec *i2c_bus, i2c_bus 709 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_i2c_bus_rec *i2c_bus, i2c_bus 789 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_i2c_bus_rec *i2c_bus); i2c_bus 794 drivers/gpu/drm/radeon/radeon_mode.h extern void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, i2c_bus 71 drivers/i2c/busses/i2c-kempld.c static int i2c_bus = -1; i2c_bus 72 drivers/i2c/busses/i2c-kempld.c module_param(i2c_bus, int, 0); i2c_bus 73 drivers/i2c/busses/i2c-kempld.c MODULE_PARM_DESC(i2c_bus, "Set I2C bus number (default=-1 for dynamic assignment)"); i2c_bus 318 drivers/i2c/busses/i2c-kempld.c if (i2c_bus >= -1) i2c_bus 319 drivers/i2c/busses/i2c-kempld.c i2c->adap.nr = i2c_bus; i2c_bus 472 drivers/media/pci/cx23885/cimax2.c state->i2c_adap = &port->dev->i2c_bus[0].i2c_adap; i2c_bus 2099 drivers/media/pci/cx23885/cx23885-cards.c if (dev->i2c_bus[0].i2c_rc == 0) { i2c_bus 2100 drivers/media/pci/cx23885/cx23885-cards.c dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1; i2c_bus 2101 drivers/media/pci/cx23885/cx23885-cards.c tveeprom_read(&dev->i2c_bus[0].i2c_client, i2c_bus 2107 drivers/media/pci/cx23885/cx23885-cards.c if (dev->i2c_bus[0].i2c_rc == 0) { i2c_bus 2117 drivers/media/pci/cx23885/cx23885-cards.c if (dev->i2c_bus[0].i2c_rc == 0) i2c_bus 2141 drivers/media/pci/cx23885/cx23885-cards.c if (dev->i2c_bus[0].i2c_rc == 0) i2c_bus 2146 drivers/media/pci/cx23885/cx23885-cards.c dev->i2c_bus[1].i2c_client.addr = 0xa0 >> 1; i2c_bus 2147 drivers/media/pci/cx23885/cx23885-cards.c tveeprom_read(&dev->i2c_bus[1].i2c_client, i2c_bus 2149 drivers/media/pci/cx23885/cx23885-cards.c if (dev->i2c_bus[0].i2c_rc == 0) i2c_bus 2376 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[2].i2c_adap, i2c_bus 2392 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[0].i2c_adap, i2c_bus 2398 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[0].i2c_adap, i2c_bus 2402 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[0].i2c_adap, i2c_bus 2426 drivers/media/pci/cx23885/cx23885-cards.c netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo); i2c_bus 946 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].nr = 0; i2c_bus 947 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].dev = dev; i2c_bus 948 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].reg_stat = I2C1_STAT; i2c_bus 949 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; i2c_bus 950 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].reg_addr = I2C1_ADDR; i2c_bus 951 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].reg_rdata = I2C1_RDATA; i2c_bus 952 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].reg_wdata = I2C1_WDATA; i2c_bus 953 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[0].i2c_period = (0x9d << 24); /* 100kHz */ i2c_bus 956 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].nr = 1; i2c_bus 957 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].dev = dev; i2c_bus 958 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].reg_stat = I2C2_STAT; i2c_bus 959 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].reg_ctrl = I2C2_CTRL; i2c_bus 960 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].reg_addr = I2C2_ADDR; i2c_bus 961 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].reg_rdata = I2C2_RDATA; i2c_bus 962 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].reg_wdata = I2C2_WDATA; i2c_bus 963 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[1].i2c_period = (0x9d << 24); /* 100kHz */ i2c_bus 966 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].nr = 2; i2c_bus 967 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].dev = dev; i2c_bus 968 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].reg_stat = I2C3_STAT; i2c_bus 969 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].reg_ctrl = I2C3_CTRL; i2c_bus 970 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].reg_addr = I2C3_ADDR; i2c_bus 971 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].reg_rdata = I2C3_RDATA; i2c_bus 972 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].reg_wdata = I2C3_WDATA; i2c_bus 973 drivers/media/pci/cx23885/cx23885-core.c dev->i2c_bus[2].i2c_period = (0x07 << 24); /* 1.95MHz */ i2c_bus 1029 drivers/media/pci/cx23885/cx23885-core.c cx23885_i2c_register(&dev->i2c_bus[0]); i2c_bus 1030 drivers/media/pci/cx23885/cx23885-core.c cx23885_i2c_register(&dev->i2c_bus[1]); i2c_bus 1031 drivers/media/pci/cx23885/cx23885-core.c cx23885_i2c_register(&dev->i2c_bus[2]); i2c_bus 1124 drivers/media/pci/cx23885/cx23885-core.c cx23885_i2c_unregister(&dev->i2c_bus[2]); i2c_bus 1125 drivers/media/pci/cx23885/cx23885-core.c cx23885_i2c_unregister(&dev->i2c_bus[1]); i2c_bus 1126 drivers/media/pci/cx23885/cx23885-core.c cx23885_i2c_unregister(&dev->i2c_bus[0]); i2c_bus 1091 drivers/media/pci/cx23885/cx23885-dvb.c netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo); i2c_bus 1118 drivers/media/pci/cx23885/cx23885-dvb.c dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1; i2c_bus 1119 drivers/media/pci/cx23885/cx23885-dvb.c tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom, sizeof(eeprom)); i2c_bus 1134 drivers/media/pci/cx23885/cx23885-dvb.c dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1; i2c_bus 1135 drivers/media/pci/cx23885/cx23885-dvb.c tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom, i2c_bus 1150 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_i2c *i2c_bus = &dev->i2c_bus[0]; i2c_bus 1162 drivers/media/pci/cx23885/cx23885-dvb.c client_ci = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 1175 drivers/media/pci/cx23885/cx23885-dvb.c dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1; i2c_bus 1176 drivers/media/pci/cx23885/cx23885-dvb.c tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom, i2c_bus 1191 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_i2c *i2c_bus = NULL, *i2c_bus2 = NULL; i2c_bus 1226 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1229 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1233 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1238 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1241 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1245 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_bus 1252 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1255 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1260 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_bus 1264 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_bus 1269 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1275 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1280 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[1].i2c_adap, 0x42, i2c_bus 1283 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_bus 1291 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1295 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1300 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1303 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1307 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1311 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1315 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1319 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, 0x61, i2c_bus 1323 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1326 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[0].i2c_adap); i2c_bus 1330 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1334 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1337 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[0].i2c_adap); i2c_bus 1341 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &i2c_bus->i2c_adap, i2c_bus 1358 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1361 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1365 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[1].i2c_adap, 0x42, i2c_bus 1368 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_bus 1372 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1375 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1378 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_bus 1383 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1388 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, i2c_bus 1393 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &dev->i2c_bus[1].i2c_adap, i2c_bus 1412 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[port->nr - 1]; i2c_bus 1416 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1420 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1423 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1427 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[port->nr - 1]; i2c_bus 1431 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1435 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &i2c_bus->i2c_adap, i2c_bus 1452 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[port->nr - 1]; i2c_bus 1459 drivers/media/pci/cx23885/cx23885-dvb.c if (dib7000p_ops.i2c_enumeration(&i2c_bus->i2c_adap, 1, 0x12, &dib7070p_dib7000p_config) < 0) { i2c_bus 1463 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, 0x80, &dib7070p_dib7000p_config); i2c_bus 1479 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1483 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1487 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &dev->i2c_bus[1].i2c_adap, i2c_bus 1503 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1507 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1519 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[1].i2c_adap, &cfg); i2c_bus 1528 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1532 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1539 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1546 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1552 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1557 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1561 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1564 drivers/media/pci/cx23885/cx23885-dvb.c &tevii_ts2020_config, &i2c_bus->i2c_adap); i2c_bus 1570 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1574 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1577 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1583 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, 0); i2c_bus 1588 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap)) { i2c_bus 1591 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1603 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, 1); i2c_bus 1608 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap)) { i2c_bus 1611 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1622 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1623 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 1626 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1634 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1635 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 1638 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1648 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1649 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 1652 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1661 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1664 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1668 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[0].i2c_adap, i2c_bus 1672 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_bus 1677 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1680 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1684 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[0].i2c_adap, i2c_bus 1691 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1694 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1698 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1703 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1706 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1710 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1718 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1725 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1729 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1742 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1749 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1754 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1755 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 1762 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1775 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1787 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 1791 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 1795 drivers/media/pci/cx23885/cx23885-dvb.c &tevii_ts2020_config, &i2c_bus->i2c_adap); i2c_bus 1798 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1802 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_bus 1809 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap)) i2c_bus 1818 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1819 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 1829 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 1846 drivers/media/pci/cx23885/cx23885-dvb.c client_sec = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 1867 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 1893 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1901 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 1918 drivers/media/pci/cx23885/cx23885-dvb.c client_sec = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 1930 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 1931 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 1988 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 2022 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2023 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 2064 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2065 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 2109 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 2117 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2132 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 2179 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[1]; i2c_bus 2184 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2197 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 2227 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2228 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus2 = &dev->i2c_bus[1]; i2c_bus 2237 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, &adapter); i2c_bus 2248 drivers/media/pci/cx23885/cx23885-dvb.c client_sec = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 2290 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_bus 2343 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[0].i2c_adap, &info); i2c_bus 2361 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_bus 2390 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[0].i2c_adap, &info); i2c_bus 2408 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_bus 2434 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2436 drivers/media/pci/cx23885/cx23885-dvb.c &hauppauge_quadHD_ATSC_a_config, &i2c_bus->i2c_adap); i2c_bus 2450 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_bus 2470 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2472 drivers/media/pci/cx23885/cx23885-dvb.c &hauppauge_quadHD_ATSC_b_config, &i2c_bus->i2c_adap); i2c_bus 2486 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_bus 2509 drivers/media/pci/cx23885/cx23885-dvb.c i2c_bus = &dev->i2c_bus[0]; i2c_bus 2512 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_bus 2526 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_bus 373 drivers/media/pci/cx23885/cx23885-i2c.c i2c_xfer(&dev->i2c_bus[2].i2c_adap, &msg, 1); i2c_bus 171 drivers/media/pci/cx23885/cx23885-video.c return i2c_transfer(&dev->i2c_bus[2].i2c_adap, &msg, 1); i2c_bus 186 drivers/media/pci/cx23885/cx23885-video.c ret = i2c_transfer(&dev->i2c_bus[2].i2c_adap, &msg[0], 2); i2c_bus 1214 drivers/media/pci/cx23885/cx23885-video.c &dev->i2c_bus[dev->tuner_bus].i2c_adap, i2c_bus 1218 drivers/media/pci/cx23885/cx23885-video.c &dev->i2c_bus[dev->tuner_bus].i2c_adap, i2c_bus 372 drivers/media/pci/cx23885/cx23885.h struct cx23885_i2c i2c_bus[3]; i2c_bus 98 drivers/media/pci/cx23885/netup-init.c struct cx23885_i2c *i2c_bus = &dev->i2c_bus[2]; i2c_bus 99 drivers/media/pci/cx23885/netup-init.c struct i2c_adapter *i2c = &i2c_bus->i2c_adap; i2c_bus 723 drivers/media/pci/cx25821/cx25821-core.c value = cx25821_i2c_read(&dev->i2c_bus[0], AFE_AB_DIAG_CTRL, &tmp); i2c_bus 888 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].nr = 0; i2c_bus 889 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].dev = dev; i2c_bus 890 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].reg_stat = I2C1_STAT; i2c_bus 891 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; i2c_bus 892 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].reg_addr = I2C1_ADDR; i2c_bus 893 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].reg_rdata = I2C1_RDATA; i2c_bus 894 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].reg_wdata = I2C1_WDATA; i2c_bus 895 drivers/media/pci/cx25821/cx25821-core.c dev->i2c_bus[0].i2c_period = (0x07 << 24); /* 1.95MHz */ i2c_bus 933 drivers/media/pci/cx25821/cx25821-core.c cx25821_i2c_register(&dev->i2c_bus[0]); i2c_bus 967 drivers/media/pci/cx25821/cx25821-core.c cx25821_i2c_unregister(&dev->i2c_bus[0]); i2c_bus 340 drivers/media/pci/cx25821/cx25821-i2c.c i2c_xfer(&dev->i2c_bus[0].i2c_adap, &msg, 1); i2c_bus 63 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl, &tmp); i2c_bus 67 drivers/media/pci/cx25821/cx25821-medusa-video.c cx25821_i2c_write(&dev->i2c_bus[0], out_ctrl, value); i2c_bus 69 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl_ns, &tmp); i2c_bus 73 drivers/media/pci/cx25821/cx25821-medusa-video.c cx25821_i2c_write(&dev->i2c_bus[0], out_ctrl_ns, value); i2c_bus 85 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 90 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 94 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 98 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 101 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 105 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 109 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 113 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 117 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 121 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 125 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 132 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 137 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 141 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 144 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 153 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 157 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 161 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 165 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 168 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 172 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 176 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 180 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 183 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 187 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 190 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 194 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 200 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], HSCALE_CTRL, 0x0); i2c_bus 202 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], VSCALE_CTRL, 0x0); i2c_bus 205 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], BYP_AB_CTRL, &tmp); i2c_bus 207 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], BYP_AB_CTRL, value); i2c_bus 218 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 220 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 222 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 226 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 229 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 233 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 237 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 252 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 257 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 261 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 265 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 269 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 273 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 277 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 281 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 285 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 289 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 293 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 300 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 305 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 309 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 312 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 323 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 327 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 331 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 335 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 339 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 343 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 347 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 351 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 354 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 358 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 361 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 365 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 371 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], HSCALE_CTRL, 0x0); i2c_bus 373 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], VSCALE_CTRL, 0x0); i2c_bus 376 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], BYP_AB_CTRL, &tmp); i2c_bus 378 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], BYP_AB_CTRL, value); i2c_bus 394 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], DENC_A_REG_4, &tmp); i2c_bus 396 drivers/media/pci/cx25821/cx25821-medusa-video.c status = cx25821_i2c_write(&dev->i2c_bus[0], DENC_A_REG_4, value); i2c_bus 399 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], DENC_B_REG_4, &tmp); i2c_bus 401 drivers/media/pci/cx25821/cx25821-medusa-video.c status = cx25821_i2c_write(&dev->i2c_bus[0], DENC_B_REG_4, value); i2c_bus 459 drivers/media/pci/cx25821/cx25821-medusa-video.c cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 461 drivers/media/pci/cx25821/cx25821-medusa-video.c cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 496 drivers/media/pci/cx25821/cx25821-medusa-video.c fld_cnt = cx25821_i2c_read(&dev->i2c_bus[0], disp_cnt_reg, &tmp); i2c_bus 506 drivers/media/pci/cx25821/cx25821-medusa-video.c cx25821_i2c_write(&dev->i2c_bus[0], disp_cnt_reg, fld_cnt); i2c_bus 564 drivers/media/pci/cx25821/cx25821-medusa-video.c val = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 567 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val |= cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 584 drivers/media/pci/cx25821/cx25821-medusa-video.c val = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 587 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val |= cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 607 drivers/media/pci/cx25821/cx25821-medusa-video.c val = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 611 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val |= cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 631 drivers/media/pci/cx25821/cx25821-medusa-video.c val = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 634 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val |= cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 637 drivers/media/pci/cx25821/cx25821-medusa-video.c val = cx25821_i2c_read(&dev->i2c_bus[0], i2c_bus 640 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val |= cx25821_i2c_write(&dev->i2c_bus[0], i2c_bus 655 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], MON_A_CTRL, &tmp); i2c_bus 657 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], MON_A_CTRL, value); i2c_bus 663 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], MON_A_CTRL, &tmp); i2c_bus 665 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], MON_A_CTRL, value); i2c_bus 680 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], DENC_AB_CTRL, &tmp); i2c_bus 683 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], DENC_AB_CTRL, value); i2c_bus 689 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], BYP_AB_CTRL, &tmp); i2c_bus 691 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], BYP_AB_CTRL, value); i2c_bus 697 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], AFE_AB_DIAG_CTRL, &tmp); i2c_bus 699 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], AFE_AB_DIAG_CTRL, i2c_bus 706 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], PIN_OE_CTRL, &tmp); i2c_bus 722 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = cx25821_i2c_write(&dev->i2c_bus[0], PIN_OE_CTRL, value); i2c_bus 239 drivers/media/pci/cx25821/cx25821.h struct cx25821_i2c i2c_bus[3]; i2c_bus 806 drivers/media/pci/saa7164/saa7164-api.c return saa7164_api_i2c_read(&dev->i2c_bus[0], 0xa0 >> 1, sizeof(reg), i2c_bus 831 drivers/media/pci/saa7164/saa7164-cards.c if (dev->i2c_bus[0].i2c_rc == 0) { i2c_bus 979 drivers/media/pci/saa7164/saa7164-core.c dev->i2c_bus[0].dev = dev; i2c_bus 980 drivers/media/pci/saa7164/saa7164-core.c dev->i2c_bus[0].nr = 0; i2c_bus 981 drivers/media/pci/saa7164/saa7164-core.c dev->i2c_bus[1].dev = dev; i2c_bus 982 drivers/media/pci/saa7164/saa7164-core.c dev->i2c_bus[1].nr = 1; i2c_bus 983 drivers/media/pci/saa7164/saa7164-core.c dev->i2c_bus[2].dev = dev; i2c_bus 984 drivers/media/pci/saa7164/saa7164-core.c dev->i2c_bus[2].nr = 2; i2c_bus 1317 drivers/media/pci/saa7164/saa7164-core.c saa7164_i2c_register(&dev->i2c_bus[0]); i2c_bus 1318 drivers/media/pci/saa7164/saa7164-core.c saa7164_i2c_register(&dev->i2c_bus[1]); i2c_bus 1319 drivers/media/pci/saa7164/saa7164-core.c saa7164_i2c_register(&dev->i2c_bus[2]); i2c_bus 1457 drivers/media/pci/saa7164/saa7164-core.c saa7164_i2c_unregister(&dev->i2c_bus[0]); i2c_bus 1458 drivers/media/pci/saa7164/saa7164-core.c saa7164_i2c_unregister(&dev->i2c_bus[1]); i2c_bus 1459 drivers/media/pci/saa7164/saa7164-core.c saa7164_i2c_unregister(&dev->i2c_bus[2]); i2c_bus 529 drivers/media/pci/saa7164/saa7164-dvb.c struct saa7164_i2c *i2c_bus = NULL; i2c_bus 547 drivers/media/pci/saa7164/saa7164-dvb.c i2c_bus = &dev->i2c_bus[port->nr + 1]; i2c_bus 552 drivers/media/pci/saa7164/saa7164-dvb.c &i2c_bus->i2c_adap); i2c_bus 557 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_bus 565 drivers/media/pci/saa7164/saa7164-dvb.c &i2c_bus->i2c_adap); i2c_bus 570 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_bus 580 drivers/media/pci/saa7164/saa7164-dvb.c i2c_bus = &dev->i2c_bus[port->nr + 1]; i2c_bus 584 drivers/media/pci/saa7164/saa7164-dvb.c &i2c_bus->i2c_adap); i2c_bus 591 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_bus 596 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_bus 604 drivers/media/pci/saa7164/saa7164-dvb.c i2c_bus = &dev->i2c_bus[2]; i2c_bus 608 drivers/media/pci/saa7164/saa7164-dvb.c &hauppauge_hvr2255a_config, &i2c_bus->i2c_adap); i2c_bus 611 drivers/media/pci/saa7164/saa7164-dvb.c &hauppauge_hvr2255b_config, &i2c_bus->i2c_adap); i2c_bus 617 drivers/media/pci/saa7164/saa7164-dvb.c si2157_attach(port, &dev->i2c_bus[0].i2c_adap, i2c_bus 621 drivers/media/pci/saa7164/saa7164-dvb.c si2157_attach(port, &dev->i2c_bus[1].i2c_adap, i2c_bus 640 drivers/media/pci/saa7164/saa7164-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[2].i2c_adap, i2c_bus 660 drivers/media/pci/saa7164/saa7164-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[0].i2c_adap, i2c_bus 685 drivers/media/pci/saa7164/saa7164-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[2].i2c_adap, i2c_bus 705 drivers/media/pci/saa7164/saa7164-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, i2c_bus 461 drivers/media/pci/saa7164/saa7164.h struct saa7164_i2c i2c_bus[3]; i2c_bus 184 drivers/media/pci/smipcie/smipcie-main.c i2c_set_adapdata(&dev->i2c_bus[0], dev); i2c_bus 185 drivers/media/pci/smipcie/smipcie-main.c strscpy(dev->i2c_bus[0].name, "SMI-I2C0", sizeof(dev->i2c_bus[0].name)); i2c_bus 186 drivers/media/pci/smipcie/smipcie-main.c dev->i2c_bus[0].owner = THIS_MODULE; i2c_bus 187 drivers/media/pci/smipcie/smipcie-main.c dev->i2c_bus[0].dev.parent = &dev->pci_dev->dev; i2c_bus 188 drivers/media/pci/smipcie/smipcie-main.c dev->i2c_bus[0].algo_data = &dev->i2c_bit[0]; i2c_bus 200 drivers/media/pci/smipcie/smipcie-main.c ret = i2c_bit_add_bus(&dev->i2c_bus[0]); i2c_bus 206 drivers/media/pci/smipcie/smipcie-main.c i2c_set_adapdata(&dev->i2c_bus[1], dev); i2c_bus 207 drivers/media/pci/smipcie/smipcie-main.c strscpy(dev->i2c_bus[1].name, "SMI-I2C1", sizeof(dev->i2c_bus[1].name)); i2c_bus 208 drivers/media/pci/smipcie/smipcie-main.c dev->i2c_bus[1].owner = THIS_MODULE; i2c_bus 209 drivers/media/pci/smipcie/smipcie-main.c dev->i2c_bus[1].dev.parent = &dev->pci_dev->dev; i2c_bus 210 drivers/media/pci/smipcie/smipcie-main.c dev->i2c_bus[1].algo_data = &dev->i2c_bit[1]; i2c_bus 222 drivers/media/pci/smipcie/smipcie-main.c ret = i2c_bit_add_bus(&dev->i2c_bus[1]); i2c_bus 224 drivers/media/pci/smipcie/smipcie-main.c i2c_del_adapter(&dev->i2c_bus[0]); i2c_bus 231 drivers/media/pci/smipcie/smipcie-main.c i2c_del_adapter(&dev->i2c_bus[0]); i2c_bus 232 drivers/media/pci/smipcie/smipcie-main.c i2c_del_adapter(&dev->i2c_bus[1]); i2c_bus 532 drivers/media/pci/smipcie/smipcie-main.c i2c = (port->idx == 0) ? &dev->i2c_bus[0] : &dev->i2c_bus[1]; i2c_bus 588 drivers/media/pci/smipcie/smipcie-main.c i2c = (port->idx == 0) ? &dev->i2c_bus[0] : &dev->i2c_bus[1]; i2c_bus 632 drivers/media/pci/smipcie/smipcie-main.c i2c = (port->idx == 0) ? &dev->i2c_bus[0] : &dev->i2c_bus[1]; i2c_bus 708 drivers/media/pci/smipcie/smipcie-main.c ret = smi_read_eeprom(&dev->i2c_bus[0], 0xc0, mac_ee, 16); i2c_bus 288 drivers/media/pci/smipcie/smipcie.h struct i2c_adapter i2c_bus[2]; i2c_bus 46 drivers/media/platform/exynos4-is/fimc-is-sensor.h unsigned int i2c_bus; i2c_bus 198 drivers/media/platform/exynos4-is/fimc-is.c sensor->i2c_bus = tmp - FIMC_INPUT_MIPI_CSI2_0; i2c_bus 204 drivers/media/platform/exynos4-is/fimc-is.c struct device_node *i2c_bus, *child; i2c_bus 211 drivers/media/platform/exynos4-is/fimc-is.c for_each_compatible_node(i2c_bus, NULL, FIMC_IS_I2C_COMPATIBLE) { i2c_bus 212 drivers/media/platform/exynos4-is/fimc-is.c for_each_available_child_of_node(i2c_bus, child) { i2c_bus 643 drivers/media/platform/exynos4-is/fimc-is.c mcuctl_write(sensor->i2c_bus, is, MCUCTL_REG_ISSR(3)); i2c_bus 762 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c struct device_node *i2c_bus; i2c_bus 808 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c i2c_bus = of_parse_phandle(child, "i2c-bus", 0); i2c_bus 809 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c if (!i2c_bus) { i2c_bus 815 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c of_find_i2c_adapter_by_node(i2c_bus); i2c_bus 818 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c of_node_put(i2c_bus); i2c_bus 822 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c of_node_put(i2c_bus); i2c_bus 144 drivers/media/usb/cx231xx/cx231xx-core.c int cx231xx_send_usb_command(struct cx231xx_i2c *i2c_bus, i2c_bus 148 drivers/media/usb/cx231xx/cx231xx-core.c struct cx231xx *dev = i2c_bus->dev; i2c_bus 160 drivers/media/usb/cx231xx/cx231xx-core.c _i2c_period = i2c_bus->i2c_period; i2c_bus 161 drivers/media/usb/cx231xx/cx231xx-core.c _i2c_nostop = i2c_bus->i2c_nostop; i2c_bus 162 drivers/media/usb/cx231xx/cx231xx-core.c _i2c_reserve = i2c_bus->i2c_reserve; i2c_bus 174 drivers/media/usb/cx231xx/cx231xx-core.c ven_req.bRequest = i2c_bus->nr + 4; i2c_bus 176 drivers/media/usb/cx231xx/cx231xx-core.c ven_req.bRequest = i2c_bus->nr; /* channel number, */ i2c_bus 1299 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[0].nr = 0; i2c_bus 1300 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[0].dev = dev; i2c_bus 1301 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[0].i2c_period = I2C_SPEED_100K; /* 100 KHz */ i2c_bus 1302 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[0].i2c_nostop = 0; i2c_bus 1303 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[0].i2c_reserve = 0; i2c_bus 1304 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[0].i2c_rc = -ENODEV; i2c_bus 1307 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[1].nr = 1; i2c_bus 1308 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[1].dev = dev; i2c_bus 1309 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[1].i2c_period = I2C_SPEED_100K; /* 100 KHz */ i2c_bus 1310 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[1].i2c_nostop = 0; i2c_bus 1311 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[1].i2c_reserve = 0; i2c_bus 1312 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[1].i2c_rc = -ENODEV; i2c_bus 1315 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[2].nr = 2; i2c_bus 1316 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[2].dev = dev; i2c_bus 1317 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[2].i2c_period = I2C_SPEED_100K; /* 100kHz */ i2c_bus 1318 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[2].i2c_nostop = 0; i2c_bus 1319 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[2].i2c_reserve = 0; i2c_bus 1320 drivers/media/usb/cx231xx/cx231xx-core.c dev->i2c_bus[2].i2c_rc = -ENODEV; i2c_bus 1323 drivers/media/usb/cx231xx/cx231xx-core.c errCode = cx231xx_i2c_register(&dev->i2c_bus[0]); i2c_bus 1326 drivers/media/usb/cx231xx/cx231xx-core.c errCode = cx231xx_i2c_register(&dev->i2c_bus[1]); i2c_bus 1329 drivers/media/usb/cx231xx/cx231xx-core.c errCode = cx231xx_i2c_register(&dev->i2c_bus[2]); i2c_bus 1467 drivers/media/usb/cx231xx/cx231xx-core.c cx231xx_i2c_unregister(&dev->i2c_bus[2]); i2c_bus 1468 drivers/media/usb/cx231xx/cx231xx-core.c cx231xx_i2c_unregister(&dev->i2c_bus[1]); i2c_bus 1469 drivers/media/usb/cx231xx/cx231xx-core.c cx231xx_i2c_unregister(&dev->i2c_bus[0]); i2c_bus 1582 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[0], i2c_bus 1585 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[1], i2c_bus 1588 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[2], i2c_bus 1633 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[0], i2c_bus 1636 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[1], i2c_bus 1639 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[2], i2c_bus 1666 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[0], &req_data); i2c_bus 1707 drivers/media/usb/cx231xx/cx231xx-core.c status = dev->cx231xx_send_usb_command(&dev->i2c_bus[0], &req_data); i2c_bus 559 drivers/media/usb/cx231xx/cx231xx-i2c.c dev->muxc = i2c_mux_alloc(&dev->i2c_bus[1].i2c_adap, dev->dev, 2, 0, 0, i2c_bus 584 drivers/media/usb/cx231xx/cx231xx-i2c.c return &dev->i2c_bus[0].i2c_adap; i2c_bus 586 drivers/media/usb/cx231xx/cx231xx-i2c.c return &dev->i2c_bus[1].i2c_adap; i2c_bus 588 drivers/media/usb/cx231xx/cx231xx-i2c.c return &dev->i2c_bus[2].i2c_adap; i2c_bus 616 drivers/media/usb/cx231xx/cx231xx.h struct cx231xx_i2c i2c_bus[3]; i2c_bus 677 drivers/media/usb/cx231xx/cx231xx.h int (*cx231xx_send_usb_command) (struct cx231xx_i2c *i2c_bus, i2c_bus 846 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_send_usb_command(struct cx231xx_i2c *i2c_bus, i2c_bus 2735 drivers/media/usb/em28xx/em28xx-cards.c struct em28xx_i2c_bus *i2c_bus = ptr; i2c_bus 2736 drivers/media/usb/em28xx/em28xx-cards.c struct em28xx *dev = i2c_bus->dev; i2c_bus 200 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; i2c_bus 201 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx *dev = i2c_bus->dev; i2c_bus 243 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; i2c_bus 244 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx *dev = i2c_bus->dev; i2c_bus 293 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; i2c_bus 294 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx *dev = i2c_bus->dev; i2c_bus 731 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; i2c_bus 732 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx *dev = i2c_bus->dev; i2c_bus 760 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; i2c_bus 761 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx *dev = i2c_bus->dev; i2c_bus 1003 drivers/media/usb/em28xx/em28xx-dvb.c dvb->adapter.priv = &dev->i2c_bus[dev->def_i2c_bus]; i2c_bus 480 drivers/media/usb/em28xx/em28xx-i2c.c static inline int i2c_check_for_device(struct em28xx_i2c_bus *i2c_bus, u16 addr) i2c_bus 482 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx *dev = i2c_bus->dev; i2c_bus 485 drivers/media/usb/em28xx/em28xx-i2c.c if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM28XX) i2c_bus 487 drivers/media/usb/em28xx/em28xx-i2c.c else if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM2800) i2c_bus 489 drivers/media/usb/em28xx/em28xx-i2c.c else if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM25XX_BUS_B) i2c_bus 494 drivers/media/usb/em28xx/em28xx-i2c.c static inline int i2c_recv_bytes(struct em28xx_i2c_bus *i2c_bus, i2c_bus 497 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx *dev = i2c_bus->dev; i2c_bus 501 drivers/media/usb/em28xx/em28xx-i2c.c if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM28XX) i2c_bus 503 drivers/media/usb/em28xx/em28xx-i2c.c else if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM2800) i2c_bus 505 drivers/media/usb/em28xx/em28xx-i2c.c else if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM25XX_BUS_B) i2c_bus 510 drivers/media/usb/em28xx/em28xx-i2c.c static inline int i2c_send_bytes(struct em28xx_i2c_bus *i2c_bus, i2c_bus 513 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx *dev = i2c_bus->dev; i2c_bus 517 drivers/media/usb/em28xx/em28xx-i2c.c if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM28XX) i2c_bus 519 drivers/media/usb/em28xx/em28xx-i2c.c else if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM2800) i2c_bus 521 drivers/media/usb/em28xx/em28xx-i2c.c else if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM25XX_BUS_B) i2c_bus 533 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx_i2c_bus *i2c_bus = i2c_adap->algo_data; i2c_bus 534 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx *dev = i2c_bus->dev; i2c_bus 535 drivers/media/usb/em28xx/em28xx-i2c.c unsigned int bus = i2c_bus->bus; i2c_bus 552 drivers/media/usb/em28xx/em28xx-i2c.c i2c_bus->algo_type == EM28XX_I2C_ALGO_EM28XX) { i2c_bus 569 drivers/media/usb/em28xx/em28xx-i2c.c rc = i2c_check_for_device(i2c_bus, addr); i2c_bus 575 drivers/media/usb/em28xx/em28xx-i2c.c rc = i2c_recv_bytes(i2c_bus, msgs[i]); i2c_bus 578 drivers/media/usb/em28xx/em28xx-i2c.c rc = i2c_send_bytes(i2c_bus, msgs[i], i == num - 1); i2c_bus 887 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx_i2c_bus *i2c_bus = i2c_adap->algo_data; i2c_bus 889 drivers/media/usb/em28xx/em28xx-i2c.c if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM28XX || i2c_bus 890 drivers/media/usb/em28xx/em28xx-i2c.c i2c_bus->algo_type == EM28XX_I2C_ALGO_EM25XX_BUS_B) { i2c_bus 892 drivers/media/usb/em28xx/em28xx-i2c.c } else if (i2c_bus->algo_type == EM28XX_I2C_ALGO_EM2800) { i2c_bus 991 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_bus[bus].bus = bus; i2c_bus 992 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_bus[bus].algo_type = algo_type; i2c_bus 993 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_bus[bus].dev = dev; i2c_bus 994 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_adap[bus].algo_data = &dev->i2c_bus[bus]; i2c_bus 686 drivers/media/usb/em28xx/em28xx.h struct em28xx_i2c_bus i2c_bus[NUM_I2C_BUSES]; i2c_bus 21 drivers/misc/habanalabs/debugfs.c static int hl_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, i2c_bus 34 drivers/misc/habanalabs/debugfs.c pkt.i2c_bus = i2c_bus; i2c_bus 47 drivers/misc/habanalabs/debugfs.c static int hl_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, i2c_bus 60 drivers/misc/habanalabs/debugfs.c pkt.i2c_bus = i2c_bus; i2c_bus 724 drivers/misc/habanalabs/debugfs.c rc = hl_debugfs_i2c_read(hdev, entry->i2c_bus, entry->i2c_addr, i2c_bus 729 drivers/misc/habanalabs/debugfs.c entry->i2c_bus, entry->i2c_addr, entry->i2c_reg); i2c_bus 752 drivers/misc/habanalabs/debugfs.c rc = hl_debugfs_i2c_write(hdev, entry->i2c_bus, entry->i2c_addr, i2c_bus 757 drivers/misc/habanalabs/debugfs.c value, entry->i2c_bus, entry->i2c_addr, entry->i2c_reg); i2c_bus 989 drivers/misc/habanalabs/debugfs.c &dev_entry->i2c_bus); i2c_bus 188 drivers/misc/habanalabs/goya/goyaP.h int goya_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus, i2c_bus 190 drivers/misc/habanalabs/goya/goyaP.h int goya_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, i2c_bus 1012 drivers/misc/habanalabs/habanalabs.h u8 i2c_bus; i2c_bus 245 drivers/misc/habanalabs/include/armcp_if.h __u8 i2c_bus; i2c_bus 262 drivers/video/fbdev/intelfb/intelfb.h struct intelfb_i2c_chan i2c_bus; i2c_bus 164 drivers/video/fbdev/intelfb/intelfb_i2c.c intelfb_setup_i2c_bus(dinfo, &dinfo->output[i].i2c_bus, i2c_bus 178 drivers/video/fbdev/intelfb/intelfb_i2c.c intelfb_setup_i2c_bus(dinfo, &dinfo->output[i].i2c_bus, i2c_bus 186 drivers/video/fbdev/intelfb/intelfb_i2c.c dinfo->output[i].i2c_bus = dinfo->output[i - 1].i2c_bus; i2c_bus 200 drivers/video/fbdev/intelfb/intelfb_i2c.c if (dinfo->output[i].i2c_bus.dinfo) { i2c_bus 201 drivers/video/fbdev/intelfb/intelfb_i2c.c i2c_del_adapter(&dinfo->output[i].i2c_bus.adapter); i2c_bus 202 drivers/video/fbdev/intelfb/intelfb_i2c.c dinfo->output[i].i2c_bus.dinfo = NULL; i2c_bus 36 include/linux/pm2301_charger.h int i2c_bus; i2c_bus 13 include/sound/pt2258.h struct snd_i2c_bus *i2c_bus; i2c_bus 987 scripts/dtc/checks.c static const struct bus_type i2c_bus = { i2c_bus 995 scripts/dtc/checks.c node->bus = &i2c_bus; i2c_bus 1002 scripts/dtc/checks.c node->bus = &i2c_bus; i2c_bus 1026 scripts/dtc/checks.c if (!node->parent || (node->parent->bus != &i2c_bus)) i2c_bus 39 sound/i2c/other/pt2258.c snd_i2c_lock(pt->i2c_bus); i2c_bus 42 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 47 sound/i2c/other/pt2258.c snd_i2c_lock(pt->i2c_bus); i2c_bus 50 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 57 sound/i2c/other/pt2258.c snd_i2c_lock(pt->i2c_bus); i2c_bus 60 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 65 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 110 sound/i2c/other/pt2258.c snd_i2c_lock(pt->i2c_bus); i2c_bus 113 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 118 sound/i2c/other/pt2258.c snd_i2c_lock(pt->i2c_bus); i2c_bus 121 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 126 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 155 sound/i2c/other/pt2258.c snd_i2c_lock(pt->i2c_bus); i2c_bus 158 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 163 sound/i2c/other/pt2258.c snd_i2c_unlock(pt->i2c_bus); i2c_bus 633 sound/isa/gus/interwave.c struct snd_i2c_bus *i2c_bus; i2c_bus 651 sound/isa/gus/interwave.c , &i2c_bus i2c_bus 722 sound/isa/gus/interwave.c if ((err = snd_tea6330t_update_mixer(card, i2c_bus, 0, 1)) < 0) i2c_bus 169 sound/pci/ice1712/revo.c pt->i2c_bus = ice->i2c; i2c_bus 95 sound/soc/codecs/wm8510.h int i2c_bus;