Lines Matching refs:opp
31 void opp_debug_remove_one(struct dev_pm_opp *opp) in opp_debug_remove_one() argument
33 debugfs_remove_recursive(opp->dentry); in opp_debug_remove_one()
54 static void opp_debug_create_bw(struct dev_pm_opp *opp, in opp_debug_create_bw() argument
71 &opp->bandwidth[i].peak); in opp_debug_create_bw()
73 &opp->bandwidth[i].avg); in opp_debug_create_bw()
77 static void opp_debug_create_supplies(struct dev_pm_opp *opp, in opp_debug_create_supplies() argument
93 &opp->supplies[i].u_volt); in opp_debug_create_supplies()
96 &opp->supplies[i].u_volt_min); in opp_debug_create_supplies()
99 &opp->supplies[i].u_volt_max); in opp_debug_create_supplies()
102 &opp->supplies[i].u_amp); in opp_debug_create_supplies()
106 void opp_debug_create_one(struct dev_pm_opp *opp, struct opp_table *opp_table) in opp_debug_create_one() argument
119 if (likely(opp->rate)) in opp_debug_create_one()
120 id = opp->rate; in opp_debug_create_one()
129 debugfs_create_bool("available", S_IRUGO, d, &opp->available); in opp_debug_create_one()
130 debugfs_create_bool("dynamic", S_IRUGO, d, &opp->dynamic); in opp_debug_create_one()
131 debugfs_create_bool("turbo", S_IRUGO, d, &opp->turbo); in opp_debug_create_one()
132 debugfs_create_bool("suspend", S_IRUGO, d, &opp->suspend); in opp_debug_create_one()
133 debugfs_create_u32("performance_state", S_IRUGO, d, &opp->pstate); in opp_debug_create_one()
134 debugfs_create_ulong("rate_hz", S_IRUGO, d, &opp->rate); in opp_debug_create_one()
135 debugfs_create_u32("level", S_IRUGO, d, &opp->level); in opp_debug_create_one()
137 &opp->clock_latency_ns); in opp_debug_create_one()
139 opp->of_name = of_node_full_name(opp->np); in opp_debug_create_one()
140 debugfs_create_str("of_name", S_IRUGO, d, (char **)&opp->of_name); in opp_debug_create_one()
142 opp_debug_create_supplies(opp, opp_table, d); in opp_debug_create_one()
143 opp_debug_create_bw(opp, opp_table, d); in opp_debug_create_one()
145 opp->dentry = d; in opp_debug_create_one()