Home
last modified time | relevance | path

Searched refs:opp_dev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/opp/
Ddebugfs.c101 static void opp_list_debug_create_dir(struct opp_device *opp_dev, in opp_list_debug_create_dir() argument
104 const struct device *dev = opp_dev->dev; in opp_list_debug_create_dir()
112 opp_dev->dentry = d; in opp_list_debug_create_dir()
116 static void opp_list_debug_create_link(struct opp_device *opp_dev, in opp_list_debug_create_link() argument
121 opp_set_dev_name(opp_dev->dev, name); in opp_list_debug_create_link()
124 opp_dev->dentry = debugfs_create_symlink(name, rootdir, in opp_list_debug_create_link()
137 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table) in opp_debug_register() argument
140 opp_list_debug_create_link(opp_dev, opp_table); in opp_debug_register()
142 opp_list_debug_create_dir(opp_dev, opp_table); in opp_debug_register()
145 static void opp_migrate_dentry(struct opp_device *opp_dev, in opp_migrate_dentry() argument
[all …]
Dcpu.c158 struct opp_device *opp_dev; in dev_pm_opp_set_sharing_cpus() local
178 opp_dev = _add_opp_dev(dev, opp_table); in dev_pm_opp_set_sharing_cpus()
179 if (!opp_dev) { in dev_pm_opp_set_sharing_cpus()
207 struct opp_device *opp_dev; in dev_pm_opp_get_sharing_cpus() local
224 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in dev_pm_opp_get_sharing_cpus()
225 cpumask_set_cpu(opp_dev->dev->id, cpumask); in dev_pm_opp_get_sharing_cpus()
Dcore.c36 struct opp_device *opp_dev; in _find_opp_dev() local
38 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev()
39 if (opp_dev->dev == dev) in _find_opp_dev()
40 return opp_dev; in _find_opp_dev()
910 static void _remove_opp_dev(struct opp_device *opp_dev, in _remove_opp_dev() argument
913 opp_debug_unregister(opp_dev, opp_table); in _remove_opp_dev()
914 list_del(&opp_dev->node); in _remove_opp_dev()
915 kfree(opp_dev); in _remove_opp_dev()
921 struct opp_device *opp_dev; in _add_opp_dev_unlocked() local
923 opp_dev = kzalloc(sizeof(*opp_dev), GFP_KERNEL); in _add_opp_dev_unlocked()
[all …]
Dopp.h239 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table);
240 void opp_debug_unregister(struct opp_device *opp_dev, struct opp_table *opp_table);
247 static inline void opp_debug_register(struct opp_device *opp_dev, in opp_debug_register() argument
250 static inline void opp_debug_unregister(struct opp_device *opp_dev, in opp_debug_unregister() argument