Home
last modified time | relevance | path

Searched refs:i2c_cp (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/media/i2c/
H A Dadv7842.h203 u8 i2c_cp; member
/openbmc/linux/drivers/media/i2c/
H A Dadv7842.c120 struct i2c_client *i2c_cp; member
525 return adv_smbus_read_byte_data(state->i2c_cp, reg); in cp_read()
532 return adv_smbus_write_byte_data(state->i2c_cp, reg, val); in cp_write()
1126 if (i2c_smbus_write_i2c_block_data(state->i2c_cp, 0x77, 4, offset_buf)) in adv7842_set_offset()
1155 if (i2c_smbus_write_i2c_block_data(state->i2c_cp, 0x73, 4, gain_buf)) in adv7842_set_gain()
3181 io_write(sd, 0xfd, pdata->i2c_cp << 1); in adv7842_rewrite_i2c_addresses()
3372 i2c_unregister_device(state->i2c_cp); in adv7842_unregister_clients()
3384 state->i2c_cp = NULL; in adv7842_unregister_clients()
3425 state->i2c_cp = adv7842_dummy_client(sd, "cp", pdata->i2c_cp, 0xfd); in adv7842_register_clients()
3437 !state->i2c_cp || in adv7842_register_clients()
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c561 .i2c_cp = 0x22, in cobalt_subdevs_hsma_init()