Home
last modified time | relevance | path

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

/drivers/usb/typec/
Dstusb160x.c152 struct regulator *vconn_supply; member
259 if (chip->vconn_supply) { in stusb160x_set_vconn()
261 ret = regulator_enable(chip->vconn_supply); in stusb160x_set_vconn()
269 regulator_disable(chip->vconn_supply); in stusb160x_set_vconn()
283 if (chip->vconn_supply && on) in stusb160x_set_vconn()
284 regulator_disable(chip->vconn_supply); in stusb160x_set_vconn()
676 chip->vconn_supply = devm_regulator_get_optional(chip->dev, "vconn"); in stusb160x_probe()
677 if (IS_ERR(chip->vconn_supply)) { in stusb160x_probe()
678 ret = PTR_ERR(chip->vconn_supply); in stusb160x_probe()
681 chip->vconn_supply = NULL; in stusb160x_probe()