Searched refs:pwr_dom_count (Results 1 – 1 of 1) sorted by relevance
234 int pwr_dom_count; member506 if (sdev->pwr_dom_count <= 1) in simpledrm_device_detach_genpd()509 for (i = sdev->pwr_dom_count - 1; i >= 0; i--) { in simpledrm_device_detach_genpd()522 sdev->pwr_dom_count = of_count_phandle_with_args(dev->of_node, "power-domains", in simpledrm_device_attach_genpd()528 if (sdev->pwr_dom_count <= 1) in simpledrm_device_attach_genpd()531 sdev->pwr_dom_devs = devm_kcalloc(dev, sdev->pwr_dom_count, in simpledrm_device_attach_genpd()537 sdev->pwr_dom_links = devm_kcalloc(dev, sdev->pwr_dom_count, in simpledrm_device_attach_genpd()543 for (i = 0; i < sdev->pwr_dom_count; i++) { in simpledrm_device_attach_genpd()