Searched refs:genpd_num (Results 1 – 2 of 2) sorted by relevance
1460 camss->genpd_num = of_count_phandle_with_args(dev->of_node, in camss_configure_pd()1463 if (camss->genpd_num < 0) { in camss_configure_pd()1465 return camss->genpd_num; in camss_configure_pd()1473 if (camss->genpd_num == 1) in camss_configure_pd()1476 camss->genpd = devm_kmalloc_array(dev, camss->genpd_num, in camss_configure_pd()1481 camss->genpd_link = devm_kmalloc_array(dev, camss->genpd_num, in camss_configure_pd()1487 for (i = 0; i < camss->genpd_num; i++) { in camss_configure_pd()1709 if (camss->genpd_num == 1) in camss_delete()1712 for (i = 0; i < camss->genpd_num; i++) { in camss_delete()
102 int genpd_num; member