Lines Matching defs:pwrc_domain
39 bool (*is_off)(struct meson_secure_pwrc_domain *pwrc_domain);
47 static bool pwrc_secure_is_off(struct meson_secure_pwrc_domain *pwrc_domain)
51 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_GET, &is_off,
52 pwrc_domain->index, 0, 0, 0, 0) < 0)
61 struct meson_secure_pwrc_domain *pwrc_domain =
64 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL,
65 pwrc_domain->index, PWRC_OFF, 0, 0, 0) < 0) {
76 struct meson_secure_pwrc_domain *pwrc_domain =
79 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL,
80 pwrc_domain->index, PWRC_ON, 0, 0, 0) < 0) {