Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/typec/
Danx7411.c314 static int anx7411_reg_write(struct i2c_client *client, in anx7411_reg_write() function
753 ret |= anx7411_reg_write(ctx->spi_client, CMD_SEND_BUF, in anx7411_send_msg()
775 ret = anx7411_reg_write(ctx->spi_client, CMD_RECV_BUF, 0); in anx7411_process_cmd()
813 ret = anx7411_reg_write(ctx->spi_client, PD_REV_INIT, PD_REV20); in anx7411_config()
814 ret |= anx7411_reg_write(ctx->tcpc_client, FW_CTRL_0, in anx7411_config()
817 ret |= anx7411_reg_write(ctx->spi_client, FW_CTRL_1, in anx7411_config()
821 ret |= anx7411_reg_write(ctx->tcpc_client, VBUS_THRESHOLD_H, 0xff); in anx7411_config()
822 ret |= anx7411_reg_write(ctx->tcpc_client, VBUS_THRESHOLD_L, 0x03); in anx7411_config()
825 ret |= anx7411_reg_write(ctx->tcpc_client, FW_PARAM, in anx7411_config()
828 ret |= anx7411_reg_write(ctx->spi_client, INT_MASK, 0); in anx7411_config()
[all …]