Searched refs:anx7411_reg_write (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/typec/ |
H A D | anx7411.c | 317 static int anx7411_reg_write(struct i2c_client *client, in anx7411_reg_write() function 756 ret |= anx7411_reg_write(ctx->spi_client, CMD_SEND_BUF, in anx7411_send_msg() 778 ret = anx7411_reg_write(ctx->spi_client, CMD_RECV_BUF, 0); in anx7411_process_cmd() 816 ret = anx7411_reg_write(ctx->spi_client, PD_REV_INIT, PD_REV20); in anx7411_config() 817 ret |= anx7411_reg_write(ctx->tcpc_client, FW_CTRL_0, in anx7411_config() 820 ret |= anx7411_reg_write(ctx->spi_client, FW_CTRL_1, 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() 831 ret |= anx7411_reg_write(ctx->spi_client, INT_MASK, 0); in anx7411_config() [all …]
|