Lines Matching full:powergates
216 struct tegra_powergate_info *powergates; in tegra_bpmp_probe_powergates() local
229 powergates = kcalloc(max_id + 1, sizeof(*powergates), GFP_KERNEL); in tegra_bpmp_probe_powergates()
230 if (!powergates) in tegra_bpmp_probe_powergates()
234 struct tegra_powergate_info *info = &powergates[count]; in tegra_bpmp_probe_powergates()
248 *powergatesp = powergates; in tegra_bpmp_probe_powergates()
254 struct tegra_powergate_info *powergates, in tegra_bpmp_add_powergates() argument
268 powergate = tegra_powergate_add(bpmp, &powergates[i]); in tegra_bpmp_add_powergates()
331 struct tegra_powergate_info *powergates; in tegra_bpmp_init_powergates() local
336 err = tegra_bpmp_probe_powergates(bpmp, &powergates); in tegra_bpmp_init_powergates()
344 err = tegra_bpmp_add_powergates(bpmp, powergates, count); in tegra_bpmp_init_powergates()
358 kfree(powergates[i].name); in tegra_bpmp_init_powergates()
360 kfree(powergates); in tegra_bpmp_init_powergates()