Lines Matching refs:cpumask
1060 * dev_pm_opp_of_cpumask_remove_table() - Removes OPP table for @cpumask
1061 * @cpumask: cpumask for which OPP table needs to be removed
1063 * This removes the OPP tables for CPUs present in the @cpumask.
1066 void dev_pm_opp_of_cpumask_remove_table(const struct cpumask *cpumask)
1068 _dev_pm_opp_cpumask_remove_table(cpumask, -1);
1073 * dev_pm_opp_of_cpumask_add_table() - Adds OPP table for @cpumask
1074 * @cpumask: cpumask for which OPP table needs to be added.
1076 * This adds the OPP tables for CPUs present in the @cpumask.
1078 int dev_pm_opp_of_cpumask_add_table(const struct cpumask *cpumask)
1083 if (WARN_ON(cpumask_empty(cpumask))) {
1087 for_each_cpu(cpu, cpumask)
1112 _dev_pm_opp_cpumask_remove_table(cpumask, cpu);
1124 * dev_pm_opp_of_get_sharing_cpus() - Get cpumask of CPUs sharing OPPs with
1129 * @cpumask: cpumask to update with information of sharing CPUs
1131 * This updates the @cpumask with CPUs that are sharing OPPs with @cpu_dev.
1135 int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask)
1147 cpumask_set_cpu(cpu_dev->id, cpumask);
1178 cpumask_set_cpu(cpu, cpumask);
1317 int dev_pm_opp_of_register_em(struct device *dev, struct cpumask *cpus)