Searched refs:lead_cpu (Results 1 – 3 of 3) sorted by relevance
89 int lead_cpu; in rapl_cpu_down_prep() local96 lead_cpu = cpumask_first(&rp->cpumask); in rapl_cpu_down_prep()97 if (lead_cpu >= nr_cpu_ids) in rapl_cpu_down_prep()99 else if (rp->lead_cpu == cpu) in rapl_cpu_down_prep()100 rp->lead_cpu = lead_cpu; in rapl_cpu_down_prep()
566 return rp->lead_cpu >= 0 ? rp->lead_cpu : rp->id; in get_rid()587 rp->lead_cpu >= 0 ? topology_physical_package_id(rp->lead_cpu) : in rapl_init_domains()1003 if (rp->lead_cpu < 0) in package_power_limit_irq_save()1009 smp_call_function_single(rp->lead_cpu, power_limit_irq_save_cpu, rp, 1); in package_power_limit_irq_save()1020 if (rp->lead_cpu < 0) in package_power_limit_irq_restore()2200 rp->lead_cpu = id; in rapl_add_package_cpuslocked()2209 rp->lead_cpu = -1; in rapl_add_package_cpuslocked()
194 int lead_cpu; /* one active cpu per package for access */ member