Lines Matching refs:slot_ctl_12v
278 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()
1357 regulator_disable(pcie->slot_ctl_12v); in tegra_pcie_disable_slot_regulators()