Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-keystone/
Dpsc.c68 u32 psc_get_domain_num(u32 mod_num) in psc_get_domain_num() argument
73 domain_num = __raw_readl(KS2_PSC_BASE + PSC_REG_MDCFG(mod_num)); in psc_get_domain_num()
93 int psc_set_state(u32 mod_num, u32 state) in psc_set_state() argument
106 v = __raw_readl(KS2_PSC_BASE + PSC_REG_MDCFG(mod_num)); in psc_set_state()
130 mdctl = __raw_readl(KS2_PSC_BASE + PSC_REG_MDCTL(mod_num)); in psc_set_state()
133 __raw_writel(mdctl, KS2_PSC_BASE + PSC_REG_MDCTL(mod_num)); in psc_set_state()
155 int psc_enable_module(u32 mod_num) in psc_enable_module() argument
160 mdctl = __raw_readl(KS2_PSC_BASE + PSC_REG_MDCTL(mod_num)); in psc_enable_module()
164 return psc_set_state(mod_num, PSC_REG_VAL_MDCTL_NEXT_ON); in psc_enable_module()
173 int psc_disable_module(u32 mod_num) in psc_disable_module() argument
[all …]
/external/u-boot/arch/arm/mach-keystone/include/mach/
Dpsc_defs.h99 u32 psc_get_domain_num(u32 mod_num);
100 int psc_enable_module(u32 mod_num);
101 int psc_disable_module(u32 mod_num);
103 int psc_module_keep_in_reset_enabled(u32 mod_num, bool gate_clocks);
104 int psc_module_release_from_reset(u32 mod_num);