Lines Matching refs:index
2197 * index.
2237 * genpd_xlate_onecell() - Xlate function using a single index.
2243 * A single cell is used as an index into an array of PM domains specified in
2257 pr_err("%s: invalid domain index %u\n", __func__, idx);
2394 "Failed to add OPP table for index %d\n", i);
2728 unsigned int index, bool power_on)
2736 "#power-domain-cells", index, &pd_args);
2762 pstate = of_get_required_opp_performance_state(dev->of_node, index);
2832 * @index: The index of the PM domain.
2834 * Parse device's OF node to find a PM domain specifier at the provided @index.
2846 unsigned int index)
2855 /* Verify that the index is within a valid range. */
2858 if (index >= num_domains)
2866 dev_set_name(virt_dev, "genpd:%u:%s", index, dev_name(dev));
2877 /* Try to attach the device to the PM domain at the specified index. */
2878 ret = __genpd_dev_pm_attach(virt_dev, dev, index, false);
2902 int index;
2907 index = of_property_match_string(dev->of_node, "power-domain-names",
2909 if (index < 0)
2912 return genpd_dev_pm_attach_by_id(dev, index);