Home
last modified time | relevance | path

Searched refs:i2c_cec (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/media/i2c/
H A Dadv7511.h28 u8 i2c_cec; member
H A Dadv7842.h210 u8 i2c_cec; member
/openbmc/linux/drivers/media/i2c/
H A Dadv7511-v4l2.c91 struct i2c_client *i2c_cec; member
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()
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()
[all …]
H A Dadv7842.c127 struct i2c_client *i2c_cec; member
383 return adv_smbus_read_byte_data(state->i2c_cec, reg); in cec_read()
390 return adv_smbus_write_byte_data(state->i2c_cec, reg, val); in cec_write()
3173 io_write(sd, 0xf4, pdata->i2c_cec << 1); in adv7842_rewrite_i2c_addresses()
3364 i2c_unregister_device(state->i2c_cec); in adv7842_unregister_clients()
3376 state->i2c_cec = NULL; in adv7842_unregister_clients()
3417 state->i2c_cec = adv7842_dummy_client(sd, "cec", pdata->i2c_cec, 0xf4); in adv7842_register_clients()
3429 !state->i2c_cec || in adv7842_register_clients()
/openbmc/linux/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_drv.c1079 adv->i2c_cec = i2c_new_ancillary_device(adv->i2c_main, "cec", in adv7511_init_cec_regmap()
1081 if (IS_ERR(adv->i2c_cec)) in adv7511_init_cec_regmap()
1082 return PTR_ERR(adv->i2c_cec); in adv7511_init_cec_regmap()
1085 adv->i2c_cec->addr << 1); in adv7511_init_cec_regmap()
1087 i2c_set_clientdata(adv->i2c_cec, adv); in adv7511_init_cec_regmap()
1089 adv->regmap_cec = devm_regmap_init_i2c(adv->i2c_cec, in adv7511_init_cec_regmap()
1106 i2c_unregister_device(adv->i2c_cec); in adv7511_init_cec_regmap()
1341 i2c_unregister_device(adv7511->i2c_cec); in adv7511_probe()
1364 i2c_unregister_device(adv7511->i2c_cec); in adv7511_remove()
H A Dadv7511.h340 struct i2c_client *i2c_cec; member
H A Dadv7511_cec.c182 if (adv7511->i2c_cec == NULL) in adv7511_cec_adap_enable()
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c568 .i2c_cec = 0x40, in cobalt_subdevs_hsma_init()
583 .i2c_cec = 0x7c >> 1, in cobalt_subdevs_hsma_init()