Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/ata/
Dlibahci_platform.c212 if (!hpriv->target_pwrs[i]) in ahci_platform_enable_regulators()
215 rc = regulator_enable(hpriv->target_pwrs[i]); in ahci_platform_enable_regulators()
224 if (hpriv->target_pwrs[i]) in ahci_platform_enable_regulators()
225 regulator_disable(hpriv->target_pwrs[i]); in ahci_platform_enable_regulators()
246 if (!hpriv->target_pwrs[i]) in ahci_platform_disable_regulators()
248 regulator_disable(hpriv->target_pwrs[i]); in ahci_platform_disable_regulators()
346 if (hpriv->target_pwrs && hpriv->target_pwrs[c]) in ahci_platform_put_resources()
347 regulator_put(hpriv->target_pwrs[c]); in ahci_platform_put_resources()
349 kfree(hpriv->target_pwrs); in ahci_platform_put_resources()
402 hpriv->target_pwrs[port] = target_pwr; in ahci_platform_get_regulator()
[all …]
Dahci.h351 struct regulator **target_pwrs; /* Optional */ member