Lines Matching refs:i2c_cec
91 struct i2c_client *i2c_cec; member
241 return i2c_smbus_read_byte_data(state->i2c_cec, reg); in adv7511_cec_read()
251 ret = i2c_smbus_write_byte_data(state->i2c_cec, reg, val); in adv7511_cec_write()
421 if (state->i2c_cec) in adv7511_inv_register()
435 if (state->i2c_cec) { in adv7511_g_register()
457 if (state->i2c_cec) { in adv7511_s_register()
620 if (state->i2c_cec == NULL) in adv7511_log_status()
699 if (state->i2c_cec == NULL) in adv7511_cec_adap_enable()
1745 if (state->i2c_cec == NULL) in adv7511_init_setup()
1833 state->i2c_cec_addr = state->pdata.i2c_cec << 1; in adv7511_probe()
1863 state->i2c_cec = i2c_new_dummy_device(client->adapter, in adv7511_probe()
1865 if (IS_ERR(state->i2c_cec)) { in adv7511_probe()
1867 err = PTR_ERR(state->i2c_cec); in adv7511_probe()
1914 i2c_unregister_device(state->i2c_cec); in adv7511_probe()
1940 i2c_unregister_device(state->i2c_cec); in adv7511_remove()