Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Danx7411.c275 struct i2c_client *spi_client; member
340 ret = anx7411_reg_read(ctx->spi_client, REQUEST_CURRENT); in anx7411_detect_power_mode()
346 ret = anx7411_reg_read(ctx->spi_client, REQUEST_VOLTAGE); in anx7411_detect_power_mode()
398 struct device *dev = &ctx->spi_client->dev; in anx7411_detect_cc_orientation()
404 ret = anx7411_reg_read(ctx->spi_client, CC_STATUS); in anx7411_detect_cc_orientation()
489 ret = anx7411_reg_read(ctx->spi_client, SYSTEM_STSTUS); in anx7411_data_role_detect()
510 ret = anx7411_reg_read(ctx->spi_client, SYSTEM_STSTUS); in anx7411_power_role_detect()
553 struct device *dev = &ctx->spi_client->dev; in anx7411_typec_register_altmode()
652 struct device *dev = &ctx->spi_client->dev; in anx7411_parse_cmd()
657 cur_50ma = anx7411_reg_read(ctx->spi_client, REQUEST_CURRENT); in anx7411_parse_cmd()
[all …]