Lines Matching full:opp_table

57 				struct opp_table *opp_table,  in opp_debug_create_bw()  argument
64 for (i = 0; i < opp_table->path_count; i++) { in opp_debug_create_bw()
70 debugfs_create_file("name", S_IRUGO, d, opp_table->paths[i], in opp_debug_create_bw()
80 struct opp_table *opp_table, in opp_debug_create_clks() argument
86 if (opp_table->clk_count == 1) { in opp_debug_create_clks()
91 for (i = 0; i < opp_table->clk_count; i++) { in opp_debug_create_clks()
98 struct opp_table *opp_table, in opp_debug_create_supplies() argument
104 for (i = 0; i < opp_table->regulator_count; i++) { in opp_debug_create_supplies()
129 void opp_debug_create_one(struct dev_pm_opp *opp, struct opp_table *opp_table) in opp_debug_create_one() argument
131 struct dentry *pdentry = opp_table->dentry; in opp_debug_create_one()
143 if (likely(opp_table->clk_count == 1 && opp->rates[0])) in opp_debug_create_one()
146 id = _get_opp_count(opp_table); in opp_debug_create_one()
164 opp_debug_create_clks(opp, opp_table, d); in opp_debug_create_one()
165 opp_debug_create_supplies(opp, opp_table, d); in opp_debug_create_one()
166 opp_debug_create_bw(opp, opp_table, d); in opp_debug_create_one()
172 struct opp_table *opp_table) in opp_list_debug_create_dir() argument
177 opp_set_dev_name(dev, opp_table->dentry_name); in opp_list_debug_create_dir()
180 d = debugfs_create_dir(opp_table->dentry_name, rootdir); in opp_list_debug_create_dir()
183 opp_table->dentry = d; in opp_list_debug_create_dir()
187 struct opp_table *opp_table) in opp_list_debug_create_link() argument
195 opp_table->dentry_name); in opp_list_debug_create_link()
201 * @opp_table: the device-opp being added
207 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table) in opp_debug_register() argument
209 if (opp_table->dentry) in opp_debug_register()
210 opp_list_debug_create_link(opp_dev, opp_table); in opp_debug_register()
212 opp_list_debug_create_dir(opp_dev, opp_table); in opp_debug_register()
216 struct opp_table *opp_table) in opp_migrate_dentry() argument
223 list_for_each_entry(iter, &opp_table->dev_list, node) in opp_migrate_dentry()
235 opp_set_dev_name(dev, opp_table->dentry_name); in opp_migrate_dentry()
238 opp_table->dentry_name); in opp_migrate_dentry()
246 opp_table->dentry = dentry; in opp_migrate_dentry()
252 * @opp_table: the device-opp being removed
257 struct opp_table *opp_table) in opp_debug_unregister() argument
259 if (opp_dev->dentry == opp_table->dentry) { in opp_debug_unregister()
261 if (!list_is_singular(&opp_table->dev_list)) { in opp_debug_unregister()
262 opp_migrate_dentry(opp_dev, opp_table); in opp_debug_unregister()
265 opp_table->dentry = NULL; in opp_debug_unregister()