Searched refs:anx7411_reg_write (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/usb/typec/ |
D | anx7411.c | 315 static int anx7411_reg_write(struct i2c_client *client, in anx7411_reg_write() function 754 ret |= anx7411_reg_write(ctx->spi_client, CMD_SEND_BUF, in anx7411_send_msg() 776 ret = anx7411_reg_write(ctx->spi_client, CMD_RECV_BUF, 0); in anx7411_process_cmd() 814 ret = anx7411_reg_write(ctx->spi_client, PD_REV_INIT, PD_REV20); in anx7411_config() 815 ret |= anx7411_reg_write(ctx->tcpc_client, FW_CTRL_0, in anx7411_config() 818 ret |= anx7411_reg_write(ctx->spi_client, FW_CTRL_1, in anx7411_config() 822 ret |= anx7411_reg_write(ctx->tcpc_client, VBUS_THRESHOLD_H, 0xff); in anx7411_config() 823 ret |= anx7411_reg_write(ctx->tcpc_client, VBUS_THRESHOLD_L, 0x03); in anx7411_config() 826 ret |= anx7411_reg_write(ctx->tcpc_client, FW_PARAM, in anx7411_config() 829 ret |= anx7411_reg_write(ctx->spi_client, INT_MASK, 0); in anx7411_config() [all …]
|