Lines Matching defs:i2c

2214 static int dib01x0_pmu_update(struct i2c_adapter *i2c, u16 *data, u8 len)
2224 dibx000_i2c_set_speed(i2c, 250);
2226 if (i2c_transfer(i2c, msg, 2) != 2)
2252 if (i2c_transfer(i2c, msg, 2) != 2)
2261 if (i2c_transfer(i2c, &msg[0], 1) != 1)
2382 /* Make use of the new i2c functions from FW 1.20 */
2421 struct i2c_adapter *i2c = dib9000_get_tuner_interface(adap->fe_adap[0].fe);
2432 if (dvb_attach(dib0090_fw_register, adap->fe_adap[0].fe, i2c, &dib9090_dib0090_config) == NULL)
2434 i2c = dib9000_get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_1_2, 0);
2435 if (!i2c)
2437 if (dib01x0_pmu_update(i2c, data_dib190, 10) != 0)
2450 struct i2c_adapter *i2c;
2454 /* Make use of the new i2c functions from FW 1.20 */
2491 i2c = dib9000_get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_3_4, 0);
2492 dib9000_i2c_enumeration(i2c, 1, 0x12, 0x82);
2494 fe_slave = dvb_attach(dib9000_attach, i2c, 0x82, &nim9090md_config[1]);
2503 struct i2c_adapter *i2c;
2514 i2c = dib9000_get_tuner_interface(adap->fe_adap[0].fe);
2515 if (dvb_attach(dib0090_fw_register, adap->fe_adap[0].fe, i2c, &nim9090md_dib0090_config[0]) == NULL)
2517 i2c = dib9000_get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_1_2, 0);
2518 if (!i2c)
2520 if (dib01x0_pmu_update(i2c, data_dib190, 10) < 0)
2529 i2c = dib9000_get_component_bus_interface(adap->fe_adap[0].fe);
2530 dib9000_set_i2c_adapter(fe_slave, i2c);
2532 i2c = dib9000_get_tuner_interface(fe_slave);
2533 if (dvb_attach(dib0090_fw_register, fe_slave, i2c, &nim9090md_dib0090_config[1]) == NULL)
3126 struct i2c_adapter *i2c;
3137 i2c = state->dib7000p_ops.get_i2c_master(adap->dev->adapter[0].fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_6_7, 1);
3138 if (state->dib7000p_ops.i2c_enumeration(i2c, 1, 0x10, &tfe7090pvr_dib7000p_config[1]) != 0) {
3144 adap->fe_adap[0].fe = state->dib7000p_ops.init(i2c, 0x92, &tfe7090pvr_dib7000p_config[1]);
3431 /* Make use of the new i2c functions from FW 1.20 */
3645 /* The xc4000 is not on the main i2c bus */
3649 printk(KERN_ERR "Could not reach tuner i2c bus\n");
3687 MXL is behind LG's i2c repeater. LG is on SCL2/SDA2 gpios on the DIB
3693 /* Make use of the new i2c functions from FW 1.20 */