Lines Matching refs:em_pd
76 debugfs_create_file("cpus", 0444, d, dev->em_pd->cpus, in em_debug_create_pd()
79 debugfs_create_file("flags", 0444, d, dev->em_pd, in em_debug_create_pd()
83 for (i = 0; i < dev->em_pd->nr_perf_states; i++) in em_debug_create_pd()
84 em_debug_create_ps(&dev->em_pd->table[i], d); in em_debug_create_pd()
232 cpu_dev->em_pd = pd; in em_create_pd()
235 dev->em_pd = pd; in em_create_pd()
242 struct em_perf_domain *pd = dev->em_pd; in em_cpufreq_update_efficiencies()
291 return dev->em_pd; in em_pd_get()
354 if (dev->em_pd) { in em_dev_register_perf_domain()
398 dev->em_pd->flags |= flags; in em_dev_register_perf_domain()
419 if (IS_ERR_OR_NULL(dev) || !dev->em_pd) in em_dev_unregister_perf_domain()
433 kfree(dev->em_pd->table); in em_dev_unregister_perf_domain()
434 kfree(dev->em_pd); in em_dev_unregister_perf_domain()
435 dev->em_pd = NULL; in em_dev_unregister_perf_domain()