Lines Matching refs:cpumask
108 void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask,
114 WARN_ON(cpumask_empty(cpumask));
116 for_each_cpu(cpu, cpumask) {
132 * dev_pm_opp_cpumask_remove_table() - Removes OPP table for @cpumask
133 * @cpumask: cpumask for which OPP table needs to be removed
135 * This removes the OPP tables for CPUs present in the @cpumask.
137 * the cpus in @cpumask.
139 void dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask)
141 _dev_pm_opp_cpumask_remove_table(cpumask, -1);
148 * @cpumask: cpumask of the CPUs which share the OPP table with @cpu_dev
151 * @cpumask.
156 const struct cpumask *cpumask)
167 for_each_cpu(cpu, cpumask) {
196 * dev_pm_opp_get_sharing_cpus() - Get cpumask of CPUs sharing OPPs with @cpu_dev
198 * @cpumask: cpumask to update with information of sharing CPUs
200 * This updates the @cpumask with CPUs that are sharing OPPs with @cpu_dev.
205 int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask)
220 cpumask_clear(cpumask);
225 cpumask_set_cpu(opp_dev->dev->id, cpumask);
228 cpumask_set_cpu(cpu_dev->id, cpumask);