Lines Matching defs:cpumask
1040 * dev_pm_opp_of_cpumask_remove_table() - Removes OPP table for @cpumask
1041 * @cpumask: cpumask for which OPP table needs to be removed
1043 * This removes the OPP tables for CPUs present in the @cpumask.
1046 void dev_pm_opp_of_cpumask_remove_table(const struct cpumask *cpumask)
1048 _dev_pm_opp_cpumask_remove_table(cpumask, -1);
1053 * dev_pm_opp_of_cpumask_add_table() - Adds OPP table for @cpumask
1054 * @cpumask: cpumask for which OPP table needs to be added.
1056 * This adds the OPP tables for CPUs present in the @cpumask.
1058 int dev_pm_opp_of_cpumask_add_table(const struct cpumask *cpumask)
1063 if (WARN_ON(cpumask_empty(cpumask)))
1066 for_each_cpu(cpu, cpumask) {
1092 _dev_pm_opp_cpumask_remove_table(cpumask, cpu);
1104 * dev_pm_opp_of_get_sharing_cpus() - Get cpumask of CPUs sharing OPPs with
1109 * @cpumask: cpumask to update with information of sharing CPUs
1111 * This updates the @cpumask with CPUs that are sharing OPPs with @cpu_dev.
1116 struct cpumask *cpumask)
1128 cpumask_set_cpu(cpu_dev->id, cpumask);
1157 cpumask_set_cpu(cpu, cpumask);
1292 int dev_pm_opp_of_register_em(struct device *dev, struct cpumask *cpus)