Home
last modified time | relevance | path

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

/linux/drivers/pmdomain/mediatek/
H A Dmtk-scpsys.c172 static int scpsys_domain_is_on(struct scp_domain *scpd) in scpsys_domain_is_on() argument
174 struct scp *scp = scpd->scp; in scpsys_domain_is_on()
177 scpd->data->sta_mask; in scpsys_domain_is_on()
179 scpd->data->sta_mask; in scpsys_domain_is_on()
194 static int scpsys_regulator_enable(struct scp_domain *scpd) in scpsys_regulator_enable() argument
196 if (!scpd->supply) in scpsys_regulator_enable()
199 return regulator_enable(scpd->supply); in scpsys_regulator_enable()
202 static int scpsys_regulator_disable(struct scp_domain *scpd) in scpsys_regulator_disable() argument
204 if (!scpd->supply) in scpsys_regulator_disable()
207 return regulator_disable(scpd->supply); in scpsys_regulator_disable()
[all …]