Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-tegra194.c278 struct regulator *slot_ctl_12v; member
1305 pcie->slot_ctl_12v = devm_regulator_get_optional(pcie->dev, "vpcie12v"); in tegra_pcie_get_slot_regulators()
1306 if (IS_ERR(pcie->slot_ctl_12v)) { in tegra_pcie_get_slot_regulators()
1307 if (PTR_ERR(pcie->slot_ctl_12v) != -ENODEV) in tegra_pcie_get_slot_regulators()
1308 return PTR_ERR(pcie->slot_ctl_12v); in tegra_pcie_get_slot_regulators()
1310 pcie->slot_ctl_12v = NULL; in tegra_pcie_get_slot_regulators()
1329 if (pcie->slot_ctl_12v) { in tegra_pcie_enable_slot_regulators()
1330 ret = regulator_enable(pcie->slot_ctl_12v); in tegra_pcie_enable_slot_regulators()
1343 if (pcie->slot_ctl_3v3 || pcie->slot_ctl_12v) in tegra_pcie_enable_slot_regulators()
1356 if (pcie->slot_ctl_12v) in tegra_pcie_disable_slot_regulators()
[all …]