Home
last modified time | relevance | path

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

/drivers/pci/controller/dwc/
Dpcie-dw-rockchip.c53 struct regulator *vpcie3v3; member
226 rockchip->vpcie3v3 = devm_regulator_get_optional(dev, "vpcie3v3"); in rockchip_pcie_probe()
227 if (IS_ERR(rockchip->vpcie3v3)) { in rockchip_pcie_probe()
228 if (PTR_ERR(rockchip->vpcie3v3) != -ENODEV) in rockchip_pcie_probe()
229 return dev_err_probe(dev, PTR_ERR(rockchip->vpcie3v3), in rockchip_pcie_probe()
231 rockchip->vpcie3v3 = NULL; in rockchip_pcie_probe()
233 ret = regulator_enable(rockchip->vpcie3v3); in rockchip_pcie_probe()
260 if (rockchip->vpcie3v3) in rockchip_pcie_probe()
261 regulator_disable(rockchip->vpcie3v3); in rockchip_pcie_probe()
/drivers/pci/controller/
Dpcie-rockchip-host.c261 if (IS_ERR(rockchip->vpcie3v3)) in rockchip_pcie_set_power_limit()
270 curr = regulator_get_current_limit(rockchip->vpcie3v3); in rockchip_pcie_set_power_limit()
600 rockchip->vpcie3v3 = devm_regulator_get_optional(dev, "vpcie3v3"); in rockchip_pcie_parse_host_dt()
601 if (IS_ERR(rockchip->vpcie3v3)) { in rockchip_pcie_parse_host_dt()
602 if (PTR_ERR(rockchip->vpcie3v3) != -ENODEV) in rockchip_pcie_parse_host_dt()
603 return PTR_ERR(rockchip->vpcie3v3); in rockchip_pcie_parse_host_dt()
631 if (!IS_ERR(rockchip->vpcie3v3)) { in rockchip_pcie_set_vpcie()
632 err = regulator_enable(rockchip->vpcie3v3); in rockchip_pcie_set_vpcie()
656 if (!IS_ERR(rockchip->vpcie3v3)) in rockchip_pcie_set_vpcie()
657 regulator_disable(rockchip->vpcie3v3); in rockchip_pcie_set_vpcie()
[all …]
Dpcie-rockchip.h308 struct regulator *vpcie3v3; /* 3.3V power supply */ member