Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/power/domain/
H A Dmtk-power-domain.c70 struct scp_domain *scpd; member
191 struct scp_domain *scpd = data->scpd; in scpsys_domain_is_on() local
218 writel(SPM_EN, scpd->base); in scpsys_power_on()
310 data = &scpd->data[power_domain->id]; in scpsys_power_request()
311 data->scpd = scpd; in scpsys_power_request()
327 switch (scpd->type) { in mtk_power_domain_hook()
329 scpd->data = scp_domain_mt7623; in mtk_power_domain_hook()
332 scpd->data = scp_domain_mt7629; in mtk_power_domain_hook()
349 scpd->base = dev_read_addr_ptr(dev); in mtk_power_domain_probe()
350 if (!scpd->base) in mtk_power_domain_probe()
[all …]
/openbmc/linux/drivers/pmdomain/mediatek/
H A Dmtk-scpsys.c174 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()
196 if (!scpd->supply) in scpsys_regulator_enable()
204 if (!scpd->supply) in scpsys_regulator_disable()
281 struct scp *scp = scpd->scp; in scpsys_bus_protect_enable()
287 scpd->data->bus_prot_mask, in scpsys_bus_protect_enable()
476 scpd->supply = NULL; in init_scp()
492 scpd->scp = scp; in init_scp()
494 scpd->data = data; in init_scp()
[all …]