Home
last modified time | relevance | path

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

/linux/drivers/opp/
H A Dcpu.c157 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()
205 struct opp_device *opp_dev; in dev_pm_opp_get_sharing_cpus() local
220 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in dev_pm_opp_get_sharing_cpus()
221 cpumask_set_cpu(opp_dev->dev->id, cpumask); in dev_pm_opp_get_sharing_cpus()
H A Dopp.h286 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table);
287 void opp_debug_unregister(struct opp_device *opp_dev, struct opp_table *opp_table);
294 static inline void opp_debug_register(struct opp_device *opp_dev, in opp_debug_register() argument
297 static inline void opp_debug_unregister(struct opp_device *opp_dev, in opp_debug_unregister() argument
H A Dcore.c42 struct opp_device *opp_dev; in _find_opp_dev() local
46 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev()
47 if (opp_dev->dev == dev) in _find_opp_dev()
1496 static void _remove_opp_dev(struct opp_device *opp_dev, in _remove_opp_dev() argument
1499 opp_debug_unregister(opp_dev, opp_table); in _remove_opp_dev()
1500 list_del(&opp_dev->node); in _remove_opp_dev()
1501 kfree(opp_dev); in _remove_opp_dev()
1507 struct opp_device *opp_dev; in _add_opp_dev() local
1509 opp_dev = kzalloc(sizeof(*opp_dev), GFP_KERNEL); in _add_opp_dev()
1510 if (!opp_dev) in _add_opp_dev()
[all …]