Searched refs:ppu (Results 1 – 3 of 3) sorted by relevance
106 struct genpd_onecell_data *ppu; in sun20i_ppu_probe() local121 ppu = devm_kzalloc(dev, sizeof(*ppu), GFP_KERNEL); in sun20i_ppu_probe()122 if (!ppu) in sun20i_ppu_probe()125 ppu->domains = devm_kcalloc(dev, desc->num_domains, in sun20i_ppu_probe()126 sizeof(*ppu->domains), GFP_KERNEL); in sun20i_ppu_probe()127 if (!ppu->domains) in sun20i_ppu_probe()130 ppu->num_domains = desc->num_domains; in sun20i_ppu_probe()131 platform_set_drvdata(pdev, ppu); in sun20i_ppu_probe()149 for (unsigned int i = 0; i < ppu->num_domains; ++i) { in sun20i_ppu_probe()164 ppu->domains[i] = &pd->genpd; in sun20i_ppu_probe()[all …]
2 obj-$(CONFIG_SUN20I_PPU) += sun20i-ppu.o
906 ppu: power-controller@7001000 { label907 compatible = "allwinner,sun20i-d1-ppu";