Home
last modified time | relevance | path

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

/linux/drivers/soc/amlogic/
A Dmeson-ee-pwrc.c333 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_off()
342 pwrc_domain->desc.mem_pd[i].reg, in meson_ee_pwrc_off()
343 pwrc_domain->desc.mem_pd[i].mask, in meson_ee_pwrc_off()
344 pwrc_domain->desc.mem_pd[i].mask); in meson_ee_pwrc_off()
348 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_off()
354 if (pwrc_domain->num_clks) { in meson_ee_pwrc_off()
357 pwrc_domain->clks); in meson_ee_pwrc_off()
369 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_on()
377 pwrc_domain->desc.mem_pd[i].reg, in meson_ee_pwrc_on()
386 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_on()
[all …]
A Dmeson-secure-pwrc.c37 bool (*is_off)(struct meson_secure_pwrc_domain *pwrc_domain);
45 static bool pwrc_secure_is_off(struct meson_secure_pwrc_domain *pwrc_domain) in pwrc_secure_is_off() argument
49 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_GET, &is_off, in pwrc_secure_is_off()
50 pwrc_domain->index, 0, 0, 0, 0) < 0) in pwrc_secure_is_off()
59 struct meson_secure_pwrc_domain *pwrc_domain = in meson_secure_pwrc_off() local
62 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_off()
63 pwrc_domain->index, PWRC_OFF, 0, 0, 0) < 0) { in meson_secure_pwrc_off()
74 struct meson_secure_pwrc_domain *pwrc_domain = in meson_secure_pwrc_on() local
77 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_on()
78 pwrc_domain->index, PWRC_ON, 0, 0, 0) < 0) { in meson_secure_pwrc_on()

Completed in 5 milliseconds