Lines Matching refs:domains
27 struct meson_secure_pwrc_domain *domains;
41 struct meson_secure_pwrc_domain_desc *domains;
151 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count,
152 sizeof(*pwrc->xlate.domains),
154 if (!pwrc->xlate.domains)
157 pwrc->domains = devm_kcalloc(&pdev->dev, match->count,
158 sizeof(*pwrc->domains), GFP_KERNEL);
159 if (!pwrc->domains)
166 struct meson_secure_pwrc_domain *dom = &pwrc->domains[i];
168 if (!match->domains[i].index)
172 dom->index = match->domains[i].index;
173 dom->base.name = match->domains[i].name;
174 dom->base.flags = match->domains[i].flags;
178 pm_genpd_init(&dom->base, NULL, match->domains[i].is_off(dom));
180 pwrc->xlate.domains[i] = &dom->base;
187 .domains = a1_pwrc_domains,