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()
149 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
155 pwrc->domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
160 pwrc->xlate.num_domains = match->count; in meson_secure_pwrc_probe()
163 for (i = 0 ; i < match->count ; ++i) { in meson_secure_pwrc_probe()
166 if (!match->domains[i].index) in meson_secure_pwrc_probe()
170 dom->index = match->domains[i].index; in meson_secure_pwrc_probe()
171 dom->base.name = match->domains[i].name; in meson_secure_pwrc_probe()
172 dom->base.flags = match->domains[i].flags; in meson_secure_pwrc_probe()
176 pm_genpd_init(&dom->base, NULL, match->domains[i].is_off(dom)); in meson_secure_pwrc_probe()