Searched refs:pwrc_domain (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/drivers/pmdomain/amlogic/ |
| H A D | meson-ee-pwrc.c | 365 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_off() 374 pwrc_domain->desc.mem_pd[i].reg, in meson_ee_pwrc_off() 375 pwrc_domain->desc.mem_pd[i].mask, in meson_ee_pwrc_off() 376 pwrc_domain->desc.mem_pd[i].mask); in meson_ee_pwrc_off() 380 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_off() 386 if (pwrc_domain->num_clks) { in meson_ee_pwrc_off() 389 pwrc_domain->clks); in meson_ee_pwrc_off() 401 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_on() 409 pwrc_domain->desc.mem_pd[i].reg, in meson_ee_pwrc_on() 418 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_on() [all …]
|
| H A D | meson-secure-pwrc.c | 45 bool (*is_off)(struct meson_secure_pwrc_domain *pwrc_domain); 53 static bool pwrc_secure_is_off(struct meson_secure_pwrc_domain *pwrc_domain) in pwrc_secure_is_off() argument 57 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_GET, &is_off, in pwrc_secure_is_off() 58 pwrc_domain->index, 0, 0, 0, 0) < 0) in pwrc_secure_is_off() 67 struct meson_secure_pwrc_domain *pwrc_domain = in meson_secure_pwrc_off() local 70 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_off() 71 pwrc_domain->index, PWRC_OFF, 0, 0, 0) < 0) { in meson_secure_pwrc_off() 82 struct meson_secure_pwrc_domain *pwrc_domain = in meson_secure_pwrc_on() local 85 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_on() 86 pwrc_domain->index, PWRC_ON, 0, 0, 0) < 0) { in meson_secure_pwrc_on()
|