Searched refs:opp_dev (Results 1 – 4 of 4) sorted by relevance
/drivers/base/power/opp/ |
D | debugfs.c | 86 static int opp_list_debug_create_dir(struct opp_device *opp_dev, in opp_list_debug_create_dir() argument 89 const struct device *dev = opp_dev->dev; in opp_list_debug_create_dir() 101 opp_dev->dentry = d; in opp_list_debug_create_dir() 107 static int opp_list_debug_create_link(struct opp_device *opp_dev, in opp_list_debug_create_link() argument 110 const struct device *dev = opp_dev->dev; in opp_list_debug_create_link() 114 opp_set_dev_name(opp_dev->dev, name); in opp_list_debug_create_link() 123 opp_dev->dentry = d; in opp_list_debug_create_link() 139 int opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table) in opp_debug_register() argument 147 return opp_list_debug_create_link(opp_dev, opp_table); in opp_debug_register() 149 return opp_list_debug_create_dir(opp_dev, opp_table); in opp_debug_register() [all …]
|
D | core.c | 46 struct opp_device *opp_dev; in _find_opp_dev() local 48 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 49 if (opp_dev->dev == dev) in _find_opp_dev() 50 return opp_dev; in _find_opp_dev() 701 struct opp_device *opp_dev; in _kfree_opp_dev_rcu() local 703 opp_dev = container_of(head, struct opp_device, rcu_head); in _kfree_opp_dev_rcu() 704 kfree_rcu(opp_dev, rcu_head); in _kfree_opp_dev_rcu() 707 static void _remove_opp_dev(struct opp_device *opp_dev, in _remove_opp_dev() argument 710 opp_debug_unregister(opp_dev, opp_table); in _remove_opp_dev() 711 list_del_rcu(&opp_dev->node); in _remove_opp_dev() [all …]
|
D | cpu.c | 182 struct opp_device *opp_dev; in dev_pm_opp_set_sharing_cpus() local 206 opp_dev = _add_opp_dev(dev, opp_table); in dev_pm_opp_set_sharing_cpus() 207 if (!opp_dev) { in dev_pm_opp_set_sharing_cpus() 241 struct opp_device *opp_dev; in dev_pm_opp_get_sharing_cpus() local 261 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in dev_pm_opp_get_sharing_cpus() 262 cpumask_set_cpu(opp_dev->dev->id, cpumask); in dev_pm_opp_get_sharing_cpus()
|
D | opp.h | 210 int opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table); 211 void opp_debug_unregister(struct opp_device *opp_dev, struct opp_table *opp_table); 218 static inline int opp_debug_register(struct opp_device *opp_dev, in opp_debug_register() argument 222 static inline void opp_debug_unregister(struct opp_device *opp_dev, in opp_debug_unregister() argument
|