Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Danx7411.c275 struct i2c_client *tcpc_client; member
817 ret |= anx7411_reg_write(ctx->tcpc_client, FW_CTRL_0, in anx7411_config()
824 ret |= anx7411_reg_write(ctx->tcpc_client, VBUS_THRESHOLD_H, 0xff); in anx7411_config()
825 ret |= anx7411_reg_write(ctx->tcpc_client, VBUS_THRESHOLD_L, 0x03); in anx7411_config()
828 ret |= anx7411_reg_write(ctx->tcpc_client, FW_PARAM, in anx7411_config()
829 anx7411_reg_read(ctx->tcpc_client, FW_PARAM) | in anx7411_config()
888 ret |= anx7411_reg_write(ctx->tcpc_client, ANALOG_CTRL_10, 0x80); in anx7411_chip_standby()
892 ret |= anx7411_reg_write(ctx->tcpc_client, TCPC_ROLE_CTRL, in anx7411_chip_standby()
896 ret |= anx7411_reg_write(ctx->tcpc_client, TCPC_COMMAND, in anx7411_chip_standby()
900 ret |= anx7411_reg_write(ctx->tcpc_client, in anx7411_chip_standby()
[all …]
/linux/drivers/gpu/drm/bridge/analogix/
H A Danx7625.h447 struct i2c_client *tcpc_client; member
H A Danx7625.c58 if (client == ctx->i2c.tcpc_client) in i2c_access_workaround()
1501 anx7625_reg_write(ctx, ctx->i2c.tcpc_client, in _anx7625_hpd_polling()
1574 status = anx7625_reg_write(ctx, ctx->i2c.tcpc_client, in anx7625_hpd_change_detect()
2539 ctx->i2c.tcpc_client = devm_i2c_new_dummy_device(dev, client->adapter, in anx7625_register_i2c_dummy_clients()
2541 if (IS_ERR(ctx->i2c.tcpc_client)) in anx7625_register_i2c_dummy_clients()
2542 return PTR_ERR(ctx->i2c.tcpc_client); in anx7625_register_i2c_dummy_clients()