Lines Matching defs:cpumask
1197 * dev_pm_opp_of_cpumask_remove_table() - Removes OPP table for @cpumask
1198 * @cpumask: cpumask for which OPP table needs to be removed
1200 * This removes the OPP tables for CPUs present in the @cpumask.
1203 void dev_pm_opp_of_cpumask_remove_table(const struct cpumask *cpumask)
1205 _dev_pm_opp_cpumask_remove_table(cpumask, -1);
1210 * dev_pm_opp_of_cpumask_add_table() - Adds OPP table for @cpumask
1211 * @cpumask: cpumask for which OPP table needs to be added.
1213 * This adds the OPP tables for CPUs present in the @cpumask.
1215 int dev_pm_opp_of_cpumask_add_table(const struct cpumask *cpumask)
1220 if (WARN_ON(cpumask_empty(cpumask)))
1223 for_each_cpu(cpu, cpumask) {
1249 _dev_pm_opp_cpumask_remove_table(cpumask, cpu);
1261 * dev_pm_opp_of_get_sharing_cpus() - Get cpumask of CPUs sharing OPPs with
1266 * @cpumask: cpumask to update with information of sharing CPUs
1268 * This updates the @cpumask with CPUs that are sharing OPPs with @cpu_dev.
1273 struct cpumask *cpumask)
1286 cpumask_set_cpu(cpu_dev->id, cpumask);
1316 cpumask_set_cpu(cpu, cpumask);
1543 int dev_pm_opp_of_register_em(struct device *dev, struct cpumask *cpus)