opp_dev 36 drivers/opp/core.c struct opp_device *opp_dev; opp_dev 38 drivers/opp/core.c list_for_each_entry(opp_dev, &opp_table->dev_list, node) opp_dev 39 drivers/opp/core.c if (opp_dev->dev == dev) opp_dev 40 drivers/opp/core.c return opp_dev; opp_dev 910 drivers/opp/core.c static void _remove_opp_dev(struct opp_device *opp_dev, opp_dev 913 drivers/opp/core.c opp_debug_unregister(opp_dev, opp_table); opp_dev 914 drivers/opp/core.c list_del(&opp_dev->node); opp_dev 915 drivers/opp/core.c kfree(opp_dev); opp_dev 921 drivers/opp/core.c struct opp_device *opp_dev; opp_dev 923 drivers/opp/core.c opp_dev = kzalloc(sizeof(*opp_dev), GFP_KERNEL); opp_dev 924 drivers/opp/core.c if (!opp_dev) opp_dev 928 drivers/opp/core.c opp_dev->dev = dev; opp_dev 930 drivers/opp/core.c list_add(&opp_dev->node, &opp_table->dev_list); opp_dev 933 drivers/opp/core.c opp_debug_register(opp_dev, opp_table); opp_dev 935 drivers/opp/core.c return opp_dev; opp_dev 941 drivers/opp/core.c struct opp_device *opp_dev; opp_dev 944 drivers/opp/core.c opp_dev = _add_opp_dev_unlocked(dev, opp_table); opp_dev 947 drivers/opp/core.c return opp_dev; opp_dev 953 drivers/opp/core.c struct opp_device *opp_dev; opp_dev 971 drivers/opp/core.c opp_dev = _add_opp_dev(dev, opp_table); opp_dev 972 drivers/opp/core.c if (!opp_dev) { opp_dev 1046 drivers/opp/core.c struct opp_device *opp_dev, *temp; opp_dev 1056 drivers/opp/core.c list_for_each_entry_safe(opp_dev, temp, &opp_table->dev_list, node) { opp_dev 1062 drivers/opp/core.c dev_pm_genpd_set_performance_state((struct device *)(opp_dev->dev), 0); opp_dev 1064 drivers/opp/core.c _remove_opp_dev(opp_dev, opp_table); opp_dev 158 drivers/opp/cpu.c struct opp_device *opp_dev; opp_dev 178 drivers/opp/cpu.c opp_dev = _add_opp_dev(dev, opp_table); opp_dev 179 drivers/opp/cpu.c if (!opp_dev) { opp_dev 207 drivers/opp/cpu.c struct opp_device *opp_dev; opp_dev 224 drivers/opp/cpu.c list_for_each_entry(opp_dev, &opp_table->dev_list, node) opp_dev 225 drivers/opp/cpu.c cpumask_set_cpu(opp_dev->dev->id, cpumask); opp_dev 101 drivers/opp/debugfs.c static void opp_list_debug_create_dir(struct opp_device *opp_dev, opp_dev 104 drivers/opp/debugfs.c const struct device *dev = opp_dev->dev; opp_dev 112 drivers/opp/debugfs.c opp_dev->dentry = d; opp_dev 116 drivers/opp/debugfs.c static void opp_list_debug_create_link(struct opp_device *opp_dev, opp_dev 121 drivers/opp/debugfs.c opp_set_dev_name(opp_dev->dev, name); opp_dev 124 drivers/opp/debugfs.c opp_dev->dentry = debugfs_create_symlink(name, rootdir, opp_dev 137 drivers/opp/debugfs.c void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table) opp_dev 140 drivers/opp/debugfs.c opp_list_debug_create_link(opp_dev, opp_table); opp_dev 142 drivers/opp/debugfs.c opp_list_debug_create_dir(opp_dev, opp_table); opp_dev 145 drivers/opp/debugfs.c static void opp_migrate_dentry(struct opp_device *opp_dev, opp_dev 154 drivers/opp/debugfs.c if (new_dev != opp_dev) opp_dev 163 drivers/opp/debugfs.c dentry = debugfs_rename(rootdir, opp_dev->dentry, rootdir, opp_dev 167 drivers/opp/debugfs.c __func__, dev_name(opp_dev->dev), dev_name(dev)); opp_dev 182 drivers/opp/debugfs.c void opp_debug_unregister(struct opp_device *opp_dev, opp_dev 185 drivers/opp/debugfs.c if (opp_dev->dentry == opp_table->dentry) { opp_dev 188 drivers/opp/debugfs.c opp_migrate_dentry(opp_dev, opp_table); opp_dev 194 drivers/opp/debugfs.c debugfs_remove_recursive(opp_dev->dentry); opp_dev 197 drivers/opp/debugfs.c opp_dev->dentry = NULL; opp_dev 239 drivers/opp/opp.h void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table); opp_dev 240 drivers/opp/opp.h void opp_debug_unregister(struct opp_device *opp_dev, struct opp_table *opp_table); opp_dev 247 drivers/opp/opp.h static inline void opp_debug_register(struct opp_device *opp_dev, opp_dev 250 drivers/opp/opp.h static inline void opp_debug_unregister(struct opp_device *opp_dev,