Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/soc/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 in scpsys_regulator_disable()
233 scpsys_sram_enable(struct scp_domain *scpd, void __iomem *ctl_addr) scpsys_sram_enable() argument
263 scpsys_sram_disable(struct scp_domain *scpd, void __iomem *ctl_addr) scpsys_sram_disable() argument
279 scpsys_bus_protect_enable(struct scp_domain *scpd) scpsys_bus_protect_enable() argument
291 scpsys_bus_protect_disable(struct scp_domain *scpd) scpsys_bus_protect_disable() argument
305 struct scp_domain *scpd = container_of(genpd, struct scp_domain, genpd); scpsys_power_on() local
363 struct scp_domain *scpd = container_of(genpd, struct scp_domain, genpd); scpsys_power_off() local
470 struct scp_domain *scpd = &scp->domains[i]; init_scp() local
487 struct scp_domain *scpd = &scp->domains[i]; init_scp() local
525 struct scp_domain *scpd = &scp->domains[i]; mtk_register_power_domains() local
[all...]
/kernel/linux/linux-6.6/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 in scpsys_regulator_disable()
233 scpsys_sram_enable(struct scp_domain *scpd, void __iomem *ctl_addr) scpsys_sram_enable() argument
263 scpsys_sram_disable(struct scp_domain *scpd, void __iomem *ctl_addr) scpsys_sram_disable() argument
279 scpsys_bus_protect_enable(struct scp_domain *scpd) scpsys_bus_protect_enable() argument
291 scpsys_bus_protect_disable(struct scp_domain *scpd) scpsys_bus_protect_disable() argument
305 struct scp_domain *scpd = container_of(genpd, struct scp_domain, genpd); scpsys_power_on() local
363 struct scp_domain *scpd = container_of(genpd, struct scp_domain, genpd); scpsys_power_off() local
470 struct scp_domain *scpd = &scp->domains[i]; init_scp() local
487 struct scp_domain *scpd = &scp->domains[i]; init_scp() local
525 struct scp_domain *scpd = &scp->domains[i]; mtk_register_power_domains() local
[all...]

Completed in 3 milliseconds