Searched refs:target_pwrs (Results 1 – 2 of 2) sorted by relevance
167 if (!hpriv->target_pwrs[i]) in ahci_platform_enable_regulators()170 rc = regulator_enable(hpriv->target_pwrs[i]); in ahci_platform_enable_regulators()179 if (hpriv->target_pwrs[i]) in ahci_platform_enable_regulators()180 regulator_disable(hpriv->target_pwrs[i]); in ahci_platform_enable_regulators()201 if (!hpriv->target_pwrs[i]) in ahci_platform_disable_regulators()203 regulator_disable(hpriv->target_pwrs[i]); in ahci_platform_disable_regulators()303 if (hpriv->target_pwrs && hpriv->target_pwrs[c]) in ahci_platform_put_resources()304 regulator_put(hpriv->target_pwrs[c]); in ahci_platform_put_resources()306 kfree(hpriv->target_pwrs); in ahci_platform_put_resources()359 hpriv->target_pwrs[port] = target_pwr; in ahci_platform_get_regulator()[all …]
345 struct regulator **target_pwrs; /* Optional */ member