Lines Matching refs:match
126 const struct meson_secure_pwrc_domain_data *match; in meson_secure_pwrc_probe() local
128 match = of_device_get_match_data(&pdev->dev); in meson_secure_pwrc_probe()
129 if (!match) { in meson_secure_pwrc_probe()
151 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
157 pwrc->domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
162 pwrc->xlate.num_domains = match->count; in meson_secure_pwrc_probe()
165 for (i = 0 ; i < match->count ; ++i) { in meson_secure_pwrc_probe()
168 if (!match->domains[i].index) in meson_secure_pwrc_probe()
172 dom->index = match->domains[i].index; in meson_secure_pwrc_probe()
173 dom->base.name = match->domains[i].name; in meson_secure_pwrc_probe()
174 dom->base.flags = match->domains[i].flags; in meson_secure_pwrc_probe()
178 pm_genpd_init(&dom->base, NULL, match->domains[i].is_off(dom)); in meson_secure_pwrc_probe()