i2c_adap 931 arch/sh/boards/mach-ecovec24/setup.c .i2c_adap = 0, i2c_adap 552 arch/sh/boards/mach-se/7724/setup.c .i2c_adap = 0, i2c_adap 40 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c static int amdgpu_i2c_pre_xfer(struct i2c_adapter *i2c_adap) i2c_adap 42 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c struct amdgpu_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 82 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c static void amdgpu_i2c_post_xfer(struct i2c_adapter *i2c_adap) i2c_adap 84 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c struct amdgpu_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 112 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c int amdgpu_atombios_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 115 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c struct amdgpu_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 27 drivers/gpu/drm/amd/amdgpu/atombios_i2c.h int amdgpu_atombios_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 629 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c static int smu_v11_0_i2c_eeprom_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 633 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c struct amdgpu_ras_eeprom_control *control = to_eeprom_control(i2c_adap); i2c_adap 640 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c smu_v11_0_i2c_init(i2c_adap); i2c_adap 644 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c ret = smu_v11_0_i2c_eeprom_read_data(i2c_adap, i2c_adap 648 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c ret = smu_v11_0_i2c_eeprom_write_data(i2c_adap, i2c_adap 658 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c smu_v11_0_i2c_fini(i2c_adap); i2c_adap 5113 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 5116 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_i2c_adapter *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 564 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct i2c_adapter *i2c_adap; i2c_adap 573 drivers/gpu/drm/gma500/oaktrail_hdmi.c i2c_adap = i2c_get_adapter(3); i2c_adap 574 drivers/gpu/drm/gma500/oaktrail_hdmi.c if (i2c_adap == NULL) { i2c_adap 295 drivers/gpu/drm/gma500/oaktrail_lvds.c struct i2c_adapter *i2c_adap; i2c_adap 352 drivers/gpu/drm/gma500/oaktrail_lvds.c i2c_adap = i2c_get_adapter(dev_priv->ops->i2c_bus); i2c_adap 353 drivers/gpu/drm/gma500/oaktrail_lvds.c if (i2c_adap) i2c_adap 354 drivers/gpu/drm/gma500/oaktrail_lvds.c edid = drm_get_edid(connector, i2c_adap); i2c_adap 358 drivers/gpu/drm/gma500/oaktrail_lvds.c i2c_adap = &gma_encoder->ddc_bus->adapter; i2c_adap 359 drivers/gpu/drm/gma500/oaktrail_lvds.c edid = drm_get_edid(connector, i2c_adap); i2c_adap 105 drivers/gpu/drm/radeon/atombios_i2c.c int radeon_atom_hw_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 108 drivers/gpu/drm/radeon/atombios_i2c.c struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 37 drivers/gpu/drm/radeon/radeon_i2c.c extern int radeon_atom_hw_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 93 drivers/gpu/drm/radeon/radeon_i2c.c static int pre_xfer(struct i2c_adapter *i2c_adap) i2c_adap 95 drivers/gpu/drm/radeon/radeon_i2c.c struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 163 drivers/gpu/drm/radeon/radeon_i2c.c static void post_xfer(struct i2c_adapter *i2c_adap) i2c_adap 165 drivers/gpu/drm/radeon/radeon_i2c.c struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 329 drivers/gpu/drm/radeon/radeon_i2c.c static int r100_hw_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 332 drivers/gpu/drm/radeon/radeon_i2c.c struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 582 drivers/gpu/drm/radeon/radeon_i2c.c static int r500_hw_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 585 drivers/gpu/drm/radeon/radeon_i2c.c struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 815 drivers/gpu/drm/radeon/radeon_i2c.c static int radeon_hw_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 818 drivers/gpu/drm/radeon/radeon_i2c.c struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 844 drivers/gpu/drm/radeon/radeon_i2c.c ret = r100_hw_i2c_xfer(i2c_adap, msgs, num); i2c_adap 858 drivers/gpu/drm/radeon/radeon_i2c.c ret = r100_hw_i2c_xfer(i2c_adap, msgs, num); i2c_adap 860 drivers/gpu/drm/radeon/radeon_i2c.c ret = r500_hw_i2c_xfer(i2c_adap, msgs, num); i2c_adap 152 drivers/i2c/algos/i2c-algo-bit.c static int i2c_outb(struct i2c_adapter *i2c_adap, unsigned char c) i2c_adap 157 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 165 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(1, &i2c_adap->dev, i2c_adap 180 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(1, &i2c_adap->dev, i2c_adap 189 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(2, &i2c_adap->dev, "i2c_outb: 0x%02x %s\n", (int)c, i2c_adap 198 drivers/i2c/algos/i2c-algo-bit.c static int i2c_inb(struct i2c_adapter *i2c_adap) i2c_adap 204 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 210 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(1, &i2c_adap->dev, i2c_adap 229 drivers/i2c/algos/i2c-algo-bit.c static int test_bus(struct i2c_adapter *i2c_adap) i2c_adap 231 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 232 drivers/i2c/algos/i2c-algo-bit.c const char *name = i2c_adap->name; i2c_adap 236 drivers/i2c/algos/i2c-algo-bit.c ret = adap->pre_xfer(i2c_adap); i2c_adap 310 drivers/i2c/algos/i2c-algo-bit.c adap->post_xfer(i2c_adap); i2c_adap 319 drivers/i2c/algos/i2c-algo-bit.c adap->post_xfer(i2c_adap); i2c_adap 334 drivers/i2c/algos/i2c-algo-bit.c static int try_address(struct i2c_adapter *i2c_adap, i2c_adap 337 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 341 drivers/i2c/algos/i2c-algo-bit.c ret = i2c_outb(i2c_adap, addr); i2c_adap 344 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(3, &i2c_adap->dev, "emitting stop condition\n"); i2c_adap 348 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(3, &i2c_adap->dev, "emitting start condition\n"); i2c_adap 352 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(1, &i2c_adap->dev, i2c_adap 359 drivers/i2c/algos/i2c-algo-bit.c static int sendbytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msg) i2c_adap 368 drivers/i2c/algos/i2c-algo-bit.c retval = i2c_outb(i2c_adap, *temp); i2c_adap 381 drivers/i2c/algos/i2c-algo-bit.c dev_err(&i2c_adap->dev, "sendbytes: NAK bailout.\n"); i2c_adap 392 drivers/i2c/algos/i2c-algo-bit.c dev_err(&i2c_adap->dev, "sendbytes: error %d\n", i2c_adap 400 drivers/i2c/algos/i2c-algo-bit.c static int acknak(struct i2c_adapter *i2c_adap, int is_ack) i2c_adap 402 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 409 drivers/i2c/algos/i2c-algo-bit.c dev_err(&i2c_adap->dev, "readbytes: ack/nak timeout\n"); i2c_adap 416 drivers/i2c/algos/i2c-algo-bit.c static int readbytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msg) i2c_adap 425 drivers/i2c/algos/i2c-algo-bit.c inval = i2c_inb(i2c_adap); i2c_adap 441 drivers/i2c/algos/i2c-algo-bit.c acknak(i2c_adap, 0); i2c_adap 442 drivers/i2c/algos/i2c-algo-bit.c dev_err(&i2c_adap->dev, i2c_adap 454 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(2, &i2c_adap->dev, "readbytes: 0x%02x %s\n", i2c_adap 461 drivers/i2c/algos/i2c-algo-bit.c inval = acknak(i2c_adap, count); i2c_adap 477 drivers/i2c/algos/i2c-algo-bit.c static int bit_doAddress(struct i2c_adapter *i2c_adap, struct i2c_msg *msg) i2c_adap 481 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 486 drivers/i2c/algos/i2c-algo-bit.c retries = nak_ok ? 0 : i2c_adap->retries; i2c_adap 491 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(2, &i2c_adap->dev, "addr0: %d\n", addr); i2c_adap 493 drivers/i2c/algos/i2c-algo-bit.c ret = try_address(i2c_adap, addr, retries); i2c_adap 495 drivers/i2c/algos/i2c-algo-bit.c dev_err(&i2c_adap->dev, i2c_adap 500 drivers/i2c/algos/i2c-algo-bit.c ret = i2c_outb(i2c_adap, msg->addr & 0xff); i2c_adap 503 drivers/i2c/algos/i2c-algo-bit.c dev_err(&i2c_adap->dev, "died at 2nd address code\n"); i2c_adap 507 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(3, &i2c_adap->dev, i2c_adap 512 drivers/i2c/algos/i2c-algo-bit.c ret = try_address(i2c_adap, addr, retries); i2c_adap 514 drivers/i2c/algos/i2c-algo-bit.c dev_err(&i2c_adap->dev, i2c_adap 523 drivers/i2c/algos/i2c-algo-bit.c ret = try_address(i2c_adap, addr, retries); i2c_adap 531 drivers/i2c/algos/i2c-algo-bit.c static int bit_xfer(struct i2c_adapter *i2c_adap, i2c_adap 535 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 540 drivers/i2c/algos/i2c-algo-bit.c ret = adap->pre_xfer(i2c_adap); i2c_adap 545 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(3, &i2c_adap->dev, "emitting start condition\n"); i2c_adap 553 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(3, &i2c_adap->dev, i2c_adap 558 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(3, &i2c_adap->dev, i2c_adap 563 drivers/i2c/algos/i2c-algo-bit.c ret = bit_doAddress(i2c_adap, pmsg); i2c_adap 565 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(1, &i2c_adap->dev, i2c_adap 573 drivers/i2c/algos/i2c-algo-bit.c ret = readbytes(i2c_adap, pmsg); i2c_adap 575 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(2, &i2c_adap->dev, "read %d byte%s\n", i2c_adap 584 drivers/i2c/algos/i2c-algo-bit.c ret = sendbytes(i2c_adap, pmsg); i2c_adap 586 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(2, &i2c_adap->dev, "wrote %d byte%s\n", i2c_adap 598 drivers/i2c/algos/i2c-algo-bit.c bit_dbg(3, &i2c_adap->dev, "emitting stop condition\n"); i2c_adap 602 drivers/i2c/algos/i2c-algo-bit.c adap->post_xfer(i2c_adap); i2c_adap 612 drivers/i2c/algos/i2c-algo-bit.c static int bit_xfer_atomic(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], i2c_adap 615 drivers/i2c/algos/i2c-algo-bit.c struct i2c_algo_bit_data *adap = i2c_adap->algo_data; i2c_adap 618 drivers/i2c/algos/i2c-algo-bit.c dev_warn(&i2c_adap->dev, "not flagged for atomic transfers\n"); i2c_adap 620 drivers/i2c/algos/i2c-algo-bit.c return bit_xfer(i2c_adap, msgs, num); i2c_adap 168 drivers/i2c/algos/i2c-algo-pca.c static int pca_xfer(struct i2c_adapter *i2c_adap, i2c_adap 172 drivers/i2c/algos/i2c-algo-pca.c struct i2c_algo_pca_data *adap = i2c_adap->algo_data; i2c_adap 179 drivers/i2c/algos/i2c-algo-pca.c unsigned long timeout = jiffies + i2c_adap->timeout; i2c_adap 185 drivers/i2c/algos/i2c-algo-pca.c dev_dbg(&i2c_adap->dev, "bus is not idle. status is " i2c_adap 326 drivers/i2c/algos/i2c-algo-pca.c dev_err(&i2c_adap->dev, "unhandled SIO state 0x%02x\n", state); i2c_adap 205 drivers/i2c/algos/i2c-algo-pcf.c static int pcf_sendbytes(struct i2c_adapter *i2c_adap, const char *buf, i2c_adap 208 drivers/i2c/algos/i2c-algo-pcf.c struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; i2c_adap 212 drivers/i2c/algos/i2c-algo-pcf.c DEB2(dev_dbg(&i2c_adap->dev, "i2c_write: writing %2.2X\n", i2c_adap 221 drivers/i2c/algos/i2c-algo-pcf.c dev_err(&i2c_adap->dev, "i2c_write: error - timeout.\n"); i2c_adap 226 drivers/i2c/algos/i2c-algo-pcf.c dev_err(&i2c_adap->dev, "i2c_write: error - no ack.\n"); i2c_adap 238 drivers/i2c/algos/i2c-algo-pcf.c static int pcf_readbytes(struct i2c_adapter *i2c_adap, char *buf, i2c_adap 242 drivers/i2c/algos/i2c-algo-pcf.c struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; i2c_adap 253 drivers/i2c/algos/i2c-algo-pcf.c dev_err(&i2c_adap->dev, "pcf_readbytes timed out.\n"); i2c_adap 259 drivers/i2c/algos/i2c-algo-pcf.c dev_err(&i2c_adap->dev, "i2c_read: i2c_inb, No ack.\n"); i2c_adap 294 drivers/i2c/algos/i2c-algo-pcf.c static int pcf_xfer(struct i2c_adapter *i2c_adap, i2c_adap 298 drivers/i2c/algos/i2c-algo-pcf.c struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; i2c_adap 355 drivers/i2c/algos/i2c-algo-pcf.c ret = pcf_readbytes(i2c_adap, pmsg->buf, pmsg->len, i2c_adap 365 drivers/i2c/algos/i2c-algo-pcf.c ret = pcf_sendbytes(i2c_adap, pmsg->buf, pmsg->len, i2c_adap 213 drivers/i2c/busses/i2c-au1550.c au1550_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num) i2c_adap 215 drivers/i2c/busses/i2c-au1550.c struct i2c_au1550_data *adap = i2c_adap->algo_data; i2c_adap 366 drivers/i2c/busses/i2c-eg20t.c static s32 pch_i2c_writebytes(struct i2c_adapter *i2c_adap, i2c_adap 369 drivers/i2c/busses/i2c-eg20t.c struct i2c_algo_pch_data *adap = i2c_adap->algo_data; i2c_adap 483 drivers/i2c/busses/i2c-eg20t.c static s32 pch_i2c_readbytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, i2c_adap 486 drivers/i2c/busses/i2c-eg20t.c struct i2c_algo_pch_data *adap = i2c_adap->algo_data; i2c_adap 652 drivers/i2c/busses/i2c-eg20t.c static s32 pch_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 660 drivers/i2c/busses/i2c-eg20t.c struct i2c_algo_pch_data *adap = i2c_adap->algo_data; i2c_adap 684 drivers/i2c/busses/i2c-eg20t.c ret = pch_i2c_readbytes(i2c_adap, pmsg, (i + 1 == num), i2c_adap 687 drivers/i2c/busses/i2c-eg20t.c ret = pch_i2c_writebytes(i2c_adap, pmsg, (i + 1 == num), i2c_adap 301 drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_writebytes(struct i2c_adapter *i2c_adap, const char *buf, int count) i2c_adap 303 drivers/i2c/busses/i2c-iop3xx.c struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; i2c_adap 313 drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_readbytes(struct i2c_adapter *i2c_adap, char *buf, int count) i2c_adap 315 drivers/i2c/busses/i2c-iop3xx.c struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; i2c_adap 333 drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_handle_msg(struct i2c_adapter *i2c_adap, struct i2c_msg* pmsg) i2c_adap 335 drivers/i2c/busses/i2c-iop3xx.c struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; i2c_adap 344 drivers/i2c/busses/i2c-iop3xx.c return iop3xx_i2c_readbytes(i2c_adap, pmsg->buf, pmsg->len); i2c_adap 346 drivers/i2c/busses/i2c-iop3xx.c return iop3xx_i2c_writebytes(i2c_adap, pmsg->buf, pmsg->len); i2c_adap 354 drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_master_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, i2c_adap 357 drivers/i2c/busses/i2c-iop3xx.c struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; i2c_adap 367 drivers/i2c/busses/i2c-iop3xx.c ret = iop3xx_i2c_handle_msg(i2c_adap, &msgs[im]); i2c_adap 661 drivers/i2c/busses/i2c-nomadik.c static int nmk_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 666 drivers/i2c/busses/i2c-nomadik.c struct nmk_i2c_dev *dev = i2c_get_adapdata(i2c_adap); i2c_adap 27 drivers/i2c/busses/i2c-sibyte.c static int smbus_xfer(struct i2c_adapter *i2c_adap, u16 addr, i2c_adap 31 drivers/i2c/busses/i2c-sibyte.c struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; i2c_adap 122 drivers/i2c/busses/i2c-sibyte.c static int __init i2c_sibyte_add_bus(struct i2c_adapter *i2c_adap, int speed) i2c_adap 124 drivers/i2c/busses/i2c-sibyte.c struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; i2c_adap 127 drivers/i2c/busses/i2c-sibyte.c i2c_adap->algo = &i2c_sibyte_algo; i2c_adap 133 drivers/i2c/busses/i2c-sibyte.c return i2c_add_numbered_adapter(i2c_adap); i2c_adap 243 drivers/i2c/busses/i2c-sprd.c static int sprd_i2c_handle_msg(struct i2c_adapter *i2c_adap, i2c_adap 246 drivers/i2c/busses/i2c-sprd.c struct sprd_i2c *i2c_dev = i2c_adap->algo_data; i2c_adap 281 drivers/i2c/busses/i2c-sprd.c static int sprd_i2c_master_xfer(struct i2c_adapter *i2c_adap, i2c_adap 284 drivers/i2c/busses/i2c-sprd.c struct sprd_i2c *i2c_dev = i2c_adap->algo_data; i2c_adap 292 drivers/i2c/busses/i2c-sprd.c ret = sprd_i2c_handle_msg(i2c_adap, &msgs[im], 0); i2c_adap 297 drivers/i2c/busses/i2c-sprd.c ret = sprd_i2c_handle_msg(i2c_adap, &msgs[im++], 1); i2c_adap 337 drivers/i2c/busses/i2c-st.c static int st_i2c_recover_bus(struct i2c_adapter *i2c_adap) i2c_adap 339 drivers/i2c/busses/i2c-st.c struct st_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); i2c_adap 713 drivers/i2c/busses/i2c-st.c static int st_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 716 drivers/i2c/busses/i2c-st.c struct st_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); i2c_adap 725 drivers/i2c/busses/i2c-stm32f4.c static int stm32f4_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], i2c_adap 728 drivers/i2c/busses/i2c-stm32f4.c struct stm32f4_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); i2c_adap 733 drivers/i2c/busses/i2c-stm32f7.c static int stm32f7_i2c_release_bus(struct i2c_adapter *i2c_adap) i2c_adap 735 drivers/i2c/busses/i2c-stm32f7.c struct stm32f7_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); i2c_adap 1553 drivers/i2c/busses/i2c-stm32f7.c static int stm32f7_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 1556 drivers/i2c/busses/i2c-stm32f7.c struct stm32f7_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); i2c_adap 51 drivers/media/common/b2c2/flexcop-common.h struct i2c_adapter i2c_adap; i2c_adap 339 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(isl6421_attach, fc->fe, &fc->fc_i2c_adap[2].i2c_adap, i2c_adap 405 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(isl6421_attach, fc->fe, &fc->fc_i2c_adap[2].i2c_adap, i2c_adap 613 drivers/media/common/b2c2/flexcop-fe-tuner.c &fc->fc_i2c_adap[2].i2c_adap, DVB_PLL_TDEE4)) i2c_adap 647 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(isl6421_attach, fc->fe, &fc->fc_i2c_adap[2].i2c_adap, i2c_adap 690 drivers/media/common/b2c2/flexcop-fe-tuner.c if (flexcop_frontends[i].attach(fc, &fc->fc_i2c_adap[0].i2c_adap)) i2c_adap 167 drivers/media/common/b2c2/flexcop-i2c.c static int flexcop_master_xfer(struct i2c_adapter *i2c_adap, i2c_adap 170 drivers/media/common/b2c2/flexcop-i2c.c struct flexcop_i2c_adapter *i2c = i2c_get_adapdata(i2c_adap); i2c_adap 229 drivers/media/common/b2c2/flexcop-i2c.c strscpy(fc->fc_i2c_adap[0].i2c_adap.name, "B2C2 FlexCop I2C to demod", i2c_adap 230 drivers/media/common/b2c2/flexcop-i2c.c sizeof(fc->fc_i2c_adap[0].i2c_adap.name)); i2c_adap 231 drivers/media/common/b2c2/flexcop-i2c.c strscpy(fc->fc_i2c_adap[1].i2c_adap.name, "B2C2 FlexCop I2C to eeprom", i2c_adap 232 drivers/media/common/b2c2/flexcop-i2c.c sizeof(fc->fc_i2c_adap[1].i2c_adap.name)); i2c_adap 233 drivers/media/common/b2c2/flexcop-i2c.c strscpy(fc->fc_i2c_adap[2].i2c_adap.name, "B2C2 FlexCop I2C to tuner", i2c_adap 234 drivers/media/common/b2c2/flexcop-i2c.c sizeof(fc->fc_i2c_adap[2].i2c_adap.name)); i2c_adap 236 drivers/media/common/b2c2/flexcop-i2c.c i2c_set_adapdata(&fc->fc_i2c_adap[0].i2c_adap, &fc->fc_i2c_adap[0]); i2c_adap 237 drivers/media/common/b2c2/flexcop-i2c.c i2c_set_adapdata(&fc->fc_i2c_adap[1].i2c_adap, &fc->fc_i2c_adap[1]); i2c_adap 238 drivers/media/common/b2c2/flexcop-i2c.c i2c_set_adapdata(&fc->fc_i2c_adap[2].i2c_adap, &fc->fc_i2c_adap[2]); i2c_adap 240 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[0].i2c_adap.algo = i2c_adap 241 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[1].i2c_adap.algo = i2c_adap 242 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[2].i2c_adap.algo = &flexcop_algo; i2c_adap 243 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[0].i2c_adap.algo_data = i2c_adap 244 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[1].i2c_adap.algo_data = i2c_adap 245 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[2].i2c_adap.algo_data = NULL; i2c_adap 246 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[0].i2c_adap.dev.parent = i2c_adap 247 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[1].i2c_adap.dev.parent = i2c_adap 248 drivers/media/common/b2c2/flexcop-i2c.c fc->fc_i2c_adap[2].i2c_adap.dev.parent = fc->dev; i2c_adap 250 drivers/media/common/b2c2/flexcop-i2c.c ret = i2c_add_adapter(&fc->fc_i2c_adap[0].i2c_adap); i2c_adap 254 drivers/media/common/b2c2/flexcop-i2c.c ret = i2c_add_adapter(&fc->fc_i2c_adap[1].i2c_adap); i2c_adap 258 drivers/media/common/b2c2/flexcop-i2c.c ret = i2c_add_adapter(&fc->fc_i2c_adap[2].i2c_adap); i2c_adap 266 drivers/media/common/b2c2/flexcop-i2c.c i2c_del_adapter(&fc->fc_i2c_adap[1].i2c_adap); i2c_adap 268 drivers/media/common/b2c2/flexcop-i2c.c i2c_del_adapter(&fc->fc_i2c_adap[0].i2c_adap); i2c_adap 275 drivers/media/common/b2c2/flexcop-i2c.c i2c_del_adapter(&fc->fc_i2c_adap[2].i2c_adap); i2c_adap 276 drivers/media/common/b2c2/flexcop-i2c.c i2c_del_adapter(&fc->fc_i2c_adap[1].i2c_adap); i2c_adap 277 drivers/media/common/b2c2/flexcop-i2c.c i2c_del_adapter(&fc->fc_i2c_adap[0].i2c_adap); i2c_adap 1012 drivers/media/dvb-frontends/cx24123.c static int cx24123_tuner_i2c_tuner_xfer(struct i2c_adapter *i2c_adap, i2c_adap 1015 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 40 drivers/media/dvb-frontends/dib3000mc.c struct i2c_adapter *i2c_adap; i2c_adap 74 drivers/media/dvb-frontends/dib3000mc.c if (i2c_transfer(state->i2c_adap, msg, 2) != 2) i2c_adap 102 drivers/media/dvb-frontends/dib3000mc.c rc = i2c_transfer(state->i2c_adap, &msg, 1) != 1 ? -EREMOTEIO : 0; i2c_adap 868 drivers/media/dvb-frontends/dib3000mc.c dmcst->i2c_adap = i2c; i2c_adap 909 drivers/media/dvb-frontends/dib3000mc.c struct dvb_frontend * dib3000mc_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib3000mc_config *cfg) i2c_adap 918 drivers/media/dvb-frontends/dib3000mc.c st->i2c_adap = i2c_adap; i2c_adap 928 drivers/media/dvb-frontends/dib3000mc.c dibx000_init_i2c_master(&st->i2c_master, DIB3000MC, st->i2c_adap, st->i2c_addr); i2c_adap 40 drivers/media/dvb-frontends/dib3000mc.h extern struct dvb_frontend *dib3000mc_attach(struct i2c_adapter *i2c_adap, i2c_adap 51 drivers/media/dvb-frontends/dib3000mc.h struct dvb_frontend *dib3000mc_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, i2c_adap 35 drivers/media/dvb-frontends/dib7000m.c struct i2c_adapter *i2c_adap; i2c_adap 98 drivers/media/dvb-frontends/dib7000m.c if (i2c_transfer(state->i2c_adap, state->msg, 2) != 2) i2c_adap 127 drivers/media/dvb-frontends/dib7000m.c ret = (i2c_transfer(state->i2c_adap, state->msg, 1) != 1 ? i2c_adap 1356 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state st = { .i2c_adap = i2c }; i2c_adap 1402 drivers/media/dvb-frontends/dib7000m.c struct dvb_frontend * dib7000m_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000m_config *cfg) i2c_adap 1411 drivers/media/dvb-frontends/dib7000m.c st->i2c_adap = i2c_adap; i2c_adap 1425 drivers/media/dvb-frontends/dib7000m.c dibx000_init_i2c_master(&st->i2c_master, DIB7000, st->i2c_adap, st->i2c_addr); i2c_adap 1427 drivers/media/dvb-frontends/dib7000m.c dibx000_init_i2c_master(&st->i2c_master, DIB7000MC, st->i2c_adap, st->i2c_addr); i2c_adap 43 drivers/media/dvb-frontends/dib7000m.h extern struct dvb_frontend *dib7000m_attach(struct i2c_adapter *i2c_adap, i2c_adap 53 drivers/media/dvb-frontends/dib7000m.h struct dvb_frontend *dib7000m_attach(struct i2c_adapter *i2c_adap, i2c_adap 36 drivers/media/dvb-frontends/dib7000p.c struct i2c_adapter *i2c_adap; i2c_adap 45 drivers/media/dvb-frontends/dib7000p.c struct i2c_adapter *i2c_adap; i2c_adap 122 drivers/media/dvb-frontends/dib7000p.c if (i2c_transfer(state->i2c_adap, state->msg, 2) != 2) i2c_adap 150 drivers/media/dvb-frontends/dib7000p.c ret = (i2c_transfer(state->i2c_adap, state->msg, 1) != 1 ? i2c_adap 2012 drivers/media/dvb-frontends/dib7000p.c static int dib7000pc_detection(struct i2c_adapter *i2c_adap) i2c_adap 2036 drivers/media/dvb-frontends/dib7000p.c if (i2c_transfer(i2c_adap, msg, 2) == 2) i2c_adap 2045 drivers/media/dvb-frontends/dib7000p.c if (i2c_transfer(i2c_adap, msg, 2) == 2) i2c_adap 2093 drivers/media/dvb-frontends/dib7000p.c dpst->i2c_adap = i2c; i2c_adap 2196 drivers/media/dvb-frontends/dib7000p.c static int w7090p_tuner_write_serpar(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 2198 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 2215 drivers/media/dvb-frontends/dib7000p.c static int w7090p_tuner_read_serpar(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 2217 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 2245 drivers/media/dvb-frontends/dib7000p.c static int w7090p_tuner_rw_serpar(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 2249 drivers/media/dvb-frontends/dib7000p.c return w7090p_tuner_write_serpar(i2c_adap, msg, 1); i2c_adap 2251 drivers/media/dvb-frontends/dib7000p.c return w7090p_tuner_read_serpar(i2c_adap, msg, 2); i2c_adap 2257 drivers/media/dvb-frontends/dib7000p.c static int dib7090p_rw_on_apb(struct i2c_adapter *i2c_adap, i2c_adap 2260 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 2274 drivers/media/dvb-frontends/dib7000p.c static int dib7090_tuner_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 2276 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 2382 drivers/media/dvb-frontends/dib7000p.c return dib7090p_rw_on_apb(i2c_adap, msg, num, apb_address); i2c_adap 2384 drivers/media/dvb-frontends/dib7000p.c return w7090p_tuner_rw_serpar(i2c_adap, msg, num); i2c_adap 2737 drivers/media/dvb-frontends/dib7000p.c static struct dvb_frontend *dib7000p_init(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000p_config *cfg) i2c_adap 2746 drivers/media/dvb-frontends/dib7000p.c st->i2c_adap = i2c_adap; i2c_adap 2772 drivers/media/dvb-frontends/dib7000p.c st->i2c_master.gated_tuner_i2c_adap.dev.parent = i2c_adap->dev.parent; i2c_adap 2774 drivers/media/dvb-frontends/dib7000p.c dibx000_init_i2c_master(&st->i2c_master, DIB7000P, st->i2c_adap, st->i2c_addr); i2c_adap 2781 drivers/media/dvb-frontends/dib7000p.c st->dib7090_tuner_adap.dev.parent = st->i2c_adap->dev.parent; i2c_adap 56 drivers/media/dvb-frontends/dib7000p.h int (*dib7000pc_detection)(struct i2c_adapter *i2c_adap); i2c_adap 65 drivers/media/dvb-frontends/dib7000p.h struct dvb_frontend *(*init)(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000p_config *cfg); i2c_adap 1673 drivers/media/dvb-frontends/dib8000.c static int dib8096p_tuner_write_serpar(struct i2c_adapter *i2c_adap, i2c_adap 1676 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 1693 drivers/media/dvb-frontends/dib8000.c static int dib8096p_tuner_read_serpar(struct i2c_adapter *i2c_adap, i2c_adap 1696 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 1725 drivers/media/dvb-frontends/dib8000.c static int dib8096p_tuner_rw_serpar(struct i2c_adapter *i2c_adap, i2c_adap 1730 drivers/media/dvb-frontends/dib8000.c return dib8096p_tuner_write_serpar(i2c_adap, msg, 1); i2c_adap 1732 drivers/media/dvb-frontends/dib8000.c return dib8096p_tuner_read_serpar(i2c_adap, msg, 2); i2c_adap 1737 drivers/media/dvb-frontends/dib8000.c static int dib8096p_rw_on_apb(struct i2c_adapter *i2c_adap, i2c_adap 1740 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 1754 drivers/media/dvb-frontends/dib8000.c static int dib8096p_tuner_xfer(struct i2c_adapter *i2c_adap, i2c_adap 1757 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 1868 drivers/media/dvb-frontends/dib8000.c return dib8096p_rw_on_apb(i2c_adap, msg, num, apb_address); i2c_adap 1870 drivers/media/dvb-frontends/dib8000.c return dib8096p_tuner_rw_serpar(i2c_adap, msg, num); i2c_adap 4416 drivers/media/dvb-frontends/dib8000.c static struct dvb_frontend *dib8000_init(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib8000_config *cfg) i2c_adap 4431 drivers/media/dvb-frontends/dib8000.c state->i2c.adap = i2c_adap; i2c_adap 63 drivers/media/dvb-frontends/dib8000.h struct dvb_frontend *(*init)(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib8000_config *cfg); i2c_adap 33 drivers/media/dvb-frontends/dib9000.c struct i2c_adapter *i2c_adap; i2c_adap 264 drivers/media/dvb-frontends/dib9000.c ret = i2c_transfer(state->i2c.i2c_adap, state->msg, 2) != 2 ? -EREMOTEIO : 0; i2c_adap 292 drivers/media/dvb-frontends/dib9000.c if (i2c_transfer(i2c->i2c_adap, msg, 2) != 2) { i2c_adap 349 drivers/media/dvb-frontends/dib9000.c ret = i2c_transfer(state->i2c.i2c_adap, state->msg, 1) != 1 ? -EREMOTEIO : 0; i2c_adap 373 drivers/media/dvb-frontends/dib9000.c return i2c_transfer(i2c->i2c_adap, &msg, 1) != 1 ? -EREMOTEIO : 0; i2c_adap 1585 drivers/media/dvb-frontends/dib9000.c static int dib9000_tuner_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 1587 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 1653 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_component_bus_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 1655 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 1749 drivers/media/dvb-frontends/dib9000.c st->i2c.i2c_adap = i2c; i2c_adap 2379 drivers/media/dvb-frontends/dib9000.c struct i2c_device client = {.i2c_adap = i2c }; i2c_adap 2473 drivers/media/dvb-frontends/dib9000.c struct dvb_frontend *dib9000_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, const struct dib9000_config *cfg) i2c_adap 2487 drivers/media/dvb-frontends/dib9000.c st->i2c.i2c_adap = i2c_adap; i2c_adap 2518 drivers/media/dvb-frontends/dib9000.c dibx000_init_i2c_master(&st->i2c_master, DIB7000MC, st->i2c.i2c_adap, st->i2c.i2c_addr); i2c_adap 2520 drivers/media/dvb-frontends/dib9000.c st->tuner_adap.dev.parent = i2c_adap->dev.parent; i2c_adap 2529 drivers/media/dvb-frontends/dib9000.c st->component_bus.dev.parent = i2c_adap->dev.parent; i2c_adap 32 drivers/media/dvb-frontends/dib9000.h extern struct dvb_frontend *dib9000_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, const struct dib9000_config *cfg); i2c_adap 46 drivers/media/dvb-frontends/dib9000.h static inline struct dvb_frontend *dib9000_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib9000_config *cfg) i2c_adap 40 drivers/media/dvb-frontends/dibx000_common.c ret = i2c_transfer(mst->i2c_adap, mst->msg, 1) != 1 ? -EREMOTEIO : 0; i2c_adap 68 drivers/media/dvb-frontends/dibx000_common.c if (i2c_transfer(mst->i2c_adap, mst->msg, 2) != 2) i2c_adap 182 drivers/media/dvb-frontends/dibx000_common.c int dibx000_i2c_set_speed(struct i2c_adapter *i2c_adap, u16 speed) i2c_adap 184 drivers/media/dvb-frontends/dibx000_common.c struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); i2c_adap 209 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_master_xfer_gpio12(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 211 drivers/media/dvb-frontends/dibx000_common.c struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); i2c_adap 231 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_master_xfer_gpio34(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 233 drivers/media/dvb-frontends/dibx000_common.c struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); i2c_adap 285 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_gated_gpio67_xfer(struct i2c_adapter *i2c_adap, i2c_adap 288 drivers/media/dvb-frontends/dibx000_common.c struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); i2c_adap 320 drivers/media/dvb-frontends/dibx000_common.c ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? i2c_adap 332 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_gated_tuner_xfer(struct i2c_adapter *i2c_adap, i2c_adap 335 drivers/media/dvb-frontends/dibx000_common.c struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); i2c_adap 366 drivers/media/dvb-frontends/dibx000_common.c ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? i2c_adap 417 drivers/media/dvb-frontends/dibx000_common.c i2c_transfer(mst->i2c_adap, &m, 1); i2c_adap 424 drivers/media/dvb-frontends/dibx000_common.c static int i2c_adapter_init(struct i2c_adapter *i2c_adap, i2c_adap 428 drivers/media/dvb-frontends/dibx000_common.c strscpy(i2c_adap->name, name, sizeof(i2c_adap->name)); i2c_adap 429 drivers/media/dvb-frontends/dibx000_common.c i2c_adap->algo = algo; i2c_adap 430 drivers/media/dvb-frontends/dibx000_common.c i2c_adap->algo_data = NULL; i2c_adap 431 drivers/media/dvb-frontends/dibx000_common.c i2c_set_adapdata(i2c_adap, mst); i2c_adap 432 drivers/media/dvb-frontends/dibx000_common.c if (i2c_add_adapter(i2c_adap) < 0) i2c_adap 438 drivers/media/dvb-frontends/dibx000_common.c struct i2c_adapter *i2c_adap, u8 i2c_addr) i2c_adap 454 drivers/media/dvb-frontends/dibx000_common.c mst->i2c_adap = i2c_adap; i2c_adap 462 drivers/media/dvb-frontends/dibx000_common.c mst->gated_tuner_i2c_adap.dev.parent = mst->i2c_adap->dev.parent; i2c_adap 468 drivers/media/dvb-frontends/dibx000_common.c mst->master_i2c_adap_gpio12.dev.parent = mst->i2c_adap->dev.parent; i2c_adap 474 drivers/media/dvb-frontends/dibx000_common.c mst->master_i2c_adap_gpio34.dev.parent = mst->i2c_adap->dev.parent; i2c_adap 480 drivers/media/dvb-frontends/dibx000_common.c mst->master_i2c_adap_gpio67.dev.parent = mst->i2c_adap->dev.parent; i2c_adap 489 drivers/media/dvb-frontends/dibx000_common.c ret = (i2c_transfer(i2c_adap, mst->msg, 1) == 1); i2c_adap 28 drivers/media/dvb-frontends/dibx000_common.h struct i2c_adapter *i2c_adap; i2c_adap 41 drivers/media/dvb-frontends/dibx000_common.h u16 device_rev, struct i2c_adapter *i2c_adap, i2c_adap 49 drivers/media/dvb-frontends/dibx000_common.h extern int dibx000_i2c_set_speed(struct i2c_adapter *i2c_adap, u16 speed); i2c_adap 40 drivers/media/dvb-frontends/lg2160.c struct i2c_adapter *i2c_adap; i2c_adap 64 drivers/media/dvb-frontends/lg2160.c ret = i2c_transfer(state->i2c_adap, &msg, 1); i2c_adap 90 drivers/media/dvb-frontends/lg2160.c ret = i2c_transfer(state->i2c_adap, msg, 2); i2c_adap 1391 drivers/media/dvb-frontends/lg2160.c struct i2c_adapter *i2c_adap) i2c_adap 1396 drivers/media/dvb-frontends/lg2160.c i2c_adap ? i2c_adapter_id(i2c_adap) : 0, i2c_adap 1404 drivers/media/dvb-frontends/lg2160.c state->i2c_adap = i2c_adap; i2c_adap 58 drivers/media/dvb-frontends/lg2160.h struct i2c_adapter *i2c_adap); i2c_adap 62 drivers/media/dvb-frontends/lg2160.h struct i2c_adapter *i2c_adap) i2c_adap 44 drivers/media/dvb-frontends/lgdt3305.c struct i2c_adapter *i2c_adap; i2c_adap 112 drivers/media/dvb-frontends/lgdt3305.c ret = i2c_transfer(state->i2c_adap, &msg, 1); i2c_adap 138 drivers/media/dvb-frontends/lgdt3305.c ret = i2c_transfer(state->i2c_adap, msg, 2); i2c_adap 1096 drivers/media/dvb-frontends/lgdt3305.c struct i2c_adapter *i2c_adap) i2c_adap 1103 drivers/media/dvb-frontends/lgdt3305.c i2c_adap ? i2c_adapter_id(i2c_adap) : 0, i2c_adap 1111 drivers/media/dvb-frontends/lgdt3305.c state->i2c_adap = i2c_adap; i2c_adap 71 drivers/media/dvb-frontends/lgdt3305.h struct i2c_adapter *i2c_adap); i2c_adap 75 drivers/media/dvb-frontends/lgdt3305.h struct i2c_adapter *i2c_adap) i2c_adap 64 drivers/media/dvb-frontends/lgdt3306a.c struct i2c_adapter *i2c_adap; i2c_adap 134 drivers/media/dvb-frontends/lgdt3306a.c ret = i2c_transfer(state->i2c_adap, &msg, 1); i2c_adap 158 drivers/media/dvb-frontends/lgdt3306a.c ret = i2c_transfer(state->i2c_adap, msg, 2); i2c_adap 1817 drivers/media/dvb-frontends/lgdt3306a.c struct i2c_adapter *i2c_adap) i2c_adap 1824 drivers/media/dvb-frontends/lgdt3306a.c i2c_adap ? i2c_adapter_id(i2c_adap) : 0, i2c_adap 1832 drivers/media/dvb-frontends/lgdt3306a.c state->i2c_adap = i2c_adap; i2c_adap 58 drivers/media/dvb-frontends/lgdt3306a.h struct i2c_adapter *i2c_adap); i2c_adap 62 drivers/media/dvb-frontends/lgdt3306a.h struct i2c_adapter *i2c_adap) i2c_adap 23 drivers/media/dvb-frontends/mb86a16.c struct i2c_adapter *i2c_adap; i2c_adap 78 drivers/media/dvb-frontends/mb86a16.c ret = i2c_transfer(state->i2c_adap, &msg, 1); i2c_adap 102 drivers/media/dvb-frontends/mb86a16.c ret = i2c_transfer(state->i2c_adap, msg, 2); i2c_adap 1829 drivers/media/dvb-frontends/mb86a16.c struct i2c_adapter *i2c_adap) i2c_adap 1839 drivers/media/dvb-frontends/mb86a16.c state->i2c_adap = i2c_adap; i2c_adap 28 drivers/media/dvb-frontends/mb86a16.h struct i2c_adapter *i2c_adap); i2c_adap 33 drivers/media/dvb-frontends/mb86a16.h struct i2c_adapter *i2c_adap) i2c_adap 833 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_tuner_i2c_tuner_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num) i2c_adap 835 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state *state = i2c_get_adapdata(i2c_adap); i2c_adap 37 drivers/media/dvb-frontends/stv0900_core.c static struct stv0900_inode *find_inode(struct i2c_adapter *i2c_adap, i2c_adap 47 drivers/media/dvb-frontends/stv0900_core.c ((temp_chip->internal->i2c_adap != i2c_adap) || i2c_adap 61 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_inode *del_node = find_inode(internal->i2c_adap, i2c_adap 134 drivers/media/dvb-frontends/stv0900_core.c ret = i2c_transfer(intp->i2c_adap, &i2cmsg, 1); i2c_adap 158 drivers/media/dvb-frontends/stv0900_core.c ret = i2c_transfer(intp->i2c_adap, msg, 2); i2c_adap 1340 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_inode *temp_int = find_inode(state->i2c_adap, i2c_adap 1362 drivers/media/dvb-frontends/stv0900_core.c state->internal->i2c_adap = state->i2c_adap; i2c_adap 1912 drivers/media/dvb-frontends/stv0900_core.c state->i2c_adap = i2c; i2c_adap 316 drivers/media/dvb-frontends/stv0900_priv.h struct i2c_adapter *i2c_adap; i2c_adap 329 drivers/media/dvb-frontends/stv0900_priv.h struct i2c_adapter *i2c_adap; i2c_adap 43 drivers/media/dvb-frontends/stv090x.c static struct stv090x_dev *find_dev(struct i2c_adapter *i2c_adap, i2c_adap 52 drivers/media/dvb-frontends/stv090x.c ((temp_dev->internal->i2c_adap != i2c_adap) || i2c_adap 65 drivers/media/dvb-frontends/stv090x.c struct stv090x_dev *del_dev = find_dev(internal->i2c_adap, i2c_adap 4915 drivers/media/dvb-frontends/stv090x.c state->internal->i2c_adap = state->i2c; i2c_adap 222 drivers/media/dvb-frontends/stv090x_priv.h struct i2c_adapter *i2c_adap; i2c_adap 3538 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "saa6588", 0, addrs); i2c_adap 3563 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "msp3400", 0, addrs); i2c_adap 3577 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tda7432", 0, addrs)) i2c_adap 3585 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tvaudio", 0, tvaudio_addrs()); i2c_adap 3604 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "msp3400", i2c_adap 3608 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "msp3400", i2c_adap 3618 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tvaudio", 0, tvaudio_addrs()); i2c_adap 3623 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tvaudio", 0, tvaudio_addrs()); i2c_adap 3634 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tda7432", 0, addrs); i2c_adap 3660 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tuner", i2c_adap 3663 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tuner", i2c_adap 3666 drivers/media/pci/bt8xx/bttv-cards.c &btv->c.i2c_adap, "tuner", i2c_adap 220 drivers/media/pci/bt8xx/bttv-i2c.c static int bttv_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num) i2c_adap 222 drivers/media/pci/bt8xx/bttv-i2c.c struct v4l2_device *v4l2_dev = i2c_get_adapdata(i2c_adap); i2c_adap 344 drivers/media/pci/bt8xx/bttv-i2c.c strscpy(btv->c.i2c_adap.name, "bt878", i2c_adap 345 drivers/media/pci/bt8xx/bttv-i2c.c sizeof(btv->c.i2c_adap.name)); i2c_adap 346 drivers/media/pci/bt8xx/bttv-i2c.c btv->c.i2c_adap.algo = &bttv_algo; i2c_adap 353 drivers/media/pci/bt8xx/bttv-i2c.c strscpy(btv->c.i2c_adap.name, "bttv", i2c_adap 354 drivers/media/pci/bt8xx/bttv-i2c.c sizeof(btv->c.i2c_adap.name)); i2c_adap 358 drivers/media/pci/bt8xx/bttv-i2c.c btv->c.i2c_adap.algo_data = &btv->i2c_algo; i2c_adap 360 drivers/media/pci/bt8xx/bttv-i2c.c btv->c.i2c_adap.owner = THIS_MODULE; i2c_adap 362 drivers/media/pci/bt8xx/bttv-i2c.c btv->c.i2c_adap.dev.parent = &btv->c.pci->dev; i2c_adap 363 drivers/media/pci/bt8xx/bttv-i2c.c snprintf(btv->c.i2c_adap.name, sizeof(btv->c.i2c_adap.name), i2c_adap 367 drivers/media/pci/bt8xx/bttv-i2c.c i2c_set_adapdata(&btv->c.i2c_adap, &btv->c.v4l2_dev); i2c_adap 368 drivers/media/pci/bt8xx/bttv-i2c.c btv->i2c_client.adapter = &btv->c.i2c_adap; i2c_adap 372 drivers/media/pci/bt8xx/bttv-i2c.c btv->i2c_rc = i2c_add_adapter(&btv->c.i2c_adap); i2c_adap 376 drivers/media/pci/bt8xx/bttv-i2c.c btv->i2c_rc = i2c_bit_add_bus(&btv->c.i2c_adap); i2c_adap 387 drivers/media/pci/bt8xx/bttv-i2c.c i2c_del_adapter(&btv->c.i2c_adap); i2c_adap 389 drivers/media/pci/bt8xx/bttv-input.c i2c_dev = i2c_new_device(&btv->c.i2c_adap, &info); i2c_adap 399 drivers/media/pci/bt8xx/bttv-input.c i2c_dev = i2c_new_probed_device(&btv->c.i2c_adap, &info, addr_list, NULL); i2c_adap 207 drivers/media/pci/bt8xx/bttv.h struct i2c_adapter i2c_adap; i2c_adap 814 drivers/media/pci/bt8xx/dvb-bt8xx.c card->i2c_adapter = &sub->core->i2c_adap; i2c_adap 507 drivers/media/pci/cobalt/cobalt-driver.c s[i].i2c_adap = &cobalt->i2c_adap[i]; i2c_adap 508 drivers/media/pci/cobalt/cobalt-driver.c if (s[i].i2c_adap->dev.parent == NULL) i2c_adap 513 drivers/media/pci/cobalt/cobalt-driver.c s[i].i2c_adap, &adv7604_info, NULL); i2c_adap 599 drivers/media/pci/cobalt/cobalt-driver.c s->i2c_adap = &cobalt->i2c_adap[COBALT_NUM_ADAPTERS - 1]; i2c_adap 600 drivers/media/pci/cobalt/cobalt-driver.c if (s->i2c_adap->dev.parent == NULL) i2c_adap 605 drivers/media/pci/cobalt/cobalt-driver.c s->i2c_adap, &adv7842_info, NULL); i2c_adap 631 drivers/media/pci/cobalt/cobalt-driver.c s->i2c_adap = &cobalt->i2c_adap[COBALT_NUM_ADAPTERS - 1]; i2c_adap 633 drivers/media/pci/cobalt/cobalt-driver.c s->i2c_adap, &adv7511_info, NULL); i2c_adap 213 drivers/media/pci/cobalt/cobalt-driver.h struct i2c_adapter *i2c_adap; i2c_adap 262 drivers/media/pci/cobalt/cobalt-driver.h struct i2c_adapter i2c_adap[COBALT_NUM_ADAPTERS]; i2c_adap 320 drivers/media/pci/cobalt/cobalt-i2c.c struct i2c_adapter *adap = &cobalt->i2c_adap[i]; i2c_adap 366 drivers/media/pci/cobalt/cobalt-i2c.c i2c_del_adapter(&cobalt->i2c_adap[i]); i2c_adap 381 drivers/media/pci/cobalt/cobalt-i2c.c cobalt_err("unregistered bus %s\n", cobalt->i2c_adap[i].name); i2c_adap 382 drivers/media/pci/cobalt/cobalt-i2c.c i2c_del_adapter(&cobalt->i2c_adap[i]); i2c_adap 323 drivers/media/pci/cx18/cx18-driver.c c->adapter = &cx->i2c_adap[0]; i2c_adap 639 drivers/media/pci/cx18/cx18-driver.h struct i2c_adapter i2c_adap[2]; i2c_adap 465 drivers/media/pci/cx18/cx18-dvb.c &cx->i2c_adap[0]); i2c_adap 468 drivers/media/pci/cx18/cx18-dvb.c &cx->i2c_adap[0], i2c_adap 476 drivers/media/pci/cx18/cx18-dvb.c &cx->i2c_adap[0]); i2c_adap 479 drivers/media/pci/cx18/cx18-dvb.c 0x60, &cx->i2c_adap[0], i2c_adap 485 drivers/media/pci/cx18/cx18-dvb.c &cx->i2c_adap[1]); i2c_adap 489 drivers/media/pci/cx18/cx18-dvb.c .i2c_adap = &cx->i2c_adap[1], i2c_adap 513 drivers/media/pci/cx18/cx18-dvb.c &cx->i2c_adap[1]); i2c_adap 517 drivers/media/pci/cx18/cx18-dvb.c &cx->i2c_adap[1]); i2c_adap 521 drivers/media/pci/cx18/cx18-dvb.c .i2c_adap = &cx->i2c_adap[1], i2c_adap 540 drivers/media/pci/cx18/cx18-dvb.c &cx->i2c_adap[1]); i2c_adap 544 drivers/media/pci/cx18/cx18-dvb.c .i2c_adap = &cx->i2c_adap[1], i2c_adap 99 drivers/media/pci/cx18/cx18-i2c.c struct i2c_adapter *adap = &cx->i2c_adap[bus]; i2c_adap 230 drivers/media/pci/cx18/cx18-i2c.c cx->i2c_adap[i] = cx18_i2c_adap_template; i2c_adap 231 drivers/media/pci/cx18/cx18-i2c.c cx->i2c_adap[i].algo_data = &cx->i2c_algo[i]; i2c_adap 232 drivers/media/pci/cx18/cx18-i2c.c sprintf(cx->i2c_adap[i].name + strlen(cx->i2c_adap[i].name), i2c_adap 234 drivers/media/pci/cx18/cx18-i2c.c i2c_set_adapdata(&cx->i2c_adap[i], &cx->v4l2_dev); i2c_adap 235 drivers/media/pci/cx18/cx18-i2c.c cx->i2c_adap[i].dev.parent = &cx->pci_dev->dev; i2c_adap 274 drivers/media/pci/cx18/cx18-i2c.c err = i2c_bit_add_bus(&cx->i2c_adap[0]); i2c_adap 277 drivers/media/pci/cx18/cx18-i2c.c err = i2c_bit_add_bus(&cx->i2c_adap[1]); i2c_adap 283 drivers/media/pci/cx18/cx18-i2c.c i2c_del_adapter(&cx->i2c_adap[0]); i2c_adap 298 drivers/media/pci/cx18/cx18-i2c.c i2c_del_adapter(&cx->i2c_adap[i]); i2c_adap 71 drivers/media/pci/cx23885/cimax2.c struct i2c_adapter *i2c_adap; i2c_adap 82 drivers/media/pci/cx23885/cimax2.c static int netup_read_i2c(struct i2c_adapter *i2c_adap, u8 addr, u8 reg, i2c_adap 100 drivers/media/pci/cx23885/cimax2.c ret = i2c_transfer(i2c_adap, msg, 2); i2c_adap 115 drivers/media/pci/cx23885/cimax2.c static int netup_write_i2c(struct i2c_adapter *i2c_adap, u8 addr, u8 reg, i2c_adap 137 drivers/media/pci/cx23885/cimax2.c ret = i2c_transfer(i2c_adap, &msg, 1); i2c_adap 182 drivers/media/pci/cx23885/cimax2.c ret = netup_read_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 190 drivers/media/pci/cx23885/cimax2.c ret = netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 272 drivers/media/pci/cx23885/cimax2.c ret = netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 281 drivers/media/pci/cx23885/cimax2.c ret = netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 307 drivers/media/pci/cx23885/cimax2.c ret = netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 326 drivers/media/pci/cx23885/cimax2.c netup_read_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 330 drivers/media/pci/cx23885/cimax2.c return netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 349 drivers/media/pci/cx23885/cimax2.c ret = netup_read_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 472 drivers/media/pci/cx23885/cimax2.c state->i2c_adap = &port->dev->i2c_bus[0].i2c_adap; i2c_adap 486 drivers/media/pci/cx23885/cimax2.c ret = netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 489 drivers/media/pci/cx23885/cimax2.c ret |= netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 492 drivers/media/pci/cx23885/cimax2.c ret |= netup_write_i2c(state->i2c_adap, state->ci_i2c_addr, i2c_adap 2376 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[2].i2c_adap, i2c_adap 2392 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[0].i2c_adap, i2c_adap 2398 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[0].i2c_adap, i2c_adap 2402 drivers/media/pci/cx23885/cx23885-cards.c &dev->i2c_bus[0].i2c_adap, i2c_adap 2426 drivers/media/pci/cx23885/cx23885-cards.c netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo); i2c_adap 1091 drivers/media/pci/cx23885/cx23885-dvb.c netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo); i2c_adap 1162 drivers/media/pci/cx23885/cx23885-dvb.c client_ci = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 1229 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1233 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1241 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1245 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_adap 1255 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1260 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_adap 1264 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_adap 1275 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1280 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[1].i2c_adap, 0x42, i2c_adap 1283 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_adap 1291 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1295 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1303 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1307 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1315 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1319 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, 0x61, i2c_adap 1326 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[0].i2c_adap); i2c_adap 1330 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1337 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[0].i2c_adap); i2c_adap 1341 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &i2c_bus->i2c_adap, i2c_adap 1361 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1365 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[1].i2c_adap, 0x42, i2c_adap 1368 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_adap 1375 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1378 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_adap 1388 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, i2c_adap 1393 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &dev->i2c_bus[1].i2c_adap, i2c_adap 1416 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1420 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1423 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1431 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1435 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &i2c_bus->i2c_adap, i2c_adap 1459 drivers/media/pci/cx23885/cx23885-dvb.c if (dib7000p_ops.i2c_enumeration(&i2c_bus->i2c_adap, 1, 0x12, &dib7070p_dib7000p_config) < 0) { i2c_adap 1463 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, 0x80, &dib7070p_dib7000p_config); i2c_adap 1483 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1487 drivers/media/pci/cx23885/cx23885-dvb.c .i2c_adap = &dev->i2c_bus[1].i2c_adap, i2c_adap 1507 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1519 drivers/media/pci/cx23885/cx23885-dvb.c &dev->i2c_bus[1].i2c_adap, &cfg); i2c_adap 1532 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1546 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1552 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1561 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1564 drivers/media/pci/cx23885/cx23885-dvb.c &tevii_ts2020_config, &i2c_bus->i2c_adap); i2c_adap 1574 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1583 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, 0); i2c_adap 1588 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap)) { i2c_adap 1591 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1603 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, 1); i2c_adap 1608 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap)) { i2c_adap 1611 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1626 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1630 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus2->i2c_adap, &mygica_x8506_xc5000_config); i2c_adap 1638 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1643 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus2->i2c_adap, i2c_adap 1652 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1656 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus2->i2c_adap, i2c_adap 1664 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1668 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[0].i2c_adap, i2c_adap 1672 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[1].i2c_adap, i2c_adap 1680 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1684 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &dev->i2c_bus[0].i2c_adap, i2c_adap 1694 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1698 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1706 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1710 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1725 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1729 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1742 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1749 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1762 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1768 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus2->i2c_adap)) i2c_adap 1775 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1781 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus2->i2c_adap)) i2c_adap 1791 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 1795 drivers/media/pci/cx23885/cx23885-dvb.c &tevii_ts2020_config, &i2c_bus->i2c_adap); i2c_adap 1802 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, i2c_adap 1809 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap)) i2c_adap 1829 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 1846 drivers/media/pci/cx23885/cx23885-dvb.c client_sec = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 1867 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 1882 drivers/media/pci/cx23885/cx23885-dvb.c 0x60, &i2c_bus2->i2c_adap, i2c_adap 1901 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 1918 drivers/media/pci/cx23885/cx23885-dvb.c client_sec = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 1938 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus2->i2c_adap, &adapter); i2c_adap 1988 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 2035 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus2->i2c_adap, &info); i2c_adap 2070 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus2->i2c_adap, &adapter); i2c_adap 2132 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 2197 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 2237 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap, &adapter); i2c_adap 2248 drivers/media/pci/cx23885/cx23885-dvb.c client_sec = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 2290 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info); i2c_adap 2308 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&i2c_bus2->i2c_adap, &info); i2c_adap 2343 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[0].i2c_adap, &info); i2c_adap 2361 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_adap 2390 drivers/media/pci/cx23885/cx23885-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[0].i2c_adap, &info); i2c_adap 2408 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_adap 2436 drivers/media/pci/cx23885/cx23885-dvb.c &hauppauge_quadHD_ATSC_a_config, &i2c_bus->i2c_adap); i2c_adap 2450 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_adap 2472 drivers/media/pci/cx23885/cx23885-dvb.c &hauppauge_quadHD_ATSC_b_config, &i2c_bus->i2c_adap); i2c_adap 2486 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_adap 2512 drivers/media/pci/cx23885/cx23885-dvb.c &i2c_bus->i2c_adap); i2c_adap 2526 drivers/media/pci/cx23885/cx23885-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, &info); i2c_adap 37 drivers/media/pci/cx23885/cx23885-i2c.c static inline int i2c_slave_did_ack(struct i2c_adapter *i2c_adap) i2c_adap 39 drivers/media/pci/cx23885/cx23885-i2c.c struct cx23885_i2c *bus = i2c_adap->algo_data; i2c_adap 44 drivers/media/pci/cx23885/cx23885-i2c.c static inline int i2c_is_busy(struct i2c_adapter *i2c_adap) i2c_adap 46 drivers/media/pci/cx23885/cx23885-i2c.c struct cx23885_i2c *bus = i2c_adap->algo_data; i2c_adap 51 drivers/media/pci/cx23885/cx23885-i2c.c static int i2c_wait_done(struct i2c_adapter *i2c_adap) i2c_adap 56 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_is_busy(i2c_adap)) i2c_adap 67 drivers/media/pci/cx23885/cx23885-i2c.c static int i2c_sendbytes(struct i2c_adapter *i2c_adap, i2c_adap 70 drivers/media/pci/cx23885/cx23885-i2c.c struct cx23885_i2c *bus = i2c_adap->algo_data; i2c_adap 85 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 87 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_slave_did_ack(i2c_adap)) i2c_adap 109 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 131 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 148 drivers/media/pci/cx23885/cx23885-i2c.c static int i2c_readbytes(struct i2c_adapter *i2c_adap, i2c_adap 151 drivers/media/pci/cx23885/cx23885-i2c.c struct cx23885_i2c *bus = i2c_adap->algo_data; i2c_adap 164 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 166 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_slave_did_ack(i2c_adap)) i2c_adap 191 drivers/media/pci/cx23885/cx23885-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 209 drivers/media/pci/cx23885/cx23885-i2c.c static int i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 221 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 0); i2c_adap 225 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], i2c_adap 230 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 1); i2c_adap 233 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], 0); i2c_adap 305 drivers/media/pci/cx23885/cx23885-i2c.c bus->i2c_adap = cx23885_i2c_adap_template; i2c_adap 307 drivers/media/pci/cx23885/cx23885-i2c.c bus->i2c_adap.dev.parent = &dev->pci->dev; i2c_adap 309 drivers/media/pci/cx23885/cx23885-i2c.c strscpy(bus->i2c_adap.name, bus->dev->name, i2c_adap 310 drivers/media/pci/cx23885/cx23885-i2c.c sizeof(bus->i2c_adap.name)); i2c_adap 312 drivers/media/pci/cx23885/cx23885-i2c.c bus->i2c_adap.algo_data = bus; i2c_adap 313 drivers/media/pci/cx23885/cx23885-i2c.c i2c_set_adapdata(&bus->i2c_adap, &dev->v4l2_dev); i2c_adap 314 drivers/media/pci/cx23885/cx23885-i2c.c i2c_add_adapter(&bus->i2c_adap); i2c_adap 316 drivers/media/pci/cx23885/cx23885-i2c.c bus->i2c_client.adapter = &bus->i2c_adap; i2c_adap 340 drivers/media/pci/cx23885/cx23885-i2c.c i2c_new_probed_device(&bus->i2c_adap, &info, addr_list, i2c_adap 349 drivers/media/pci/cx23885/cx23885-i2c.c i2c_del_adapter(&bus->i2c_adap); i2c_adap 373 drivers/media/pci/cx23885/cx23885-i2c.c i2c_xfer(&dev->i2c_bus[2].i2c_adap, &msg, 1); i2c_adap 171 drivers/media/pci/cx23885/cx23885-video.c return i2c_transfer(&dev->i2c_bus[2].i2c_adap, &msg, 1); i2c_adap 186 drivers/media/pci/cx23885/cx23885-video.c ret = i2c_transfer(&dev->i2c_bus[2].i2c_adap, &msg[0], 2); i2c_adap 1214 drivers/media/pci/cx23885/cx23885-video.c &dev->i2c_bus[dev->tuner_bus].i2c_adap, i2c_adap 1218 drivers/media/pci/cx23885/cx23885-video.c &dev->i2c_bus[dev->tuner_bus].i2c_adap, i2c_adap 235 drivers/media/pci/cx23885/cx23885.h struct i2c_adapter i2c_adap; i2c_adap 18 drivers/media/pci/cx23885/netup-eeprom.c int netup_eeprom_read(struct i2c_adapter *i2c_adap, u8 addr) i2c_adap 42 drivers/media/pci/cx23885/netup-eeprom.c ret = i2c_transfer(i2c_adap, msg, 2); i2c_adap 52 drivers/media/pci/cx23885/netup-eeprom.c int netup_eeprom_write(struct i2c_adapter *i2c_adap, u8 addr, u8 data) i2c_adap 70 drivers/media/pci/cx23885/netup-eeprom.c ret = i2c_transfer(i2c_adap, msg, 1); i2c_adap 81 drivers/media/pci/cx23885/netup-eeprom.c void netup_get_card_info(struct i2c_adapter *i2c_adap, i2c_adap 86 drivers/media/pci/cx23885/netup-eeprom.c cinfo->rev = netup_eeprom_read(i2c_adap, 63); i2c_adap 89 drivers/media/pci/cx23885/netup-eeprom.c cinfo->port[0].mac[j] = netup_eeprom_read(i2c_adap, i); i2c_adap 92 drivers/media/pci/cx23885/netup-eeprom.c cinfo->port[1].mac[j] = netup_eeprom_read(i2c_adap, i); i2c_adap 23 drivers/media/pci/cx23885/netup-eeprom.h extern int netup_eeprom_read(struct i2c_adapter *i2c_adap, u8 addr); i2c_adap 24 drivers/media/pci/cx23885/netup-eeprom.h extern int netup_eeprom_write(struct i2c_adapter *i2c_adap, u8 addr, u8 data); i2c_adap 25 drivers/media/pci/cx23885/netup-eeprom.h extern void netup_get_card_info(struct i2c_adapter *i2c_adap, i2c_adap 99 drivers/media/pci/cx23885/netup-init.c struct i2c_adapter *i2c = &i2c_bus->i2c_adap; i2c_adap 340 drivers/media/pci/cx25821/cx25821-core.c static inline int i2c_slave_did_ack(struct i2c_adapter *i2c_adap) i2c_adap 342 drivers/media/pci/cx25821/cx25821-core.c struct cx25821_i2c *bus = i2c_adap->algo_data; i2c_adap 36 drivers/media/pci/cx25821/cx25821-i2c.c static inline int i2c_slave_did_ack(struct i2c_adapter *i2c_adap) i2c_adap 38 drivers/media/pci/cx25821/cx25821-i2c.c struct cx25821_i2c *bus = i2c_adap->algo_data; i2c_adap 43 drivers/media/pci/cx25821/cx25821-i2c.c static inline int i2c_is_busy(struct i2c_adapter *i2c_adap) i2c_adap 45 drivers/media/pci/cx25821/cx25821-i2c.c struct cx25821_i2c *bus = i2c_adap->algo_data; i2c_adap 50 drivers/media/pci/cx25821/cx25821-i2c.c static int i2c_wait_done(struct i2c_adapter *i2c_adap) i2c_adap 55 drivers/media/pci/cx25821/cx25821-i2c.c if (!i2c_is_busy(i2c_adap)) i2c_adap 66 drivers/media/pci/cx25821/cx25821-i2c.c static int i2c_sendbytes(struct i2c_adapter *i2c_adap, i2c_adap 69 drivers/media/pci/cx25821/cx25821-i2c.c struct cx25821_i2c *bus = i2c_adap->algo_data; i2c_adap 85 drivers/media/pci/cx25821/cx25821-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 88 drivers/media/pci/cx25821/cx25821-i2c.c if (!i2c_slave_did_ack(i2c_adap)) i2c_adap 110 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_wait_done(i2c_adap); i2c_adap 136 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_wait_done(i2c_adap); i2c_adap 160 drivers/media/pci/cx25821/cx25821-i2c.c static int i2c_readbytes(struct i2c_adapter *i2c_adap, i2c_adap 163 drivers/media/pci/cx25821/cx25821-i2c.c struct cx25821_i2c *bus = i2c_adap->algo_data; i2c_adap 175 drivers/media/pci/cx25821/cx25821-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 177 drivers/media/pci/cx25821/cx25821-i2c.c if (!i2c_slave_did_ack(i2c_adap)) i2c_adap 201 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_wait_done(i2c_adap); i2c_adap 224 drivers/media/pci/cx25821/cx25821-i2c.c static int i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num) i2c_adap 226 drivers/media/pci/cx25821/cx25821-i2c.c struct cx25821_i2c *bus = i2c_adap->algo_data; i2c_adap 238 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 0); i2c_adap 242 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], i2c_adap 248 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 1); i2c_adap 251 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], 0); i2c_adap 295 drivers/media/pci/cx25821/cx25821-i2c.c bus->i2c_adap = cx25821_i2c_adap_template; i2c_adap 297 drivers/media/pci/cx25821/cx25821-i2c.c bus->i2c_adap.dev.parent = &dev->pci->dev; i2c_adap 299 drivers/media/pci/cx25821/cx25821-i2c.c strscpy(bus->i2c_adap.name, bus->dev->name, sizeof(bus->i2c_adap.name)); i2c_adap 301 drivers/media/pci/cx25821/cx25821-i2c.c bus->i2c_adap.algo_data = bus; i2c_adap 302 drivers/media/pci/cx25821/cx25821-i2c.c i2c_set_adapdata(&bus->i2c_adap, &dev->v4l2_dev); i2c_adap 303 drivers/media/pci/cx25821/cx25821-i2c.c i2c_add_adapter(&bus->i2c_adap); i2c_adap 305 drivers/media/pci/cx25821/cx25821-i2c.c bus->i2c_client.adapter = &bus->i2c_adap; i2c_adap 315 drivers/media/pci/cx25821/cx25821-i2c.c i2c_del_adapter(&bus->i2c_adap); i2c_adap 340 drivers/media/pci/cx25821/cx25821-i2c.c i2c_xfer(&dev->i2c_bus[0].i2c_adap, &msg, 1); i2c_adap 144 drivers/media/pci/cx25821/cx25821.h struct i2c_adapter i2c_adap; i2c_adap 3099 drivers/media/pci/cx88/cx88-cards.c err = i2c_transfer(&core->i2c_adap, &msg, 1); i2c_adap 3788 drivers/media/pci/cx88/cx88-cards.c v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, i2c_adap 3793 drivers/media/pci/cx88/cx88-cards.c &core->i2c_adap, "tuner", i2c_adap 3797 drivers/media/pci/cx88/cx88-cards.c &core->i2c_adap, "tuner", i2c_adap 3800 drivers/media/pci/cx88/cx88-cards.c v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, i2c_adap 1075 drivers/media/pci/cx88/cx88-core.c i2c_del_adapter(&core->i2c_adap); i2c_adap 608 drivers/media/pci/cx88/cx88-dvb.c .i2c_adap = &dev->core->i2c_adap, i2c_adap 659 drivers/media/pci/cx88/cx88-dvb.c fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap, i2c_adap 879 drivers/media/pci/cx88/cx88-dvb.c if (i2c_transfer(&dev->core->i2c_adap, &msg, 1) != 1) i2c_adap 937 drivers/media/pci/cx88/cx88-dvb.c return (i2c_transfer(&dev->core->i2c_adap, &msg, 1) == 1) ? 0 : -EIO; i2c_adap 1015 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1018 drivers/media/pci/cx88/cx88-dvb.c 0x61, &core->i2c_adap, i2c_adap 1029 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1032 drivers/media/pci/cx88/cx88-dvb.c 0x60, &core->i2c_adap, i2c_adap 1043 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1046 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1054 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1057 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1069 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap); i2c_adap 1073 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap, i2c_adap 1084 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap); i2c_adap 1089 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap, i2c_adap 1097 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1107 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1121 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1131 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1141 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1153 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1168 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1179 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1182 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1190 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1194 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1207 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1210 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1229 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1232 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1248 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1251 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1267 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1270 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1274 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x43)) i2c_adap 1289 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1292 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1296 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x43)) i2c_adap 1303 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1306 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x61, i2c_adap 1315 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1325 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0x08, ISL6421_DCL, i2c_adap 1333 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1342 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1351 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1354 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, i2c_adap 1362 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1366 drivers/media/pci/cx88/cx88-dvb.c .i2c_adap = &core->i2c_adap, i2c_adap 1385 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1396 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1415 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1422 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1429 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1432 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, i2c_adap 1444 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap); i2c_adap 1448 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap, i2c_adap 1459 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap); i2c_adap 1464 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap, i2c_adap 1472 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap); i2c_adap 1476 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap, i2c_adap 1486 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1489 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, DVB_PLL_OPERA1)) i2c_adap 1497 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1501 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap)) i2c_adap 1511 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1518 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1521 drivers/media/pci/cx88/cx88-dvb.c &tevii_ts2020_config, &core->i2c_adap); i2c_adap 1532 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1539 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 1551 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap, 0); i2c_adap 1555 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap)) i2c_adap 1583 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap); i2c_adap 1588 drivers/media/pci/cx88/cx88-dvb.c &dev->core->i2c_adap; i2c_adap 1600 drivers/media/pci/cx88/cx88-dvb.c &core->i2c_adap); i2c_adap 132 drivers/media/pci/cx88/cx88-i2c.c core->i2c_adap.dev.parent = &pci->dev; i2c_adap 133 drivers/media/pci/cx88/cx88-i2c.c strscpy(core->i2c_adap.name, core->name, sizeof(core->i2c_adap.name)); i2c_adap 134 drivers/media/pci/cx88/cx88-i2c.c core->i2c_adap.owner = THIS_MODULE; i2c_adap 137 drivers/media/pci/cx88/cx88-i2c.c i2c_set_adapdata(&core->i2c_adap, &core->v4l2_dev); i2c_adap 138 drivers/media/pci/cx88/cx88-i2c.c core->i2c_adap.algo_data = &core->i2c_algo; i2c_adap 139 drivers/media/pci/cx88/cx88-i2c.c core->i2c_client.adapter = &core->i2c_adap; i2c_adap 145 drivers/media/pci/cx88/cx88-i2c.c core->i2c_rc = i2c_bit_add_bus(&core->i2c_adap); i2c_adap 637 drivers/media/pci/cx88/cx88-input.c if (i2c_smbus_xfer(&core->i2c_adap, *addrp, 0, i2c_adap 641 drivers/media/pci/cx88/cx88-input.c i2c_new_device(&core->i2c_adap, &info); i2c_adap 1363 drivers/media/pci/cx88/cx88-video.c sd = v4l2_i2c_new_subdev_board(&core->v4l2_dev, &core->i2c_adap, i2c_adap 1376 drivers/media/pci/cx88/cx88-video.c v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, i2c_adap 1388 drivers/media/pci/cx88/cx88-video.c core->i2c_rtc = i2c_new_device(&core->i2c_adap, &rtc_info); i2c_adap 349 drivers/media/pci/cx88/cx88.h struct i2c_adapter i2c_adap; i2c_adap 339 drivers/media/pci/dm1105/dm1105.c struct i2c_adapter i2c_adap; i2c_adap 474 drivers/media/pci/dm1105/dm1105.c static int dm1105_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 482 drivers/media/pci/dm1105/dm1105.c dev = i2c_adap->algo_data; i2c_adap 884 drivers/media/pci/dm1105/dm1105.c &dev->i2c_adap); i2c_adap 892 drivers/media/pci/dm1105/dm1105.c &dev->i2c_adap); i2c_adap 895 drivers/media/pci/dm1105/dm1105.c &dvbworld_ts2020_config, &dev->i2c_adap); i2c_adap 905 drivers/media/pci/dm1105/dm1105.c &dev->i2c_adap); i2c_adap 909 drivers/media/pci/dm1105/dm1105.c &dev->i2c_adap, DVB_PLL_OPERA1); i2c_adap 915 drivers/media/pci/dm1105/dm1105.c &dev->i2c_adap); i2c_adap 919 drivers/media/pci/dm1105/dm1105.c &dev->i2c_adap); i2c_adap 925 drivers/media/pci/dm1105/dm1105.c &dev->i2c_adap); i2c_adap 965 drivers/media/pci/dm1105/dm1105.c dm1105_i2c_xfer(&dev->i2c_adap, msg , 2); i2c_adap 1038 drivers/media/pci/dm1105/dm1105.c i2c_set_adapdata(&dev->i2c_adap, dev); i2c_adap 1039 drivers/media/pci/dm1105/dm1105.c strscpy(dev->i2c_adap.name, DRIVER_NAME, sizeof(dev->i2c_adap.name)); i2c_adap 1040 drivers/media/pci/dm1105/dm1105.c dev->i2c_adap.owner = THIS_MODULE; i2c_adap 1041 drivers/media/pci/dm1105/dm1105.c dev->i2c_adap.dev.parent = &pdev->dev; i2c_adap 1042 drivers/media/pci/dm1105/dm1105.c dev->i2c_adap.algo = &dm1105_algo; i2c_adap 1043 drivers/media/pci/dm1105/dm1105.c dev->i2c_adap.algo_data = dev; i2c_adap 1044 drivers/media/pci/dm1105/dm1105.c ret = i2c_add_adapter(&dev->i2c_adap); i2c_adap 1161 drivers/media/pci/dm1105/dm1105.c i2c_del_adapter(&dev->i2c_adap); i2c_adap 1194 drivers/media/pci/dm1105/dm1105.c i2c_del_adapter(&dev->i2c_adap); i2c_adap 711 drivers/media/pci/ivtv/ivtv-driver.h struct i2c_adapter i2c_adap; i2c_adap 166 drivers/media/pci/ivtv/ivtv-i2c.c struct i2c_adapter *adap = &itv->i2c_adap; i2c_adap 238 drivers/media/pci/ivtv/ivtv-i2c.c return i2c_new_probed_device(&itv->i2c_adap, &info, addr_list, NULL); i2c_adap 244 drivers/media/pci/ivtv/ivtv-i2c.c struct i2c_adapter *adap = &itv->i2c_adap; i2c_adap 578 drivers/media/pci/ivtv/ivtv-i2c.c static int ivtv_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num) i2c_adap 580 drivers/media/pci/ivtv/ivtv-i2c.c struct v4l2_device *v4l2_dev = i2c_get_adapdata(i2c_adap); i2c_adap 699 drivers/media/pci/ivtv/ivtv-i2c.c itv->i2c_adap = ivtv_i2c_adap_hw_template; i2c_adap 701 drivers/media/pci/ivtv/ivtv-i2c.c itv->i2c_adap = ivtv_i2c_adap_template; i2c_adap 706 drivers/media/pci/ivtv/ivtv-i2c.c itv->i2c_adap.algo_data = &itv->i2c_algo; i2c_adap 708 drivers/media/pci/ivtv/ivtv-i2c.c sprintf(itv->i2c_adap.name + strlen(itv->i2c_adap.name), " #%d", i2c_adap 710 drivers/media/pci/ivtv/ivtv-i2c.c i2c_set_adapdata(&itv->i2c_adap, &itv->v4l2_dev); i2c_adap 713 drivers/media/pci/ivtv/ivtv-i2c.c itv->i2c_client.adapter = &itv->i2c_adap; i2c_adap 714 drivers/media/pci/ivtv/ivtv-i2c.c itv->i2c_adap.dev.parent = &itv->pdev->dev; i2c_adap 721 drivers/media/pci/ivtv/ivtv-i2c.c retval = i2c_add_adapter(&itv->i2c_adap); i2c_adap 723 drivers/media/pci/ivtv/ivtv-i2c.c retval = i2c_bit_add_bus(&itv->i2c_adap); i2c_adap 732 drivers/media/pci/ivtv/ivtv-i2c.c i2c_del_adapter(&itv->i2c_adap); i2c_adap 102 drivers/media/pci/pluto2/pluto2.c struct i2c_adapter i2c_adap; i2c_adap 477 drivers/media/pci/pluto2/pluto2.c ret = i2c_transfer(&pluto->i2c_adap, &msg, 1); i2c_adap 508 drivers/media/pci/pluto2/pluto2.c pluto->fe = tda10046_attach(&pluto2_fe_config, &pluto->i2c_adap); i2c_adap 625 drivers/media/pci/pluto2/pluto2.c i2c_set_adapdata(&pluto->i2c_adap, pluto); i2c_adap 626 drivers/media/pci/pluto2/pluto2.c strscpy(pluto->i2c_adap.name, DRIVER_NAME, sizeof(pluto->i2c_adap.name)); i2c_adap 627 drivers/media/pci/pluto2/pluto2.c pluto->i2c_adap.owner = THIS_MODULE; i2c_adap 628 drivers/media/pci/pluto2/pluto2.c pluto->i2c_adap.dev.parent = &pdev->dev; i2c_adap 629 drivers/media/pci/pluto2/pluto2.c pluto->i2c_adap.algo_data = &pluto->i2c_bit; i2c_adap 642 drivers/media/pci/pluto2/pluto2.c ret = i2c_bit_add_bus(&pluto->i2c_adap); i2c_adap 713 drivers/media/pci/pluto2/pluto2.c i2c_del_adapter(&pluto->i2c_adap); i2c_adap 747 drivers/media/pci/pluto2/pluto2.c i2c_del_adapter(&pluto->i2c_adap); i2c_adap 75 drivers/media/pci/pt1/pt1.c struct i2c_adapter i2c_adap; i2c_adap 980 drivers/media/pci/pt1/pt1.c cl = dvb_module_probe("tc90522", info->type, &pt1->i2c_adap, i2c_adap 1327 drivers/media/pci/pt1/pt1.c i2c_del_adapter(&pt1->i2c_adap); i2c_adap 1339 drivers/media/pci/pt1/pt1.c struct i2c_adapter *i2c_adap; i2c_adap 1384 drivers/media/pci/pt1/pt1.c i2c_adap = &pt1->i2c_adap; i2c_adap 1385 drivers/media/pci/pt1/pt1.c i2c_adap->algo = &pt1_i2c_algo; i2c_adap 1386 drivers/media/pci/pt1/pt1.c i2c_adap->algo_data = NULL; i2c_adap 1387 drivers/media/pci/pt1/pt1.c i2c_adap->dev.parent = &pdev->dev; i2c_adap 1388 drivers/media/pci/pt1/pt1.c strscpy(i2c_adap->name, DRIVER_NAME, sizeof(i2c_adap->name)); i2c_adap 1389 drivers/media/pci/pt1/pt1.c i2c_set_adapdata(i2c_adap, pt1); i2c_adap 1390 drivers/media/pci/pt1/pt1.c ret = i2c_add_adapter(i2c_adap); i2c_adap 1447 drivers/media/pci/pt1/pt1.c i2c_del_adapter(i2c_adap); i2c_adap 381 drivers/media/pci/pt3/pt3.c cl = dvb_module_probe("tc90522", info->type, &pt3->i2c_adap, i2c_adap 687 drivers/media/pci/pt3/pt3.c i2c_del_adapter(&pt3->i2c_adap); i2c_adap 761 drivers/media/pci/pt3/pt3.c i2c = &pt3->i2c_adap; i2c_adap 154 drivers/media/pci/pt3/pt3.h struct i2c_adapter i2c_adap; i2c_adap 7747 drivers/media/pci/saa7134/saa7134-cards.c ret = i2c_transfer(&dev->i2c_adap, msg, 2); i2c_adap 7754 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, msg, 2); i2c_adap 7771 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, msg, 2); i2c_adap 7774 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, msg, 2); i2c_adap 7801 drivers/media/pci/saa7134/saa7134-cards.c if (i2c_transfer(&dev->i2c_adap, &msg1, 1) != 1) i2c_adap 7828 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7846 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7849 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7890 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7898 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7906 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7915 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7924 drivers/media/pci/saa7134/saa7134-cards.c if (1 != i2c_transfer(&dev->i2c_adap, &msg, 1)) { i2c_adap 7929 drivers/media/pci/saa7134/saa7134-cards.c rc = i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7944 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7953 drivers/media/pci/saa7134/saa7134-cards.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 7995 drivers/media/pci/saa7134/saa7134-cards.c if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) i2c_adap 8012 drivers/media/pci/saa7134/saa7134-cards.c if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) i2c_adap 8033 drivers/media/pci/saa7134/saa7134-cards.c &dev->i2c_adap, "tuner", i2c_adap 8037 drivers/media/pci/saa7134/saa7134-cards.c &dev->i2c_adap, "tuner", i2c_adap 8044 drivers/media/pci/saa7134/saa7134-cards.c &dev->i2c_adap, "tuner", i2c_adap 8048 drivers/media/pci/saa7134/saa7134-cards.c &dev->i2c_adap, "tuner", i2c_adap 1169 drivers/media/pci/saa7134/saa7134-core.c v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, i2c_adap 1181 drivers/media/pci/saa7134/saa7134-core.c &dev->i2c_adap, "saa6588", i2c_adap 179 drivers/media/pci/saa7134/saa7134-dvb.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 184 drivers/media/pci/saa7134/saa7134-dvb.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 236 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) { i2c_adap 244 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) { i2c_adap 347 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, &tuner_msg, 1) != 1) { i2c_adap 367 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, &tuner_msg, 1) != 1) i2c_adap 412 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, &init_msg, 1) != 1) i2c_adap 433 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, &analog_msg, 1) != 1) i2c_adap 450 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, &init_msg, 1) != 1) i2c_adap 469 drivers/media/pci/saa7134/saa7134-dvb.c i2c_transfer(&dev->i2c_adap, &analog_msg, 1); i2c_adap 594 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, &dev->i2c_adap); i2c_adap 600 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, tuner_conf)) i2c_adap 1013 drivers/media/pci/saa7134/saa7134-dvb.c if (i2c_transfer(&dev->i2c_adap, msg, 2) != 2) i2c_adap 1021 drivers/media/pci/saa7134/saa7134-dvb.c i2c_transfer(&dev->i2c_adap, msg, 1); i2c_adap 1239 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1248 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1251 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x61, i2c_adap 1259 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1265 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1282 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, medion_cardbus.tuner_address, i2c_adap 1289 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1306 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1318 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1330 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1344 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1347 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x4b, i2c_adap 1350 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, i2c_adap 1372 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1375 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x4b, i2c_adap 1378 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, i2c_adap 1398 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, &dev->i2c_adap); i2c_adap 1401 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0) == NULL) { i2c_adap 1407 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, i2c_adap 1420 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1423 drivers/media/pci/saa7134/saa7134-dvb.c ads_tech_duo_config.tuner_address, &dev->i2c_adap, i2c_adap 1444 drivers/media/pci/saa7134/saa7134-dvb.c &flydvbs, &dev->i2c_adap); i2c_adap 1452 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, 0) == NULL) { i2c_adap 1461 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x08, 0, 0) == NULL) { i2c_adap 1470 drivers/media/pci/saa7134/saa7134-dvb.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 1486 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1494 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1497 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x61, i2c_adap 1506 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1509 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x4b, i2c_adap 1512 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, i2c_adap 1518 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1521 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0) == NULL) { i2c_adap 1526 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, i2c_adap 1536 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1542 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, medion_cardbus.tuner_address, i2c_adap 1549 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1592 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1595 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0) == NULL) { i2c_adap 1600 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0, 0) == NULL) { i2c_adap 1623 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1628 drivers/media/pci/saa7134/saa7134-dvb.c &sd1878_4m, &dev->i2c_adap); i2c_adap 1632 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, DVB_PLL_PHILIPS_SD1878_TDA8261) == NULL) { i2c_adap 1641 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x08, 0, 0) == NULL) { i2c_adap 1659 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1669 drivers/media/pci/saa7134/saa7134-dvb.c &flydvbs, &dev->i2c_adap); i2c_adap 1673 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0) == NULL) { i2c_adap 1679 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0, 0) == NULL) { i2c_adap 1694 drivers/media/pci/saa7134/saa7134-dvb.c &flydvbs, &dev->i2c_adap); i2c_adap 1698 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0) == NULL) { i2c_adap 1704 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0, 0) == NULL) { i2c_adap 1720 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1723 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x61, i2c_adap 1730 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1733 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, &behold_x7_tunerconfig); i2c_adap 1739 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1742 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, &behold_x7_tunerconfig); i2c_adap 1749 drivers/media/pci/saa7134/saa7134-dvb.c &avertv_a700_mt312, &dev->i2c_adap); i2c_adap 1752 drivers/media/pci/saa7134/saa7134-dvb.c &avertv_a700_tuner, &dev->i2c_adap) == NULL) { i2c_adap 1760 drivers/media/pci/saa7134/saa7134-dvb.c &zl10313_compro_s350_config, &dev->i2c_adap); i2c_adap 1763 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap) == NULL) i2c_adap 1771 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1775 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, i2c_adap 1783 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1786 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x4b, i2c_adap 1789 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, i2c_adap 1796 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1799 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x4b, i2c_adap 1802 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, i2c_adap 1812 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1815 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x4b, i2c_adap 1819 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, i2c_adap 1828 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap); i2c_adap 1831 drivers/media/pci/saa7134/saa7134-dvb.c &dev->i2c_adap, 0x4b, i2c_adap 1834 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap, i2c_adap 1848 drivers/media/pci/saa7134/saa7134-dvb.c &zl10313_avermedia_a706_config, &dev->i2c_adap); i2c_adap 1852 drivers/media/pci/saa7134/saa7134-dvb.c 0x60, &dev->i2c_adap) == NULL) i2c_adap 1865 drivers/media/pci/saa7134/saa7134-dvb.c .i2c_adap = &dev->i2c_adap, i2c_adap 1948 drivers/media/pci/saa7134/saa7134-dvb.c i2c_transfer(&dev->i2c_adap, &msg, 1); i2c_adap 227 drivers/media/pci/saa7134/saa7134-i2c.c static int saa7134_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 230 drivers/media/pci/saa7134/saa7134-i2c.c struct saa7134_dev *dev = i2c_adap->algo_data; i2c_adap 364 drivers/media/pci/saa7134/saa7134-i2c.c ret = i2c_transfer(&dev->i2c_adap, i2cgatemsg_r, 2); i2c_adap 371 drivers/media/pci/saa7134/saa7134-i2c.c if (i2c_transfer(&dev->i2c_adap, i2cgatemsg_w, 1) != 1) i2c_adap 433 drivers/media/pci/saa7134/saa7134-i2c.c dev->i2c_adap = saa7134_adap_template; i2c_adap 434 drivers/media/pci/saa7134/saa7134-i2c.c dev->i2c_adap.dev.parent = &dev->pci->dev; i2c_adap 435 drivers/media/pci/saa7134/saa7134-i2c.c strscpy(dev->i2c_adap.name, dev->name, sizeof(dev->i2c_adap.name)); i2c_adap 436 drivers/media/pci/saa7134/saa7134-i2c.c dev->i2c_adap.algo_data = dev; i2c_adap 437 drivers/media/pci/saa7134/saa7134-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); i2c_adap 438 drivers/media/pci/saa7134/saa7134-i2c.c i2c_add_adapter(&dev->i2c_adap); i2c_adap 441 drivers/media/pci/saa7134/saa7134-i2c.c dev->i2c_client.adapter = &dev->i2c_adap; i2c_adap 454 drivers/media/pci/saa7134/saa7134-i2c.c i2c_del_adapter(&dev->i2c_adap); i2c_adap 895 drivers/media/pci/saa7134/saa7134-input.c rc = i2c_transfer(&dev->i2c_adap, &msg_msi, 1); i2c_adap 897 drivers/media/pci/saa7134/saa7134-input.c msg_msi.addr, dev->i2c_adap.name, i2c_adap 916 drivers/media/pci/saa7134/saa7134-input.c rc = i2c_transfer(&dev->i2c_adap, &msg_msi, 1); i2c_adap 918 drivers/media/pci/saa7134/saa7134-input.c msg_msi.addr, dev->i2c_adap.name, i2c_adap 931 drivers/media/pci/saa7134/saa7134-input.c rc = i2c_transfer(&dev->i2c_adap, &msg_msi, 1); i2c_adap 933 drivers/media/pci/saa7134/saa7134-input.c msg_msi.addr, dev->i2c_adap.name, i2c_adap 985 drivers/media/pci/saa7134/saa7134-input.c i2c_new_device(&dev->i2c_adap, &info); i2c_adap 586 drivers/media/pci/saa7134/saa7134.h struct i2c_adapter i2c_adap; i2c_adap 552 drivers/media/pci/saa7164/saa7164-dvb.c &i2c_bus->i2c_adap); i2c_adap 557 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_adap 565 drivers/media/pci/saa7164/saa7164-dvb.c &i2c_bus->i2c_adap); i2c_adap 570 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_adap 584 drivers/media/pci/saa7164/saa7164-dvb.c &i2c_bus->i2c_adap); i2c_adap 591 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_adap 596 drivers/media/pci/saa7164/saa7164-dvb.c 0xc0 >> 1, &i2c_bus->i2c_adap, i2c_adap 608 drivers/media/pci/saa7164/saa7164-dvb.c &hauppauge_hvr2255a_config, &i2c_bus->i2c_adap); i2c_adap 611 drivers/media/pci/saa7164/saa7164-dvb.c &hauppauge_hvr2255b_config, &i2c_bus->i2c_adap); i2c_adap 617 drivers/media/pci/saa7164/saa7164-dvb.c si2157_attach(port, &dev->i2c_bus[0].i2c_adap, i2c_adap 621 drivers/media/pci/saa7164/saa7164-dvb.c si2157_attach(port, &dev->i2c_bus[1].i2c_adap, i2c_adap 640 drivers/media/pci/saa7164/saa7164-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[2].i2c_adap, i2c_adap 660 drivers/media/pci/saa7164/saa7164-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[0].i2c_adap, i2c_adap 685 drivers/media/pci/saa7164/saa7164-dvb.c client_demod = i2c_new_device(&dev->i2c_bus[2].i2c_adap, i2c_adap 705 drivers/media/pci/saa7164/saa7164-dvb.c client_tuner = i2c_new_device(&dev->i2c_bus[1].i2c_adap, i2c_adap 16 drivers/media/pci/saa7164/saa7164-i2c.c static int i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num) i2c_adap 18 drivers/media/pci/saa7164/saa7164-i2c.c struct saa7164_i2c *bus = i2c_adap->algo_data; i2c_adap 87 drivers/media/pci/saa7164/saa7164-i2c.c bus->i2c_adap = saa7164_i2c_adap_template; i2c_adap 90 drivers/media/pci/saa7164/saa7164-i2c.c bus->i2c_adap.dev.parent = &dev->pci->dev; i2c_adap 92 drivers/media/pci/saa7164/saa7164-i2c.c strscpy(bus->i2c_adap.name, bus->dev->name, i2c_adap 93 drivers/media/pci/saa7164/saa7164-i2c.c sizeof(bus->i2c_adap.name)); i2c_adap 95 drivers/media/pci/saa7164/saa7164-i2c.c bus->i2c_adap.algo_data = bus; i2c_adap 96 drivers/media/pci/saa7164/saa7164-i2c.c i2c_set_adapdata(&bus->i2c_adap, bus); i2c_adap 97 drivers/media/pci/saa7164/saa7164-i2c.c i2c_add_adapter(&bus->i2c_adap); i2c_adap 99 drivers/media/pci/saa7164/saa7164-i2c.c bus->i2c_client.adapter = &bus->i2c_adap; i2c_adap 110 drivers/media/pci/saa7164/saa7164-i2c.c i2c_del_adapter(&bus->i2c_adap); i2c_adap 247 drivers/media/pci/saa7164/saa7164.h struct i2c_adapter i2c_adap; i2c_adap 40 drivers/media/pci/solo6x10/solo6x10-i2c.c i2c_transfer(&solo_dev->i2c_adap[id], msgs, 2); i2c_adap 58 drivers/media/pci/solo6x10/solo6x10-i2c.c i2c_transfer(&solo_dev->i2c_adap[id], &msgs, 1); i2c_adap 216 drivers/media/pci/solo6x10/solo6x10-i2c.c if (&solo_dev->i2c_adap[i] == adap) i2c_adap 284 drivers/media/pci/solo6x10/solo6x10-i2c.c struct i2c_adapter *adap = &solo_dev->i2c_adap[i]; i2c_adap 302 drivers/media/pci/solo6x10/solo6x10-i2c.c if (!solo_dev->i2c_adap[i].algo_data) i2c_adap 304 drivers/media/pci/solo6x10/solo6x10-i2c.c i2c_del_adapter(&solo_dev->i2c_adap[i]); i2c_adap 305 drivers/media/pci/solo6x10/solo6x10-i2c.c solo_dev->i2c_adap[i].algo_data = NULL; i2c_adap 318 drivers/media/pci/solo6x10/solo6x10-i2c.c if (!solo_dev->i2c_adap[i].algo_data) i2c_adap 320 drivers/media/pci/solo6x10/solo6x10-i2c.c i2c_del_adapter(&solo_dev->i2c_adap[i]); i2c_adap 321 drivers/media/pci/solo6x10/solo6x10-i2c.c solo_dev->i2c_adap[i].algo_data = NULL; i2c_adap 204 drivers/media/pci/solo6x10/solo6x10.h struct i2c_adapter i2c_adap[SOLO_I2C_ADAPTERS]; i2c_adap 1414 drivers/media/pci/ttpci/av7110.c return i2c_transfer(&av7110->i2c_adap, &msgs, 1); i2c_adap 1429 drivers/media/pci/ttpci/av7110.c i2c_transfer(&av7110->i2c_adap, msgs, 2); i2c_adap 1568 drivers/media/pci/ttpci/av7110.c if (i2c_transfer (&av7110->i2c_adap, &msg, 1) != 1) i2c_adap 1596 drivers/media/pci/ttpci/av7110.c if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) i2c_adap 1627 drivers/media/pci/ttpci/av7110.c if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) i2c_adap 1656 drivers/media/pci/ttpci/av7110.c if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) i2c_adap 1692 drivers/media/pci/ttpci/av7110.c if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) i2c_adap 1837 drivers/media/pci/ttpci/av7110.c if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) { i2c_adap 1846 drivers/media/pci/ttpci/av7110.c if (i2c_transfer(&av7110->i2c_adap, &readmsg, 1) == 1) i2c_adap 1902 drivers/media/pci/ttpci/av7110.c if (i2c_transfer (&av7110->i2c_adap, &msg, 1) != 1) return -EIO; i2c_adap 2083 drivers/media/pci/ttpci/av7110.c if ((i2c_transfer(&av7110->i2c_adap, msg, 2) != 2) || (pwm == 0xff)) i2c_adap 2097 drivers/media/pci/ttpci/av7110.c &av7110->i2c_adap, read_pwm(av7110)); i2c_adap 2111 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1x93_attach, &alps_bsrv2_config, &av7110->i2c_adap); i2c_adap 2122 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(stv0299_attach, &alps_bsru6_config, &av7110->i2c_adap); i2c_adap 2125 drivers/media/pci/ttpci/av7110.c av7110->fe->tuner_priv = &av7110->i2c_adap; i2c_adap 2135 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(tda8083_attach, &grundig_29504_451_config, &av7110->i2c_adap); i2c_adap 2149 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1820_attach, &philips_cd1516_config, &av7110->i2c_adap, i2c_adap 2157 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1820_attach, &alps_tdbe2_config, &av7110->i2c_adap, i2c_adap 2171 drivers/media/pci/ttpci/av7110.c fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap); i2c_adap 2182 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(l64781_attach, &grundig_29504_401_config, &av7110->i2c_adap); i2c_adap 2189 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1820_attach, &alps_tdbe2_config, &av7110->i2c_adap, read_pwm(av7110)); i2c_adap 2197 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1x93_attach, &alps_bsrv2_config, &av7110->i2c_adap); i2c_adap 2209 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(tda8083_attach, &grundig_29504_451_config, &av7110->i2c_adap); i2c_adap 2221 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(stv0297_attach, &nexusca_stv0297_config, &av7110->i2c_adap); i2c_adap 2237 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(stv0299_attach, &alps_bsbe1_config, &av7110->i2c_adap); i2c_adap 2240 drivers/media/pci/ttpci/av7110.c av7110->fe->tuner_priv = &av7110->i2c_adap; i2c_adap 2242 drivers/media/pci/ttpci/av7110.c if (dvb_attach(lnbp21_attach, av7110->fe, &av7110->i2c_adap, 0, 0) == NULL) { i2c_adap 2469 drivers/media/pci/ttpci/av7110.c strscpy(av7110->i2c_adap.name, pci_ext->ext_priv, i2c_adap 2470 drivers/media/pci/ttpci/av7110.c sizeof(av7110->i2c_adap.name)); i2c_adap 2472 drivers/media/pci/ttpci/av7110.c saa7146_i2c_adapter_prepare(dev, &av7110->i2c_adap, SAA7146_I2C_BUS_BIT_RATE_120); /* 275 kHz */ i2c_adap 2474 drivers/media/pci/ttpci/av7110.c ret = i2c_add_adapter(&av7110->i2c_adap); i2c_adap 2478 drivers/media/pci/ttpci/av7110.c ttpci_eeprom_parse_mac(&av7110->i2c_adap, i2c_adap 2733 drivers/media/pci/ttpci/av7110.c i2c_del_adapter(&av7110->i2c_adap); i2c_adap 2784 drivers/media/pci/ttpci/av7110.c i2c_del_adapter(&av7110->i2c_adap); i2c_adap 102 drivers/media/pci/ttpci/av7110.h struct i2c_adapter i2c_adap; i2c_adap 43 drivers/media/pci/ttpci/av7110_v4l.c if (i2c_transfer(&av7110->i2c_adap, &msgs, 1) != 1) { i2c_adap 73 drivers/media/pci/ttpci/av7110_v4l.c if (i2c_transfer(&av7110->i2c_adap, &msgs[0], 2) != 2) { i2c_adap 130 drivers/media/pci/ttpci/av7110_v4l.c if (1 != i2c_transfer(&av7110->i2c_adap, &msg, 1)) i2c_adap 142 drivers/media/pci/ttpci/av7110_v4l.c if (1 != i2c_transfer(&av7110->i2c_adap, &msg, 1)) i2c_adap 420 drivers/media/pci/ttpci/budget-av.c if (i2c_writereg(&budget->i2c_adap, 0x4a, 0x01, 0x08) != 1) { i2c_adap 428 drivers/media/pci/ttpci/budget-av.c i2c_writereg(&budget->i2c_adap, 0x4a, *data, *(data + 1)); i2c_adap 432 drivers/media/pci/ttpci/budget-av.c dprintk(1, "saa7113 status=%02x\n", i2c_readreg(&budget->i2c_adap, 0x4a, 0x1f)); i2c_adap 445 drivers/media/pci/ttpci/budget-av.c i2c_writereg(&budget->i2c_adap, 0x4a, 0x02, 0xc7); i2c_adap 446 drivers/media/pci/ttpci/budget-av.c i2c_writereg(&budget->i2c_adap, 0x4a, 0x09, 0x80); i2c_adap 448 drivers/media/pci/ttpci/budget-av.c i2c_writereg(&budget->i2c_adap, 0x4a, 0x02, 0xc0); i2c_adap 449 drivers/media/pci/ttpci/budget-av.c i2c_writereg(&budget->i2c_adap, 0x4a, 0x09, 0x00); i2c_adap 519 drivers/media/pci/ttpci/budget-av.c if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1) i2c_adap 626 drivers/media/pci/ttpci/budget-av.c if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1) i2c_adap 635 drivers/media/pci/ttpci/budget-av.c if (i2c_transfer(&budget->i2c_adap, &msg, 1) == 1 && (buf[0] & 0x40)) i2c_adap 647 drivers/media/pci/ttpci/budget-av.c if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1) i2c_adap 677 drivers/media/pci/ttpci/budget-av.c if (i2c_transfer(&budget->i2c_adap, &tuner_msg, 1) != 1) i2c_adap 761 drivers/media/pci/ttpci/budget-av.c if (i2c_transfer(&budget->i2c_adap, &tuner_msg, 1) != 1) i2c_adap 1159 drivers/media/pci/ttpci/budget-av.c if ((i2c_transfer(&budget_av->budget.i2c_adap, msg, 2) != 2) i2c_adap 1234 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap); i2c_adap 1236 drivers/media/pci/ttpci/budget-av.c dvb_attach(tua6100_attach, fe, 0x60, &budget_av->budget.i2c_adap); i2c_adap 1240 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap); i2c_adap 1254 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap); i2c_adap 1257 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap, i2c_adap 1264 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap); i2c_adap 1273 drivers/media/pci/ttpci/budget-av.c if ((fe = dvb_attach(stb0899_attach, &knc1_dvbs2_config, &budget_av->budget.i2c_adap))) i2c_adap 1274 drivers/media/pci/ttpci/budget-av.c dvb_attach(tda8261_attach, fe, &sd1878c_config, &budget_av->budget.i2c_adap); i2c_adap 1279 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap); i2c_adap 1292 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap, i2c_adap 1296 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap, i2c_adap 1312 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap, i2c_adap 1325 drivers/media/pci/ttpci/budget-av.c &budget_av->budget.i2c_adap); i2c_adap 1491 drivers/media/pci/ttpci/budget-av.c if (i2c_readregs(&budget_av->budget.i2c_adap, 0xa0, 0x30, mac, 6)) { i2c_adap 678 drivers/media/pci/ttpci/budget-ci.c if (i2c_transfer(&budget_ci->budget.i2c_adap, &msg, 1) != 1) i2c_adap 709 drivers/media/pci/ttpci/budget-ci.c if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) i2c_adap 719 drivers/media/pci/ttpci/budget-ci.c if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) { i2c_adap 722 drivers/media/pci/ttpci/budget-ci.c i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1); i2c_adap 807 drivers/media/pci/ttpci/budget-ci.c if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) i2c_adap 905 drivers/media/pci/ttpci/budget-ci.c if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) i2c_adap 912 drivers/media/pci/ttpci/budget-ci.c if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) i2c_adap 1304 drivers/media/pci/ttpci/budget-ci.c dvb_attach(stv0299_attach, &alps_bsru6_config, &budget_ci->budget.i2c_adap); i2c_adap 1307 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dvb_frontend->tuner_priv = &budget_ci->budget.i2c_adap; i2c_adap 1314 drivers/media/pci/ttpci/budget-ci.c dvb_attach(stv0299_attach, &philips_su1278_tt_config, &budget_ci->budget.i2c_adap); i2c_adap 1324 drivers/media/pci/ttpci/budget-ci.c dvb_attach(stv0297_attach, &dvbc_philips_tdm1316l_config, &budget_ci->budget.i2c_adap); i2c_adap 1334 drivers/media/pci/ttpci/budget-ci.c dvb_attach(tda10045_attach, &philips_tdm1316l_config, &budget_ci->budget.i2c_adap); i2c_adap 1345 drivers/media/pci/ttpci/budget-ci.c dvb_attach(tda10046_attach, &philips_tdm1316l_config_invert, &budget_ci->budget.i2c_adap); i2c_adap 1354 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dvb_frontend = dvb_attach(stv0299_attach, &alps_bsbe1_config, &budget_ci->budget.i2c_adap); i2c_adap 1357 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dvb_frontend->tuner_priv = &budget_ci->budget.i2c_adap; i2c_adap 1360 drivers/media/pci/ttpci/budget-ci.c if (dvb_attach(lnbp21_attach, budget_ci->budget.dvb_frontend, &budget_ci->budget.i2c_adap, LNBP21_LLC, 0) == NULL) { i2c_adap 1369 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dvb_frontend = dvb_attach(tda10023_attach, &tda10023_config, &budget_ci->budget.i2c_adap, 0x48); i2c_adap 1371 drivers/media/pci/ttpci/budget-ci.c if (dvb_attach(tda827x_attach, budget_ci->budget.dvb_frontend, 0x61, &budget_ci->budget.i2c_adap, &tda827x_config) == NULL) { i2c_adap 1380 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dvb_frontend = dvb_attach(stv0288_attach, &stv0288_bsbe1_d01a_config, &budget_ci->budget.i2c_adap); i2c_adap 1382 drivers/media/pci/ttpci/budget-ci.c if (dvb_attach(stb6000_attach, budget_ci->budget.dvb_frontend, 0x63, &budget_ci->budget.i2c_adap)) { i2c_adap 1383 drivers/media/pci/ttpci/budget-ci.c if (!dvb_attach(lnbp21_attach, budget_ci->budget.dvb_frontend, &budget_ci->budget.i2c_adap, 0, 0)) { i2c_adap 1420 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dvb_frontend = dvb_attach(stb0899_attach, &tt3200_config, &budget_ci->budget.i2c_adap); i2c_adap 1422 drivers/media/pci/ttpci/budget-ci.c if (dvb_attach(stb6100_attach, budget_ci->budget.dvb_frontend, &tt3200_stb6100_config, &budget_ci->budget.i2c_adap)) { i2c_adap 1423 drivers/media/pci/ttpci/budget-ci.c if (!dvb_attach(lnbp21_attach, budget_ci->budget.dvb_frontend, &budget_ci->budget.i2c_adap, 0, 0)) { i2c_adap 493 drivers/media/pci/ttpci/budget-core.c strscpy(budget->i2c_adap.name, budget->card->name, i2c_adap 494 drivers/media/pci/ttpci/budget-core.c sizeof(budget->i2c_adap.name)); i2c_adap 496 drivers/media/pci/ttpci/budget-core.c saa7146_i2c_adapter_prepare(dev, &budget->i2c_adap, SAA7146_I2C_BUS_BIT_RATE_120); i2c_adap 497 drivers/media/pci/ttpci/budget-core.c strscpy(budget->i2c_adap.name, budget->card->name, i2c_adap 498 drivers/media/pci/ttpci/budget-core.c sizeof(budget->i2c_adap.name)); i2c_adap 500 drivers/media/pci/ttpci/budget-core.c if (i2c_add_adapter(&budget->i2c_adap) < 0) { i2c_adap 505 drivers/media/pci/ttpci/budget-core.c ttpci_eeprom_parse_mac(&budget->i2c_adap, budget->dvb_adapter.proposed_mac); i2c_adap 530 drivers/media/pci/ttpci/budget-core.c i2c_del_adapter(&budget->i2c_adap); i2c_adap 558 drivers/media/pci/ttpci/budget-core.c i2c_del_adapter(&budget->i2c_adap); i2c_adap 281 drivers/media/pci/ttpci/budget-patch.c if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) i2c_adap 308 drivers/media/pci/ttpci/budget-patch.c if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) i2c_adap 324 drivers/media/pci/ttpci/budget-patch.c budget->dvb_frontend = dvb_attach(ves1x93_attach, &alps_bsrv2_config, &budget->i2c_adap); i2c_adap 334 drivers/media/pci/ttpci/budget-patch.c budget->dvb_frontend = dvb_attach(stv0299_attach, &alps_bsru6_config, &budget->i2c_adap); i2c_adap 337 drivers/media/pci/ttpci/budget-patch.c budget->dvb_frontend->tuner_priv = &budget->i2c_adap; i2c_adap 346 drivers/media/pci/ttpci/budget-patch.c budget->dvb_frontend = dvb_attach(tda8083_attach, &grundig_29504_451_config, &budget->i2c_adap); i2c_adap 223 drivers/media/pci/ttpci/budget.c if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; i2c_adap 251 drivers/media/pci/ttpci/budget.c if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; i2c_adap 306 drivers/media/pci/ttpci/budget.c if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; i2c_adap 336 drivers/media/pci/ttpci/budget.c if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; i2c_adap 368 drivers/media/pci/ttpci/budget.c if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; i2c_adap 432 drivers/media/pci/ttpci/budget.c if ((i2c_transfer(&budget->i2c_adap, msg, 2) != 2) || (pwm == 0xff)) i2c_adap 485 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(ves1x93_attach, &alps_bsrv2_config, &budget->i2c_adap); i2c_adap 495 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(stv0299_attach, &alps_bsru6_config, &budget->i2c_adap); i2c_adap 498 drivers/media/pci/ttpci/budget.c budget->dvb_frontend->tuner_priv = &budget->i2c_adap; i2c_adap 510 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(ves1820_attach, &alps_tdbe2_config, &budget->i2c_adap, read_pwm(budget)); i2c_adap 519 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(l64781_attach, &grundig_29504_401_config, &budget->i2c_adap); i2c_adap 528 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(stv0299_attach, &alps_bsru6_config, &budget->i2c_adap); i2c_adap 532 drivers/media/pci/ttpci/budget.c budget->dvb_frontend->tuner_priv = &budget->i2c_adap; i2c_adap 539 drivers/media/pci/ttpci/budget.c int subtype = i2c_readreg(&budget->i2c_adap, 0x50, 0x67); i2c_adap 546 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(stv0299_attach, &alps_bsru6_config_activy, &budget->i2c_adap); i2c_adap 550 drivers/media/pci/ttpci/budget.c budget->dvb_frontend->tuner_priv = &budget->i2c_adap; i2c_adap 562 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(stv0299_attach, &alps_bsbe1_config_activy, &budget->i2c_adap); i2c_adap 566 drivers/media/pci/ttpci/budget.c budget->dvb_frontend->tuner_priv = &budget->i2c_adap; i2c_adap 576 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(tda8083_attach, &grundig_29504_451_config, &budget->i2c_adap); i2c_adap 585 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(tda10046_attach, &alps_tdhd1_204a_config, &budget->i2c_adap); i2c_adap 588 drivers/media/pci/ttpci/budget.c budget->dvb_frontend->tuner_priv = &budget->i2c_adap; i2c_adap 593 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = dvb_attach(l64781_attach, &grundig_29504_401_config_activy, &budget->i2c_adap); i2c_adap 604 drivers/media/pci/ttpci/budget.c fe = dvb_attach(s5h1420_attach, &s5h1420_config, &budget->i2c_adap); i2c_adap 608 drivers/media/pci/ttpci/budget.c if (dvb_attach(lnbp21_attach, fe, &budget->i2c_adap, i2c_adap 627 drivers/media/pci/ttpci/budget.c fe = dvb_attach(tda10086_attach, &tda10086_config, &budget->i2c_adap); i2c_adap 631 drivers/media/pci/ttpci/budget.c &budget->i2c_adap, 0) == NULL) i2c_adap 634 drivers/media/pci/ttpci/budget.c &budget->i2c_adap, 0, 0) == NULL) { i2c_adap 652 drivers/media/pci/ttpci/budget.c &budget->i2c_adap, i2c_adap 660 drivers/media/pci/ttpci/budget.c &budget->i2c_adap); i2c_adap 683 drivers/media/pci/ttpci/budget.c &budget->i2c_adap, i2c_adap 705 drivers/media/pci/ttpci/budget.c &budget->i2c_adap, i2c_adap 714 drivers/media/pci/ttpci/budget.c &budget->i2c_adap); i2c_adap 737 drivers/media/pci/ttpci/budget.c &budget->i2c_adap, i2c_adap 46 drivers/media/pci/ttpci/budget.h struct i2c_adapter i2c_adap; i2c_adap 561 drivers/media/platform/davinci/vpbe.c struct i2c_adapter *i2c_adap; i2c_adap 649 drivers/media/platform/davinci/vpbe.c i2c_adap = i2c_get_adapter(vpbe_dev->cfg->i2c_adapter_id); i2c_adap 661 drivers/media/platform/davinci/vpbe.c &vpbe_dev->v4l2_dev, i2c_adap, i2c_adap 682 drivers/media/platform/davinci/vpbe.c &vpbe_dev->v4l2_dev, i2c_adap, i2c_adap 1678 drivers/media/platform/davinci/vpfe_capture.c struct i2c_adapter *i2c_adap; i2c_adap 1795 drivers/media/platform/davinci/vpfe_capture.c i2c_adap = i2c_get_adapter(vpfe_cfg->i2c_adapter_id); i2c_adap 1813 drivers/media/platform/davinci/vpfe_capture.c i2c_adap, i2c_adap 1622 drivers/media/platform/davinci/vpif_capture.c struct i2c_adapter *i2c_adap; i2c_adap 1672 drivers/media/platform/davinci/vpif_capture.c i2c_adap = i2c_get_adapter(i2c_id); i2c_adap 1673 drivers/media/platform/davinci/vpif_capture.c WARN_ON(!i2c_adap); i2c_adap 1678 drivers/media/platform/davinci/vpif_capture.c i2c_adap, i2c_adap 1251 drivers/media/platform/davinci/vpif_display.c struct i2c_adapter *i2c_adap; i2c_adap 1301 drivers/media/platform/davinci/vpif_display.c i2c_adap = i2c_get_adapter(vpif_obj.config->i2c_adapter_id); i2c_adap 1305 drivers/media/platform/davinci/vpif_display.c i2c_adap, i2c_adap 41 drivers/media/platform/exynos4-is/fimc-is-i2c.c struct i2c_adapter *i2c_adap; i2c_adap 54 drivers/media/platform/exynos4-is/fimc-is-i2c.c i2c_adap = &isp_i2c->adapter; i2c_adap 55 drivers/media/platform/exynos4-is/fimc-is-i2c.c i2c_adap->dev.of_node = node; i2c_adap 56 drivers/media/platform/exynos4-is/fimc-is-i2c.c i2c_adap->dev.parent = &pdev->dev; i2c_adap 57 drivers/media/platform/exynos4-is/fimc-is-i2c.c strscpy(i2c_adap->name, "exynos4x12-isp-i2c", sizeof(i2c_adap->name)); i2c_adap 58 drivers/media/platform/exynos4-is/fimc-is-i2c.c i2c_adap->owner = THIS_MODULE; i2c_adap 59 drivers/media/platform/exynos4-is/fimc-is-i2c.c i2c_adap->algo = &fimc_is_i2c_algorithm; i2c_adap 60 drivers/media/platform/exynos4-is/fimc-is-i2c.c i2c_adap->class = I2C_CLASS_SPD; i2c_adap 65 drivers/media/platform/exynos4-is/fimc-is-i2c.c ret = i2c_add_adapter(i2c_adap); i2c_adap 77 drivers/media/platform/exynos4-is/fimc-is-i2c.c pm_suspend_ignore_children(&i2c_adap->dev, false); i2c_adap 1219 drivers/media/platform/sh_vou.c struct i2c_adapter *i2c_adap; i2c_adap 1309 drivers/media/platform/sh_vou.c i2c_adap = i2c_get_adapter(vou_pdata->i2c_adap); i2c_adap 1310 drivers/media/platform/sh_vou.c if (!i2c_adap) { i2c_adap 1319 drivers/media/platform/sh_vou.c subdev = v4l2_i2c_new_subdev_board(&vou_dev->v4l2_dev, i2c_adap, i2c_adap 1335 drivers/media/platform/sh_vou.c i2c_put_adapter(i2c_adap); i2c_adap 591 drivers/media/tuners/mt20xx.c struct i2c_adapter* i2c_adap, i2c_adap 605 drivers/media/tuners/mt20xx.c priv->i2c_props.adap = i2c_adap; i2c_adap 13 drivers/media/tuners/mt20xx.h struct i2c_adapter* i2c_adap, i2c_adap 17 drivers/media/tuners/mt20xx.h struct i2c_adapter* i2c_adap, i2c_adap 27 drivers/media/tuners/tda827x.c struct i2c_adapter *i2c_adap; i2c_adap 132 drivers/media/tuners/tda827x.c rc = i2c_transfer(priv->i2c_adap, msg, size); i2c_adap 485 drivers/media/tuners/tda827x.c fe->callback(priv->i2c_adap->algo_data, i2c_adap 495 drivers/media/tuners/tda827x.c fe->callback(priv->i2c_adap->algo_data, i2c_adap 881 drivers/media/tuners/tda827x.c priv->i2c_adap = i2c; i2c_adap 731 drivers/media/tuners/tda8290.c struct i2c_adapter *i2c_adap, u8 i2c_addr, i2c_adap 743 drivers/media/tuners/tda8290.c priv->i2c_props.adap = i2c_adap; i2c_adap 820 drivers/media/tuners/tda8290.c int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr) i2c_adap 823 drivers/media/tuners/tda8290.c .adap = i2c_adap, i2c_adap 30 drivers/media/tuners/tda8290.h extern int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr); i2c_adap 33 drivers/media/tuners/tda8290.h struct i2c_adapter *i2c_adap, i2c_adap 37 drivers/media/tuners/tda8290.h static inline int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr) i2c_adap 44 drivers/media/tuners/tda8290.h struct i2c_adapter *i2c_adap, i2c_adap 676 drivers/media/tuners/tda9887.c struct i2c_adapter *i2c_adap, i2c_adap 686 drivers/media/tuners/tda9887.c i2c_adap, i2c_addr, "tda9887"); i2c_adap 14 drivers/media/tuners/tda9887.h struct i2c_adapter *i2c_adap, i2c_adap 18 drivers/media/tuners/tda9887.h struct i2c_adapter *i2c_adap, i2c_adap 262 drivers/media/tuners/tea5761.c int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr) i2c_adap 266 drivers/media/tuners/tea5761.c struct tuner_i2c_props i2c = { .adap = i2c_adap, .addr = i2c_addr }; i2c_adap 310 drivers/media/tuners/tea5761.c struct i2c_adapter* i2c_adap, i2c_adap 315 drivers/media/tuners/tea5761.c if (tea5761_autodetection(i2c_adap, i2c_addr) != 0) i2c_adap 324 drivers/media/tuners/tea5761.c priv->i2c_props.adap = i2c_adap; i2c_adap 12 drivers/media/tuners/tea5761.h extern int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr); i2c_adap 15 drivers/media/tuners/tea5761.h struct i2c_adapter* i2c_adap, i2c_adap 18 drivers/media/tuners/tea5761.h static inline int tea5761_autodetection(struct i2c_adapter* i2c_adap, i2c_adap 27 drivers/media/tuners/tea5761.h struct i2c_adapter* i2c_adap, i2c_adap 368 drivers/media/tuners/tea5767.c int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr) i2c_adap 370 drivers/media/tuners/tea5767.c struct tuner_i2c_props i2c = { .adap = i2c_adap, .addr = i2c_addr }; i2c_adap 439 drivers/media/tuners/tea5767.c struct i2c_adapter* i2c_adap, i2c_adap 450 drivers/media/tuners/tea5767.c priv->i2c_props.adap = i2c_adap; i2c_adap 31 drivers/media/tuners/tea5767.h extern int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr); i2c_adap 34 drivers/media/tuners/tea5767.h struct i2c_adapter* i2c_adap, i2c_adap 37 drivers/media/tuners/tea5767.h static inline int tea5767_autodetection(struct i2c_adapter* i2c_adap, i2c_adap 46 drivers/media/tuners/tea5767.h struct i2c_adapter* i2c_adap, i2c_adap 1048 drivers/media/tuners/tuner-simple.c struct i2c_adapter *i2c_adap, i2c_adap 1065 drivers/media/tuners/tuner-simple.c if (i2c_adap != NULL) { i2c_adap 1075 drivers/media/tuners/tuner-simple.c if (1 != i2c_transfer(i2c_adap, &msg, 1)) i2c_adap 1077 drivers/media/tuners/tuner-simple.c i2c_adapter_id(i2c_adap), i2c_addr, i2c_adap 1088 drivers/media/tuners/tuner-simple.c i2c_adap, i2c_addr, i2c_adap 13 drivers/media/tuners/tuner-simple.h struct i2c_adapter *i2c_adap, i2c_adap 18 drivers/media/tuners/tuner-simple.h struct i2c_adapter *i2c_adap, i2c_adap 1477 drivers/media/tuners/tuner-xc2028.c cfg->i2c_adap, cfg->i2c_addr, i2c_adap 50 drivers/media/tuners/tuner-xc2028.h struct i2c_adapter *i2c_adap; i2c_adap 213 drivers/media/usb/au0828/au0828-cards.c sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, i2c_adap 222 drivers/media/usb/au0828/au0828-cards.c sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, i2c_adap 576 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap); i2c_adap 582 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap, i2c_adap 587 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap, i2c_adap 595 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap); i2c_adap 598 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap, 0x60, i2c_adap 604 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap); i2c_adap 607 drivers/media/usb/au0828/au0828-dvb.c 0x60, &dev->i2c_adap, i2c_adap 613 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap); i2c_adap 616 drivers/media/usb/au0828/au0828-dvb.c &dev->i2c_adap, i2c_adap 26 drivers/media/usb/au0828/au0828-i2c.c static inline int i2c_slave_did_write_ack(struct i2c_adapter *i2c_adap) i2c_adap 28 drivers/media/usb/au0828/au0828-i2c.c struct au0828_dev *dev = i2c_adap->algo_data; i2c_adap 33 drivers/media/usb/au0828/au0828-i2c.c static inline int i2c_slave_did_read_ack(struct i2c_adapter *i2c_adap) i2c_adap 35 drivers/media/usb/au0828/au0828-i2c.c struct au0828_dev *dev = i2c_adap->algo_data; i2c_adap 40 drivers/media/usb/au0828/au0828-i2c.c static int i2c_wait_read_ack(struct i2c_adapter *i2c_adap) i2c_adap 45 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_slave_did_read_ack(i2c_adap)) i2c_adap 56 drivers/media/usb/au0828/au0828-i2c.c static inline int i2c_is_read_busy(struct i2c_adapter *i2c_adap) i2c_adap 58 drivers/media/usb/au0828/au0828-i2c.c struct au0828_dev *dev = i2c_adap->algo_data; i2c_adap 63 drivers/media/usb/au0828/au0828-i2c.c static int i2c_wait_read_done(struct i2c_adapter *i2c_adap) i2c_adap 68 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_is_read_busy(i2c_adap)) i2c_adap 79 drivers/media/usb/au0828/au0828-i2c.c static inline int i2c_is_write_done(struct i2c_adapter *i2c_adap) i2c_adap 81 drivers/media/usb/au0828/au0828-i2c.c struct au0828_dev *dev = i2c_adap->algo_data; i2c_adap 86 drivers/media/usb/au0828/au0828-i2c.c static int i2c_wait_write_done(struct i2c_adapter *i2c_adap) i2c_adap 91 drivers/media/usb/au0828/au0828-i2c.c if (i2c_is_write_done(i2c_adap)) i2c_adap 102 drivers/media/usb/au0828/au0828-i2c.c static inline int i2c_is_busy(struct i2c_adapter *i2c_adap) i2c_adap 104 drivers/media/usb/au0828/au0828-i2c.c struct au0828_dev *dev = i2c_adap->algo_data; i2c_adap 109 drivers/media/usb/au0828/au0828-i2c.c static int i2c_wait_done(struct i2c_adapter *i2c_adap) i2c_adap 114 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_is_busy(i2c_adap)) i2c_adap 126 drivers/media/usb/au0828/au0828-i2c.c static int i2c_sendbytes(struct i2c_adapter *i2c_adap, i2c_adap 130 drivers/media/usb/au0828/au0828-i2c.c struct au0828_dev *dev = i2c_adap->algo_data; i2c_adap 169 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 172 drivers/media/usb/au0828/au0828-i2c.c if (i2c_wait_read_ack(i2c_adap)) i2c_adap 201 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_wait_write_done(i2c_adap)) i2c_adap 207 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 216 drivers/media/usb/au0828/au0828-i2c.c static int i2c_readbytes(struct i2c_adapter *i2c_adap, i2c_adap 219 drivers/media/usb/au0828/au0828-i2c.c struct au0828_dev *dev = i2c_adap->algo_data; i2c_adap 249 drivers/media/usb/au0828/au0828-i2c.c if (i2c_wait_read_ack(i2c_adap)) i2c_adap 266 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_wait_read_done(i2c_adap)) i2c_adap 274 drivers/media/usb/au0828/au0828-i2c.c if (!i2c_wait_done(i2c_adap)) i2c_adap 282 drivers/media/usb/au0828/au0828-i2c.c static int i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 294 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 0); i2c_adap 298 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], i2c_adap 303 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 1); i2c_adap 306 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], 0); i2c_adap 365 drivers/media/usb/au0828/au0828-i2c.c dev->i2c_adap = au0828_i2c_adap_template; i2c_adap 369 drivers/media/usb/au0828/au0828-i2c.c dev->i2c_adap.dev.parent = &dev->usbdev->dev; i2c_adap 371 drivers/media/usb/au0828/au0828-i2c.c strscpy(dev->i2c_adap.name, KBUILD_MODNAME, i2c_adap 372 drivers/media/usb/au0828/au0828-i2c.c sizeof(dev->i2c_adap.name)); i2c_adap 374 drivers/media/usb/au0828/au0828-i2c.c dev->i2c_adap.algo = &dev->i2c_algo; i2c_adap 375 drivers/media/usb/au0828/au0828-i2c.c dev->i2c_adap.algo_data = dev; i2c_adap 377 drivers/media/usb/au0828/au0828-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); i2c_adap 379 drivers/media/usb/au0828/au0828-i2c.c i2c_set_adapdata(&dev->i2c_adap, dev); i2c_adap 381 drivers/media/usb/au0828/au0828-i2c.c i2c_add_adapter(&dev->i2c_adap); i2c_adap 383 drivers/media/usb/au0828/au0828-i2c.c dev->i2c_client.adapter = &dev->i2c_adap; i2c_adap 397 drivers/media/usb/au0828/au0828-i2c.c i2c_del_adapter(&dev->i2c_adap); i2c_adap 181 drivers/media/usb/au0828/au0828.h struct i2c_adapter i2c_adap; i2c_adap 377 drivers/media/usb/cx231xx/cx231xx-dvb.c cfg.i2c_adap = cx231xx_get_i2c_adap(dev, dev->board.tuner_i2c_master); i2c_adap 72 drivers/media/usb/cx231xx/cx231xx-i2c.c static int cx231xx_i2c_send_bytes(struct i2c_adapter *i2c_adap, i2c_adap 75 drivers/media/usb/cx231xx/cx231xx-i2c.c struct cx231xx_i2c *bus = i2c_adap->algo_data; i2c_adap 183 drivers/media/usb/cx231xx/cx231xx-i2c.c static int cx231xx_i2c_recv_bytes(struct i2c_adapter *i2c_adap, i2c_adap 186 drivers/media/usb/cx231xx/cx231xx-i2c.c struct cx231xx_i2c *bus = i2c_adap->algo_data; i2c_adap 269 drivers/media/usb/cx231xx/cx231xx-i2c.c static int cx231xx_i2c_recv_bytes_with_saddr(struct i2c_adapter *i2c_adap, i2c_adap 273 drivers/media/usb/cx231xx/cx231xx-i2c.c struct cx231xx_i2c *bus = i2c_adap->algo_data; i2c_adap 333 drivers/media/usb/cx231xx/cx231xx-i2c.c static int cx231xx_i2c_check_for_device(struct i2c_adapter *i2c_adap, i2c_adap 336 drivers/media/usb/cx231xx/cx231xx-i2c.c struct cx231xx_i2c *bus = i2c_adap->algo_data; i2c_adap 360 drivers/media/usb/cx231xx/cx231xx-i2c.c static int cx231xx_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 363 drivers/media/usb/cx231xx/cx231xx-i2c.c struct cx231xx_i2c *bus = i2c_adap->algo_data; i2c_adap 377 drivers/media/usb/cx231xx/cx231xx-i2c.c rc = cx231xx_i2c_check_for_device(i2c_adap, &msgs[i]); i2c_adap 386 drivers/media/usb/cx231xx/cx231xx-i2c.c rc = cx231xx_i2c_recv_bytes(i2c_adap, &msgs[i]); i2c_adap 404 drivers/media/usb/cx231xx/cx231xx-i2c.c rc = cx231xx_i2c_recv_bytes_with_saddr(i2c_adap, i2c_adap 418 drivers/media/usb/cx231xx/cx231xx-i2c.c rc = cx231xx_i2c_send_bytes(i2c_adap, &msgs[i]); i2c_adap 520 drivers/media/usb/cx231xx/cx231xx-i2c.c bus->i2c_adap = cx231xx_adap_template; i2c_adap 521 drivers/media/usb/cx231xx/cx231xx-i2c.c bus->i2c_adap.dev.parent = dev->dev; i2c_adap 523 drivers/media/usb/cx231xx/cx231xx-i2c.c snprintf(bus->i2c_adap.name, sizeof(bus->i2c_adap.name), "%s-%d", bus->dev->name, bus->nr); i2c_adap 525 drivers/media/usb/cx231xx/cx231xx-i2c.c bus->i2c_adap.algo_data = bus; i2c_adap 526 drivers/media/usb/cx231xx/cx231xx-i2c.c i2c_set_adapdata(&bus->i2c_adap, &dev->v4l2_dev); i2c_adap 527 drivers/media/usb/cx231xx/cx231xx-i2c.c bus->i2c_rc = i2c_add_adapter(&bus->i2c_adap); i2c_adap 543 drivers/media/usb/cx231xx/cx231xx-i2c.c i2c_del_adapter(&bus->i2c_adap); i2c_adap 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_adap 584 drivers/media/usb/cx231xx/cx231xx-i2c.c return &dev->i2c_bus[0].i2c_adap; i2c_adap 586 drivers/media/usb/cx231xx/cx231xx-i2c.c return &dev->i2c_bus[1].i2c_adap; i2c_adap 588 drivers/media/usb/cx231xx/cx231xx-i2c.c return &dev->i2c_bus[2].i2c_adap; i2c_adap 468 drivers/media/usb/cx231xx/cx231xx.h struct i2c_adapter i2c_adap; i2c_adap 884 drivers/media/usb/dvb-usb-v2/af9015.c client = dvb_module_probe("af9013", NULL, &d->i2c_adap, i2c_adap 1179 drivers/media/usb/dvb-usb-v2/af9035.c &state->af9033_config[adap->id], &d->i2c_adap); i2c_adap 1262 drivers/media/usb/dvb-usb-v2/af9035.c &si2168_config, &d->i2c_adap); i2c_adap 1387 drivers/media/usb/dvb-usb-v2/af9035.c &d->i2c_adap); i2c_adap 1396 drivers/media/usb/dvb-usb-v2/af9035.c &d->i2c_adap, &af9035_fc0011_config); i2c_adap 1450 drivers/media/usb/dvb-usb-v2/af9035.c fe = dvb_attach(mxl5007t_attach, adap->fe[0], &d->i2c_adap, i2c_adap 1456 drivers/media/usb/dvb-usb-v2/af9035.c &d->i2c_adap, &af9035_tda18218_config); i2c_adap 1479 drivers/media/usb/dvb-usb-v2/af9035.c &d->i2c_adap); i2c_adap 1516 drivers/media/usb/dvb-usb-v2/af9035.c ret = i2c_transfer(&d->i2c_adap, msg, 1); i2c_adap 1523 drivers/media/usb/dvb-usb-v2/af9035.c fe = dvb_attach(fc0012_attach, adap->fe[0], &d->i2c_adap, i2c_adap 626 drivers/media/usb/dvb-usb-v2/anysee.c struct i2c_adapter *adapter = &d->i2c_adap; i2c_adap 732 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap); i2c_adap 738 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap); i2c_adap 756 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap); i2c_adap 769 drivers/media/usb/dvb-usb-v2/anysee.c &anysee_tda10023_config, &d->i2c_adap, 0x48); i2c_adap 782 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap); i2c_adap 796 drivers/media/usb/dvb-usb-v2/anysee.c ret = i2c_transfer(&d->i2c_adap, msg, 2); i2c_adap 825 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap, 0x48); i2c_adap 835 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap, 0x48); i2c_adap 857 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap); i2c_adap 867 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap); i2c_adap 889 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap, 0x48); i2c_adap 912 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap); i2c_adap 933 drivers/media/usb/dvb-usb-v2/anysee.c &anysee_stv0900_config, &d->i2c_adap, 0); i2c_adap 948 drivers/media/usb/dvb-usb-v2/anysee.c &anysee_cxd2820r_config, &d->i2c_adap, NULL); i2c_adap 988 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap, DVB_PLL_THOMSON_DTT7579); i2c_adap 996 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap, DVB_PLL_SAMSUNG_DTOS403IH102A); i2c_adap 1003 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(isl6423_attach, adap->fe[0], &d->i2c_adap, i2c_adap 1038 drivers/media/usb/dvb-usb-v2/anysee.c (0xc0 >> 1), &d->i2c_adap, i2c_adap 1044 drivers/media/usb/dvb-usb-v2/anysee.c (0xc0 >> 1), &d->i2c_adap, i2c_adap 1079 drivers/media/usb/dvb-usb-v2/anysee.c &anysee_stv6110_config, &d->i2c_adap); i2c_adap 1084 drivers/media/usb/dvb-usb-v2/anysee.c &d->i2c_adap, &anysee_isl6423_config); i2c_adap 133 drivers/media/usb/dvb-usb-v2/au6610.c &adap_to_d(adap)->i2c_adap); i2c_adap 147 drivers/media/usb/dvb-usb-v2/au6610.c &adap_to_d(adap)->i2c_adap, i2c_adap 634 drivers/media/usb/dvb-usb-v2/az6007.c &d->i2c_adap); i2c_adap 655 drivers/media/usb/dvb-usb-v2/az6007.c &d->i2c_adap); i2c_adap 679 drivers/media/usb/dvb-usb-v2/az6007.c &d->i2c_adap)) i2c_adap 172 drivers/media/usb/dvb-usb-v2/ce6230.c &d->i2c_adap); i2c_adap 203 drivers/media/usb/dvb-usb-v2/ce6230.c ret = dvb_attach(mxl5005s_attach, adap->fe[0], &d->i2c_adap, i2c_adap 376 drivers/media/usb/dvb-usb-v2/dvb_usb.h struct i2c_adapter i2c_adap; i2c_adap 64 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c strscpy(d->i2c_adap.name, d->name, sizeof(d->i2c_adap.name)); i2c_adap 65 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->i2c_adap.algo = d->props->i2c_algo; i2c_adap 66 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->i2c_adap.dev.parent = &d->udev->dev; i2c_adap 67 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c i2c_set_adapdata(&d->i2c_adap, d); i2c_adap 69 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = i2c_add_adapter(&d->i2c_adap); i2c_adap 71 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->i2c_adap.algo = NULL; i2c_adap 85 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->i2c_adap.algo) i2c_adap 86 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c i2c_del_adapter(&d->i2c_adap); i2c_adap 250 drivers/media/usb/dvb-usb-v2/dvbsky.c if (i2c_transfer(&d->i2c_adap, msg, 2) == 2) i2c_adap 293 drivers/media/usb/dvb-usb-v2/dvbsky.c &d->i2c_adap, i2c_adap 396 drivers/media/usb/dvb-usb-v2/dvbsky.c &d->i2c_adap, i2c_adap 422 drivers/media/usb/dvb-usb-v2/dvbsky.c &d->i2c_adap, i2c_adap 461 drivers/media/usb/dvb-usb-v2/dvbsky.c &d->i2c_adap, i2c_adap 484 drivers/media/usb/dvb-usb-v2/dvbsky.c &d->i2c_adap, i2c_adap 511 drivers/media/usb/dvb-usb-v2/dvbsky.c &d->i2c_adap, i2c_adap 548 drivers/media/usb/dvb-usb-v2/dvbsky.c &d->i2c_adap, i2c_adap 265 drivers/media/usb/dvb-usb-v2/ec168.c &d->i2c_adap); i2c_adap 294 drivers/media/usb/dvb-usb-v2/ec168.c return dvb_attach(mxl5005s_attach, adap->fe[0], &d->i2c_adap, i2c_adap 117 drivers/media/usb/dvb-usb-v2/gl861.c &adap_to_d(adap)->i2c_adap); i2c_adap 131 drivers/media/usb/dvb-usb-v2/gl861.c adap->fe[0], &adap_to_d(adap)->i2c_adap, i2c_adap 346 drivers/media/usb/dvb-usb-v2/gl861.c ret = i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 348 drivers/media/usb/dvb-usb-v2/gl861.c ret += i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 351 drivers/media/usb/dvb-usb-v2/gl861.c ret += i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 353 drivers/media/usb/dvb-usb-v2/gl861.c ret += i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 361 drivers/media/usb/dvb-usb-v2/gl861.c ret += i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 363 drivers/media/usb/dvb-usb-v2/gl861.c ret += i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 369 drivers/media/usb/dvb-usb-v2/gl861.c ret += i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 371 drivers/media/usb/dvb-usb-v2/gl861.c ret += i2c_transfer(&d->i2c_adap, &msg, 1); i2c_adap 496 drivers/media/usb/dvb-usb-v2/gl861.c &d->i2c_adap, info->addr, &cfg); i2c_adap 978 drivers/media/usb/dvb-usb-v2/lmedm04.c &tda10086_config, &d->i2c_adap); i2c_adap 994 drivers/media/usb/dvb-usb-v2/lmedm04.c &sharp_z0194_config, &d->i2c_adap); i2c_adap 1010 drivers/media/usb/dvb-usb-v2/lmedm04.c &d->i2c_adap); i2c_adap 1028 drivers/media/usb/dvb-usb-v2/lmedm04.c &m88rs2000_config, &d->i2c_adap); i2c_adap 1083 drivers/media/usb/dvb-usb-v2/lmedm04.c &d->i2c_adap, 1)) i2c_adap 1088 drivers/media/usb/dvb-usb-v2/lmedm04.c &d->i2c_adap)) i2c_adap 1093 drivers/media/usb/dvb-usb-v2/lmedm04.c &d->i2c_adap, DVB_PLL_OPERA1)) i2c_adap 1098 drivers/media/usb/dvb-usb-v2/lmedm04.c &ts2020_config, &d->i2c_adap)) i2c_adap 584 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c i2c_transfer(&state->d->i2c_adap, msg, 2); i2c_adap 600 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c i2c_transfer(&state->d->i2c_adap, &msg[0], 1); i2c_adap 616 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c i2c_transfer(&state->d->i2c_adap, &msg, 1); i2c_adap 622 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c i2c_transfer(&state->d->i2c_adap, &msg, 1); i2c_adap 659 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = i2c_transfer(&state->d->i2c_adap, msg, 2); i2c_adap 671 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = i2c_transfer(&state->d->i2c_adap, msg, 2); i2c_adap 474 drivers/media/usb/dvb-usb-v2/mxl111sf.c &d->i2c_adap); i2c_adap 549 drivers/media/usb/dvb-usb-v2/mxl111sf.c &d->i2c_adap); i2c_adap 636 drivers/media/usb/dvb-usb-v2/mxl111sf.c &d->i2c_adap); i2c_adap 723 drivers/media/usb/dvb-usb-v2/mxl111sf.c &d->i2c_adap); i2c_adap 945 drivers/media/usb/dvb-usb-v2/mxl111sf.c ret = i2c_transfer(&d->i2c_adap, msg, 2); i2c_adap 633 drivers/media/usb/dvb-usb-v2/rtl28xxu.c d->i2c_adap.retries = 3; i2c_adap 634 drivers/media/usb/dvb-usb-v2/rtl28xxu.c d->i2c_adap.timeout = msecs_to_jiffies(10); i2c_adap 700 drivers/media/usb/dvb-usb-v2/rtl28xxu.c client = i2c_new_device(&d->i2c_adap, &board_info); i2c_adap 921 drivers/media/usb/dvb-usb-v2/rtl28xxu.c client = i2c_new_device(&d->i2c_adap, &board_info); i2c_adap 963 drivers/media/usb/dvb-usb-v2/rtl28xxu.c client = i2c_new_device(&d->i2c_adap, &info); i2c_adap 985 drivers/media/usb/dvb-usb-v2/rtl28xxu.c client = i2c_new_device(&d->i2c_adap, &info); i2c_adap 1008 drivers/media/usb/dvb-usb-v2/rtl28xxu.c &d->i2c_adap); i2c_adap 1028 drivers/media/usb/dvb-usb-v2/rtl28xxu.c client = i2c_new_device(&d->i2c_adap, &info); i2c_adap 1319 drivers/media/usb/dvb-usb-v2/rtl28xxu.c client = i2c_new_device(&d->i2c_adap, &info); i2c_adap 1044 drivers/media/usb/dvb-usb/af9005-fe.c if (dvb_attach(mt2060_attach, fe, &adap->dev->i2c_adap, i2c_adap 1052 drivers/media/usb/dvb-usb/af9005-fe.c if (dvb_attach(qt1010_attach, fe, &adap->dev->i2c_adap, i2c_adap 800 drivers/media/usb/dvb-usb/az6027.c i2c_transfer(&adap->dev->i2c_adap, &i2c_msg, 1); i2c_adap 805 drivers/media/usb/dvb-usb/az6027.c i2c_transfer(&adap->dev->i2c_adap, &i2c_msg, 1); i2c_adap 810 drivers/media/usb/dvb-usb/az6027.c i2c_transfer(&adap->dev->i2c_adap, &i2c_msg, 1); i2c_adap 910 drivers/media/usb/dvb-usb/az6027.c adap->fe_adap[0].fe = stb0899_attach(&az6027_stb0899_config, &adap->dev->i2c_adap); i2c_adap 914 drivers/media/usb/dvb-usb/az6027.c if (stb6100_attach(adap->fe_adap[0].fe, &az6027_stb6100_config, &adap->dev->i2c_adap)) { i2c_adap 1471 drivers/media/usb/dvb-usb/cxusb-analog.c ret = i2c_transfer(&dvbdev->i2c_adap, &tuner_analog_msg, 1); i2c_adap 1724 drivers/media/usb/dvb-usb/cxusb-analog.c &dvbdev->i2c_adap, i2c_adap 1757 drivers/media/usb/dvb-usb/cxusb-analog.c &dvbdev->i2c_adap, i2c_adap 1773 drivers/media/usb/dvb-usb/cxusb-analog.c &dvbdev->i2c_adap, i2c_adap 543 drivers/media/usb/dvb-usb/cxusb.c if (cxusb_i2c_xfer(&d->i2c_adap, &msg, 1) != 1) i2c_adap 708 drivers/media/usb/dvb-usb/cxusb.c &dvbdev->i2c_adap, 0x61, i2c_adap 745 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap, 0x61, TUNER_LG_TDVS_H06XF); i2c_adap 778 drivers/media/usb/dvb-usb/cxusb.c .i2c_adap = &adap->dev->i2c_adap, i2c_adap 802 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap, &aver_a868r_tuner); i2c_adap 811 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap, &d680_dmb_tuner); i2c_adap 820 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap, &mygica_d689_max2165_cfg); i2c_adap 914 drivers/media/usb/dvb-usb/cxusb.c &dvbdev->i2c_adap); i2c_adap 935 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 947 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 963 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 978 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 984 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 1015 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 1022 drivers/media/usb/dvb-usb/cxusb.c if (cxusb_i2c_xfer(&adap->dev->i2c_adap, &msg, 1) != 1) i2c_adap 1132 drivers/media/usb/dvb-usb/cxusb.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, i2c_adap 1138 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, i2c_adap 1227 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 1233 drivers/media/usb/dvb-usb/cxusb.c &adap->dev->i2c_adap); i2c_adap 1295 drivers/media/usb/dvb-usb/cxusb.c &d680_lgs8gl5_cfg, &d->i2c_adap); i2c_adap 1350 drivers/media/usb/dvb-usb/cxusb.c &d->i2c_adap); i2c_adap 99 drivers/media/usb/dvb-usb/dib0700_devices.c if (dib3000mc_i2c_enumeration(&adap->dev->i2c_adap, 2, DEFAULT_DIB3000P_I2C_ADDRESS, bristol_dib3000mc_config) != 0) { i2c_adap 105 drivers/media/usb/dvb-usb/dib0700_devices.c return (adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, i2c_adap 121 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *prim_i2c = &adap->dev->i2c_adap; i2c_adap 290 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, i2c_adap 299 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, i2c_adap 324 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, i2c_adap 333 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, i2c_adap 478 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, i2c_adap 486 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, i2c_adap 500 drivers/media/usb/dvb-usb/dib0700_devices.c stk7700ph_xc3028_config.i2c_adap = tun_i2c; i2c_adap 725 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.dib7000pc_detection(&adap->dev->i2c_adap)) { i2c_adap 726 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 18, &stk7700p_dib7000p_config); i2c_adap 730 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(dib7000m_attach, &adap->dev->i2c_adap, 18, &stk7700p_dib7000m_config); i2c_adap 742 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *prim_i2c = &adap->dev->i2c_adap; i2c_adap 1010 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, i2c_adap 1018 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, i2c_adap 1068 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, i2c_adap 1076 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, i2c_adap 1365 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, i2c_adap 1368 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, i2c_adap 1400 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x22, 0x80, 0); i2c_adap 1402 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, i2c_adap 1416 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x12, 0x82, 0); i2c_adap 1418 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, i2c_adap 1777 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, 0x80, 0); i2c_adap 1779 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, &dib809x_dib8000_config[0]); i2c_adap 1791 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, 0x82, 0); i2c_adap 1793 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, &dib809x_dib8000_config[1]); i2c_adap 1846 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, 0x80, 0); i2c_adap 1848 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, &dib809x_dib8000_config[0]); i2c_adap 1856 drivers/media/usb/dvb-usb/dib0700_devices.c fe_slave = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, &dib809x_dib8000_config[1]); i2c_adap 2177 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, 0x80, 1); i2c_adap 2179 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, i2c_adap 2414 drivers/media/usb/dvb-usb/dib0700_devices.c dib9000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, 0x80); i2c_adap 2425 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(dib9000_attach, &adap->dev->i2c_adap, 0x80, &stk9090m_config); i2c_adap 2497 drivers/media/usb/dvb-usb/dib0700_devices.c dib9000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x20, 0x80); i2c_adap 2498 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(dib9000_attach, &adap->dev->i2c_adap, 0x80, &nim9090md_config[0]); i2c_adap 3067 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, &nim7090_dib7000p_config) != 0) { i2c_adap 3072 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &nim7090_dib7000p_config); i2c_adap 3120 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x20, &tfe7090pvr_dib7000p_config[0]) != 0) { i2c_adap 3127 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x90, &tfe7090pvr_dib7000p_config[0]); i2c_adap 3223 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, i2c_adap 3230 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, i2c_adap 3318 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, i2c_adap 3326 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &stk7070pd_dib7000p_config[0]); i2c_adap 3337 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x82, &stk7070pd_dib7000p_config[1]); i2c_adap 3393 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.i2c_enumeration(&dev->i2c_adap, 2, 18, i2c_adap 3402 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&dev->i2c_adap, i2c_adap 3470 drivers/media/usb/dvb-usb/dib0700_devices.c &adap->dev->i2c_adap); i2c_adap 3503 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(xc5000_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, i2c_adap 3631 drivers/media/usb/dvb-usb/dib0700_devices.c if (state->dib7000p_ops.dib7000pc_detection(&adap->dev->i2c_adap) == 0) { i2c_adap 3637 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x12, i2c_adap 3726 drivers/media/usb/dvb-usb/dib0700_devices.c &adap->dev->i2c_adap); i2c_adap 3734 drivers/media/usb/dvb-usb/dib0700_devices.c &adap->dev->i2c_adap, 0x60, i2c_adap 3775 drivers/media/usb/dvb-usb/dib0700_devices.c client_demod = i2c_new_device(&d->i2c_adap, &info); i2c_adap 3803 drivers/media/usb/dvb-usb/dib0700_devices.c client_tuner = i2c_new_device(&adap->dev->i2c_adap, &info); i2c_adap 32 drivers/media/usb/dvb-usb/dibusb-mb.c &adap->dev->i2c_adap, &st->ops); i2c_adap 47 drivers/media/usb/dvb-usb/dibusb-mb.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x61, &adap->dev->i2c_adap, i2c_adap 58 drivers/media/usb/dvb-usb/dibusb-mb.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, &adap->dev->i2c_adap, i2c_adap 82 drivers/media/usb/dvb-usb/dibusb-mb.c if (i2c_transfer(&adap->dev->i2c_adap, msg, 2) != 2) { i2c_adap 92 drivers/media/usb/dvb-usb/dibusb-mc-common.c &adap->dev->i2c_adap, i2c_adap 97 drivers/media/usb/dvb-usb/dibusb-mc-common.c &adap->dev->i2c_adap, i2c_adap 145 drivers/media/usb/dvb-usb/digitv.c &adap->dev->i2c_adap); i2c_adap 152 drivers/media/usb/dvb-usb/digitv.c &adap->dev->i2c_adap); i2c_adap 112 drivers/media/usb/dvb-usb/dtv5100.c &adap->dev->i2c_adap); i2c_adap 129 drivers/media/usb/dvb-usb/dtv5100.c adap->fe_adap[0].fe, &adap->dev->i2c_adap, i2c_adap 23 drivers/media/usb/dvb-usb/dvb-usb-i2c.c strscpy(d->i2c_adap.name, d->desc->name, sizeof(d->i2c_adap.name)); i2c_adap 24 drivers/media/usb/dvb-usb/dvb-usb-i2c.c d->i2c_adap.algo = d->props.i2c_algo; i2c_adap 25 drivers/media/usb/dvb-usb/dvb-usb-i2c.c d->i2c_adap.algo_data = NULL; i2c_adap 26 drivers/media/usb/dvb-usb/dvb-usb-i2c.c d->i2c_adap.dev.parent = &d->udev->dev; i2c_adap 28 drivers/media/usb/dvb-usb/dvb-usb-i2c.c i2c_set_adapdata(&d->i2c_adap, d); i2c_adap 30 drivers/media/usb/dvb-usb/dvb-usb-i2c.c if ((ret = i2c_add_adapter(&d->i2c_adap)) < 0) i2c_adap 41 drivers/media/usb/dvb-usb/dvb-usb-i2c.c i2c_del_adapter(&d->i2c_adap); i2c_adap 457 drivers/media/usb/dvb-usb/dvb-usb.h struct i2c_adapter i2c_adap; i2c_adap 869 drivers/media/usb/dvb-usb/dw2102.c ret = s6x0_i2c_transfer(&d->i2c_adap, msg, 2); i2c_adap 899 drivers/media/usb/dvb-usb/dw2102.c i2c_transfer(&adap->dev->i2c_adap, &msg, 1); i2c_adap 948 drivers/media/usb/dvb-usb/dw2102.c if (i2c_transfer(&d->i2c_adap, msg, 2) != 2) i2c_adap 988 drivers/media/usb/dvb-usb/dw2102.c i2c_transfer(&udev_adap->dev->i2c_adap, &msg, 1); i2c_adap 1022 drivers/media/usb/dvb-usb/dw2102.c i2c_transfer(&udev_adap->dev->i2c_adap, &msg, 1); i2c_adap 1189 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap, 0); i2c_adap 1193 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap)) { i2c_adap 1208 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap, 0); i2c_adap 1212 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap)) { i2c_adap 1222 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1231 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1234 drivers/media/usb/dvb-usb/dw2102.c &dw2104_ts2020_config, &d->dev->i2c_adap); i2c_adap 1252 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1262 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1265 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap)) { i2c_adap 1276 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1289 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap, 0x48); i2c_adap 1300 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1303 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap)) { i2c_adap 1318 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1323 drivers/media/usb/dvb-usb/dw2102.c if (NULL == dvb_attach(stb6000_attach, d->fe_adap[0].fe, 0x61, &d->dev->i2c_adap)) i2c_adap 1342 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1348 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap); i2c_adap 1365 drivers/media/usb/dvb-usb/dw2102.c &d->dev->i2c_adap, 0); i2c_adap 1422 drivers/media/usb/dvb-usb/dw2102.c &d->i2c_adap); i2c_adap 1428 drivers/media/usb/dvb-usb/dw2102.c &d->i2c_adap)) { i2c_adap 1482 drivers/media/usb/dvb-usb/dw2102.c &d->i2c_adap, NULL); i2c_adap 1485 drivers/media/usb/dvb-usb/dw2102.c &d->i2c_adap, &tda18271_config)) { i2c_adap 1511 drivers/media/usb/dvb-usb/dw2102.c &d->i2c_adap); i2c_adap 1518 drivers/media/usb/dvb-usb/dw2102.c &d->i2c_adap)) { i2c_adap 1593 drivers/media/usb/dvb-usb/dw2102.c client = i2c_new_device(&d->i2c_adap, &board_info); i2c_adap 1643 drivers/media/usb/dvb-usb/dw2102.c &adap->dev->i2c_adap, DVB_PLL_OPERA1); i2c_adap 1650 drivers/media/usb/dvb-usb/dw2102.c &adap->dev->i2c_adap, DVB_PLL_TUA6034); i2c_adap 1665 drivers/media/usb/dvb-usb/dw2102.c if (d->props.i2c_algo->master_xfer(&d->i2c_adap, &msg, 1) == 1) { i2c_adap 1686 drivers/media/usb/dvb-usb/dw2102.c if (d->props.i2c_algo->master_xfer(&d->i2c_adap, &msg, 1) == 1) { i2c_adap 1708 drivers/media/usb/dvb-usb/dw2102.c if (d->props.i2c_algo->master_xfer(&d->i2c_adap, &msg, 1) == 1) { i2c_adap 557 drivers/media/usb/dvb-usb/m920x.c &adap->dev->i2c_adap); i2c_adap 601 drivers/media/usb/dvb-usb/m920x.c &adap->dev->i2c_adap); i2c_adap 614 drivers/media/usb/dvb-usb/m920x.c &adap->dev->i2c_adap); i2c_adap 625 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(qt1010_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, &m920x_qt1010_config) == NULL) i2c_adap 635 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(tda827x_attach, adap->fe_adap[0].fe, 0x60, &adap->dev->i2c_adap, NULL) == NULL) i2c_adap 645 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(tda827x_attach, adap->fe_adap[0].fe, 0x61, &adap->dev->i2c_adap, NULL) == NULL) i2c_adap 654 drivers/media/usb/dvb-usb/m920x.c &adap->dev->i2c_adap, 0x61, i2c_adap 663 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(mt2060_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, i2c_adap 181 drivers/media/usb/dvb-usb/opera1.c i2c_transfer(&udev_adap->dev->i2c_adap, msg, 1); i2c_adap 265 drivers/media/usb/dvb-usb/opera1.c &d->dev->i2c_adap); i2c_adap 278 drivers/media/usb/dvb-usb/opera1.c &adap->dev->i2c_adap, DVB_PLL_OPERA1 i2c_adap 302 drivers/media/usb/dvb-usb/opera1.c i2c_transfer(&adap->dev->i2c_adap, start_tuner, 1); i2c_adap 319 drivers/media/usb/dvb-usb/opera1.c i2c_transfer(&adap->dev->i2c_adap, msg, 1); i2c_adap 336 drivers/media/usb/dvb-usb/opera1.c i2c_transfer(&adap->dev->i2c_adap, msg, 1); i2c_adap 382 drivers/media/usb/dvb-usb/opera1.c if (i2c_transfer(&dev->i2c_adap, read_remote, 1) == 1) { i2c_adap 909 drivers/media/usb/dvb-usb/pctv452e.c &a->dev->i2c_adap); i2c_adap 913 drivers/media/usb/dvb-usb/pctv452e.c &a->dev->i2c_adap)) == NULL) i2c_adap 930 drivers/media/usb/dvb-usb/pctv452e.c &a->dev->i2c_adap) == NULL) { i2c_adap 436 drivers/media/usb/dvb-usb/technisat-usb2.c if (i2c_transfer(&d->i2c_adap, msg, 2) != 2) i2c_adap 524 drivers/media/usb/dvb-usb/technisat-usb2.c &a->dev->i2c_adap, STV090x_DEMODULATOR_0); i2c_adap 532 drivers/media/usb/dvb-usb/technisat-usb2.c &a->dev->i2c_adap); i2c_adap 527 drivers/media/usb/dvb-usb/ttusb2.c if ((adap->fe_adap[0].fe = dvb_attach(tda10086_attach, &tda10086_config, &adap->dev->i2c_adap)) == NULL) { i2c_adap 550 drivers/media/usb/dvb-usb/ttusb2.c &tda10023_config, &adap->dev->i2c_adap, 0x48); i2c_adap 559 drivers/media/usb/dvb-usb/ttusb2.c &tda10048_config, &adap->dev->i2c_adap); i2c_adap 585 drivers/media/usb/dvb-usb/ttusb2.c if (dvb_attach(tda827x_attach, fe, 0x61, &adap->dev->i2c_adap, &tda827x_config) == NULL) { i2c_adap 594 drivers/media/usb/dvb-usb/ttusb2.c if (dvb_attach(tda826x_attach, adap->fe_adap[0].fe, 0x60, &adap->dev->i2c_adap, 0) == NULL) { i2c_adap 599 drivers/media/usb/dvb-usb/ttusb2.c if (dvb_attach(lnbp21_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, 0, 0) == NULL) { i2c_adap 60 drivers/media/usb/dvb-usb/umt-010.c adap->fe_adap[0].fe = dvb_attach(mt352_attach, &umt_config, &adap->dev->i2c_adap); i2c_adap 313 drivers/media/usb/em28xx/em28xx-camera.c struct i2c_adapter *adap = &dev->i2c_adap[dev->def_i2c_bus]; i2c_adap 948 drivers/media/usb/em28xx/em28xx-dvb.c cfg.i2c_adap = &dev->i2c_adap[dev->def_i2c_bus]; i2c_adap 1147 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1158 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1185 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1211 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1236 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1272 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1303 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1342 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1382 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1462 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1477 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1486 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1498 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1515 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1519 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1529 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1532 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1539 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1542 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1549 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1559 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1562 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1572 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1583 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1587 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1597 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1603 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1616 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1623 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1655 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1673 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], &cfg)) { i2c_adap 1686 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1701 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], 0x60)) { i2c_adap 1712 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1715 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1727 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1735 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1749 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1754 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1769 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1777 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1788 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1796 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1805 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1813 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 1821 drivers/media/usb/em28xx/em28xx-dvb.c struct i2c_adapter *adapter = &dev->i2c_adap[dev->def_i2c_bus]; i2c_adap 1825 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1846 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus]); i2c_adap 1850 drivers/media/usb/em28xx/em28xx-dvb.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 530 drivers/media/usb/em28xx/em28xx-i2c.c static int em28xx_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 533 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx_i2c_bus *i2c_bus = i2c_adap->algo_data; i2c_adap 885 drivers/media/usb/em28xx/em28xx-i2c.c static u32 functionality(struct i2c_adapter *i2c_adap) i2c_adap 887 drivers/media/usb/em28xx/em28xx-i2c.c struct em28xx_i2c_bus *i2c_bus = i2c_adap->algo_data; i2c_adap 986 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_adap[bus] = em28xx_adap_template; i2c_adap 987 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_adap[bus].dev.parent = &dev->intf->dev; i2c_adap 988 drivers/media/usb/em28xx/em28xx-i2c.c strscpy(dev->i2c_adap[bus].name, dev_name(&dev->intf->dev), i2c_adap 989 drivers/media/usb/em28xx/em28xx-i2c.c sizeof(dev->i2c_adap[bus].name)); i2c_adap 994 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_adap[bus].algo_data = &dev->i2c_bus[bus]; i2c_adap 996 drivers/media/usb/em28xx/em28xx-i2c.c retval = i2c_add_adapter(&dev->i2c_adap[bus]); i2c_adap 1005 drivers/media/usb/em28xx/em28xx-i2c.c dev->i2c_client[bus].adapter = &dev->i2c_adap[bus]; i2c_adap 1033 drivers/media/usb/em28xx/em28xx-i2c.c i2c_del_adapter(&dev->i2c_adap[bus]); i2c_adap 494 drivers/media/usb/em28xx/em28xx-input.c if (i2c_probe_func_quick_read(&dev->i2c_adap[dev->def_i2c_bus], i2c_adap 780 drivers/media/usb/em28xx/em28xx-input.c ir->i2c_client->adapter = &ir->dev->i2c_adap[dev->def_i2c_bus]; i2c_adap 2579 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 2584 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 2589 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 2594 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 2605 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 2611 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 2620 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 2628 drivers/media/usb/em28xx/em28xx-video.c &dev->i2c_adap[dev->def_i2c_bus], i2c_adap 684 drivers/media/usb/em28xx/em28xx.h struct i2c_adapter i2c_adap[NUM_I2C_BUSES]; i2c_adap 186 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap); i2c_adap 196 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, 0x61, i2c_adap 246 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap); i2c_adap 256 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, 0x61, i2c_adap 332 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap); i2c_adap 342 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, 0x42, i2c_adap 345 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, i2c_adap 430 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap); i2c_adap 440 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap); i2c_adap 450 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, 0x42, i2c_adap 453 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, i2c_adap 548 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, i2c_adap 572 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, i2c_adap 600 drivers/media/usb/pvrusb2/pvrusb2-devattr.c &adap->channel.hdw->i2c_adap, i2c_adap 89 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c if ((ret = i2c_transfer(&hdw->i2c_adap, i2c_adap 183 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h struct i2c_adapter i2c_adap; i2c_adap 2023 drivers/media/usb/pvrusb2/pvrusb2-hdw.c sd = v4l2_i2c_new_subdev(&hdw->v4l2_dev, &hdw->i2c_adap, i2c_adap 2029 drivers/media/usb/pvrusb2/pvrusb2-hdw.c sd = v4l2_i2c_new_subdev(&hdw->v4l2_dev, &hdw->i2c_adap, i2c_adap 3379 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if ((ret = i2c_transfer(&hdw->i2c_adap, i2c_adap 362 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c static int pvr2_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 368 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c struct pvr2_hdw *hdw = (struct pvr2_hdw *)(i2c_adap->algo_data); i2c_adap 526 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c rc = i2c_transfer(&hdw->i2c_adap, msg, ARRAY_SIZE(msg)); i2c_adap 567 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c i2c_new_device(&hdw->i2c_adap, &info); i2c_adap 582 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c i2c_new_device(&hdw->i2c_adap, &info); i2c_adap 620 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c hdw->i2c_adap = pvr2_i2c_adap_template; i2c_adap 622 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c strscpy(hdw->i2c_adap.name, hdw->name, sizeof(hdw->i2c_adap.name)); i2c_adap 623 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c hdw->i2c_adap.dev.parent = &hdw->usb_dev->dev; i2c_adap 624 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c hdw->i2c_adap.algo = &hdw->i2c_algo; i2c_adap 625 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c hdw->i2c_adap.algo_data = hdw; i2c_adap 627 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c i2c_set_adapdata(&hdw->i2c_adap, &hdw->v4l2_dev); i2c_adap 628 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c i2c_add_adapter(&hdw->i2c_adap); i2c_adap 652 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c i2c_del_adapter(&hdw->i2c_adap); i2c_adap 355 drivers/media/usb/stk1160/stk1160-core.c dev->sd_saa7115 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, i2c_adap 151 drivers/media/usb/stk1160/stk1160-i2c.c static int stk1160_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 154 drivers/media/usb/stk1160/stk1160-i2c.c struct stk1160 *dev = i2c_adap->algo_data; i2c_adap 251 drivers/media/usb/stk1160/stk1160-i2c.c dev->i2c_adap = adap_template; i2c_adap 252 drivers/media/usb/stk1160/stk1160-i2c.c dev->i2c_adap.dev.parent = dev->dev; i2c_adap 253 drivers/media/usb/stk1160/stk1160-i2c.c strscpy(dev->i2c_adap.name, "stk1160", sizeof(dev->i2c_adap.name)); i2c_adap 254 drivers/media/usb/stk1160/stk1160-i2c.c dev->i2c_adap.algo_data = dev; i2c_adap 256 drivers/media/usb/stk1160/stk1160-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); i2c_adap 258 drivers/media/usb/stk1160/stk1160-i2c.c rc = i2c_add_adapter(&dev->i2c_adap); i2c_adap 265 drivers/media/usb/stk1160/stk1160-i2c.c dev->i2c_client.adapter = &dev->i2c_adap; i2c_adap 282 drivers/media/usb/stk1160/stk1160-i2c.c i2c_del_adapter(&dev->i2c_adap); i2c_adap 147 drivers/media/usb/stk1160/stk1160.h struct i2c_adapter i2c_adap; i2c_adap 892 drivers/media/usb/tm6000/tm6000-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, i2c_adap 1118 drivers/media/usb/tm6000/tm6000-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, i2c_adap 235 drivers/media/usb/tm6000/tm6000-dvb.c &dev->i2c_adap); i2c_adap 275 drivers/media/usb/tm6000/tm6000-dvb.c .i2c_adap = &dev->i2c_adap, i2c_adap 308 drivers/media/usb/tm6000/tm6000-dvb.c if (!dvb_attach(xc5000_attach, dvb->frontend, &dev->i2c_adap, &cfg)) { i2c_adap 142 drivers/media/usb/tm6000/tm6000-i2c.c static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, i2c_adap 145 drivers/media/usb/tm6000/tm6000-i2c.c struct tm6000_core *dev = i2c_adap->algo_data; i2c_adap 292 drivers/media/usb/tm6000/tm6000-i2c.c dev->i2c_adap.owner = THIS_MODULE; i2c_adap 293 drivers/media/usb/tm6000/tm6000-i2c.c dev->i2c_adap.algo = &tm6000_algo; i2c_adap 294 drivers/media/usb/tm6000/tm6000-i2c.c dev->i2c_adap.dev.parent = &dev->udev->dev; i2c_adap 295 drivers/media/usb/tm6000/tm6000-i2c.c strscpy(dev->i2c_adap.name, dev->name, sizeof(dev->i2c_adap.name)); i2c_adap 296 drivers/media/usb/tm6000/tm6000-i2c.c dev->i2c_adap.algo_data = dev; i2c_adap 297 drivers/media/usb/tm6000/tm6000-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); i2c_adap 298 drivers/media/usb/tm6000/tm6000-i2c.c rc = i2c_add_adapter(&dev->i2c_adap); i2c_adap 302 drivers/media/usb/tm6000/tm6000-i2c.c dev->i2c_client.adapter = &dev->i2c_adap; i2c_adap 315 drivers/media/usb/tm6000/tm6000-i2c.c i2c_del_adapter(&dev->i2c_adap); i2c_adap 196 drivers/media/usb/tm6000/tm6000.h struct i2c_adapter i2c_adap; i2c_adap 91 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct i2c_adapter i2c_adap; i2c_adap 1024 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1) return -EIO; i2c_adap 1046 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) return -EIO; i2c_adap 1055 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) { i2c_adap 1056 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1); i2c_adap 1129 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) i2c_adap 1295 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1) i2c_adap 1330 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1) i2c_adap 1358 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer (&ttusb->i2c_adap, &msg, 1) != 1) i2c_adap 1379 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if ((i2c_transfer(&ttusb->i2c_adap, msg, 2) != 2) || (pwm == 0xff)) i2c_adap 1428 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) { i2c_adap 1437 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) { i2c_adap 1560 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(stv0299_attach, &alps_stv0299_config, &ttusb->i2c_adap); i2c_adap 1566 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c dvb_attach(lnbp21_attach, ttusb->fe, &ttusb->i2c_adap, 0, 0); i2c_adap 1574 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(tda8083_attach, &ttusb_novas_grundig_29504_491_config, &ttusb->i2c_adap); i2c_adap 1583 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(ves1820_attach, &alps_tdbe2_config, &ttusb->i2c_adap, read_pwm(ttusb)); i2c_adap 1589 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(stv0297_attach, &dvbc_philips_tdm1316l_config, &ttusb->i2c_adap); i2c_adap 1598 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(cx22700_attach, &alps_tdmb7_config, &ttusb->i2c_adap); i2c_adap 1605 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(tda10046_attach, &philips_tdm1316l_config, &ttusb->i2c_adap); i2c_adap 1684 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c memset(&ttusb->i2c_adap, 0, sizeof(struct i2c_adapter)); i2c_adap 1685 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c strscpy(ttusb->i2c_adap.name, "TTUSB DEC", sizeof(ttusb->i2c_adap.name)); i2c_adap 1687 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c i2c_set_adapdata(&ttusb->i2c_adap, ttusb); i2c_adap 1689 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->i2c_adap.algo = &ttusb_dec_algo; i2c_adap 1690 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->i2c_adap.algo_data = NULL; i2c_adap 1691 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->i2c_adap.dev.parent = &udev->dev; i2c_adap 1693 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c result = i2c_add_adapter(&ttusb->i2c_adap); i2c_adap 1748 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c i2c_del_adapter(&ttusb->i2c_adap); i2c_adap 1774 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c i2c_del_adapter(&ttusb->i2c_adap); i2c_adap 43 drivers/media/usb/usbvision/usbvision-i2c.c static inline int try_write_address(struct i2c_adapter *i2c_adap, i2c_adap 50 drivers/media/usb/usbvision/usbvision-i2c.c usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); i2c_adap 68 drivers/media/usb/usbvision/usbvision-i2c.c static inline int try_read_address(struct i2c_adapter *i2c_adap, i2c_adap 75 drivers/media/usb/usbvision/usbvision-i2c.c usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); i2c_adap 92 drivers/media/usb/usbvision/usbvision-i2c.c static inline int usb_find_address(struct i2c_adapter *i2c_adap, i2c_adap 107 drivers/media/usb/usbvision/usbvision-i2c.c ret = try_read_address(i2c_adap, addr, retries); i2c_adap 109 drivers/media/usb/usbvision/usbvision-i2c.c ret = try_write_address(i2c_adap, addr, retries); i2c_adap 118 drivers/media/usb/usbvision/usbvision-i2c.c usbvision_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], int num) i2c_adap 125 drivers/media/usb/usbvision/usbvision-i2c.c usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); i2c_adap 129 drivers/media/usb/usbvision/usbvision-i2c.c ret = usb_find_address(i2c_adap, pmsg, i2c_adap->retries, &addr); i2c_adap 179 drivers/media/usb/usbvision/usbvision-i2c.c usbvision->i2c_adap = i2c_adap_template; i2c_adap 181 drivers/media/usb/usbvision/usbvision-i2c.c snprintf(usbvision->i2c_adap.name, sizeof(usbvision->i2c_adap.name), i2c_adap 184 drivers/media/usb/usbvision/usbvision-i2c.c PDEBUG(DBG_I2C, "Adaptername: %s", usbvision->i2c_adap.name); i2c_adap 185 drivers/media/usb/usbvision/usbvision-i2c.c usbvision->i2c_adap.dev.parent = &usbvision->dev->dev; i2c_adap 187 drivers/media/usb/usbvision/usbvision-i2c.c i2c_set_adapdata(&usbvision->i2c_adap, &usbvision->v4l2_dev); i2c_adap 199 drivers/media/usb/usbvision/usbvision-i2c.c usbvision->i2c_adap.algo = &usbvision_algo; i2c_adap 201 drivers/media/usb/usbvision/usbvision-i2c.c usbvision->i2c_adap.timeout = 100; /* default values, should */ i2c_adap 202 drivers/media/usb/usbvision/usbvision-i2c.c usbvision->i2c_adap.retries = 3; /* be replaced by defines */ i2c_adap 204 drivers/media/usb/usbvision/usbvision-i2c.c i2c_add_adapter(&usbvision->i2c_adap); i2c_adap 206 drivers/media/usb/usbvision/usbvision-i2c.c PDEBUG(DBG_I2C, "i2c bus for %s registered", usbvision->i2c_adap.name); i2c_adap 216 drivers/media/usb/usbvision/usbvision-i2c.c &usbvision->i2c_adap, i2c_adap 226 drivers/media/usb/usbvision/usbvision-i2c.c &usbvision->i2c_adap, i2c_adap 233 drivers/media/usb/usbvision/usbvision-i2c.c &usbvision->i2c_adap, i2c_adap 255 drivers/media/usb/usbvision/usbvision-i2c.c i2c_del_adapter(&(usbvision->i2c_adap)); i2c_adap 258 drivers/media/usb/usbvision/usbvision-i2c.c PDEBUG(DBG_I2C, "i2c bus for %s unregistered", usbvision->i2c_adap.name); i2c_adap 351 drivers/media/usb/usbvision/usbvision.h struct i2c_adapter i2c_adap; i2c_adap 376 drivers/media/v4l2-core/tuner-core.c .i2c_adap = t->i2c->adapter, i2c_adap 576 drivers/net/ethernet/intel/igb/igb.h struct i2c_adapter i2c_adap; i2c_adap 201 drivers/net/ethernet/intel/igb/igb_hwmon.c client = i2c_new_device(&adapter->i2c_adap, &i350_sensor_info); i2c_adap 2976 drivers/net/ethernet/intel/igb/igb_main.c adapter->i2c_adap.owner = THIS_MODULE; i2c_adap 2979 drivers/net/ethernet/intel/igb/igb_main.c adapter->i2c_adap.algo_data = &adapter->i2c_algo; i2c_adap 2980 drivers/net/ethernet/intel/igb/igb_main.c adapter->i2c_adap.dev.parent = &adapter->pdev->dev; i2c_adap 2981 drivers/net/ethernet/intel/igb/igb_main.c strlcpy(adapter->i2c_adap.name, "igb BB", i2c_adap 2982 drivers/net/ethernet/intel/igb/igb_main.c sizeof(adapter->i2c_adap.name)); i2c_adap 2983 drivers/net/ethernet/intel/igb/igb_main.c status = i2c_bit_add_bus(&adapter->i2c_adap); i2c_adap 3453 drivers/net/ethernet/intel/igb/igb_main.c memset(&adapter->i2c_adap, 0, sizeof(adapter->i2c_adap)); i2c_adap 3612 drivers/net/ethernet/intel/igb/igb_main.c i2c_del_adapter(&adapter->i2c_adap); i2c_adap 2385 drivers/net/ethernet/sfc/falcon/falcon.c board->i2c_adap.owner = THIS_MODULE; i2c_adap 2388 drivers/net/ethernet/sfc/falcon/falcon.c board->i2c_adap.algo_data = &board->i2c_data; i2c_adap 2389 drivers/net/ethernet/sfc/falcon/falcon.c board->i2c_adap.dev.parent = &efx->pci_dev->dev; i2c_adap 2390 drivers/net/ethernet/sfc/falcon/falcon.c strlcpy(board->i2c_adap.name, "SFC4000 GPIO", i2c_adap 2391 drivers/net/ethernet/sfc/falcon/falcon.c sizeof(board->i2c_adap.name)); i2c_adap 2392 drivers/net/ethernet/sfc/falcon/falcon.c rc = i2c_bit_add_bus(&board->i2c_adap); i2c_adap 2409 drivers/net/ethernet/sfc/falcon/falcon.c i2c_del_adapter(&board->i2c_adap); i2c_adap 2410 drivers/net/ethernet/sfc/falcon/falcon.c memset(&board->i2c_adap, 0, sizeof(board->i2c_adap)); i2c_adap 2549 drivers/net/ethernet/sfc/falcon/falcon.c i2c_del_adapter(&board->i2c_adap); i2c_adap 2550 drivers/net/ethernet/sfc/falcon/falcon.c memset(&board->i2c_adap, 0, sizeof(board->i2c_adap)); i2c_adap 91 drivers/net/ethernet/sfc/falcon/falcon_boards.c struct i2c_client *client = i2c_new_device(&board->i2c_adap, info); i2c_adap 457 drivers/net/ethernet/sfc/falcon/falcon_boards.c i2c_new_client_device(&board->i2c_adap, &sfe4001_hwmon_info); i2c_adap 460 drivers/net/ethernet/sfc/falcon/falcon_boards.c i2c_new_dummy_device(&board->i2c_adap, sfe4001_hwmon_info.addr); i2c_adap 471 drivers/net/ethernet/sfc/falcon/falcon_boards.c board->ioexp_client = i2c_new_dummy_device(&board->i2c_adap, PCA9539); i2c_adap 176 drivers/net/ethernet/sfc/falcon/nic.h struct i2c_adapter i2c_adap; i2c_adap 25 include/media/drv-intf/sh_vou.h int i2c_adap;