Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/opp/ !
Ddebugfs.c171 static void opp_list_debug_create_dir(struct opp_device *opp_dev, in opp_list_debug_create_dir() argument
174 const struct device *dev = opp_dev->dev; in opp_list_debug_create_dir()
182 opp_dev->dentry = d; in opp_list_debug_create_dir()
186 static void opp_list_debug_create_link(struct opp_device *opp_dev, in opp_list_debug_create_link() argument
191 opp_set_dev_name(opp_dev->dev, name); in opp_list_debug_create_link()
194 opp_dev->dentry = debugfs_create_symlink(name, rootdir, in opp_list_debug_create_link()
207 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table) in opp_debug_register() argument
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()
215 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()
Dopp.h289 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table);
290 void opp_debug_unregister(struct opp_device *opp_dev, struct opp_table *opp_table);
297 static inline void opp_debug_register(struct opp_device *opp_dev, in opp_debug_register() argument
300 static inline void opp_debug_unregister(struct opp_device *opp_dev, in opp_debug_unregister() argument
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()
1397 static void _remove_opp_dev(struct opp_device *opp_dev, in _remove_opp_dev() argument
1400 opp_debug_unregister(opp_dev, opp_table); in _remove_opp_dev()
1401 list_del(&opp_dev->node); in _remove_opp_dev()
1402 kfree(opp_dev); in _remove_opp_dev()
1408 struct opp_device *opp_dev; in _add_opp_dev() local
1410 opp_dev = kzalloc(sizeof(*opp_dev), GFP_KERNEL); in _add_opp_dev()
1411 if (!opp_dev) in _add_opp_dev()
[all …]
/linux-6.12.1/drivers/soc/mediatek/ !
Dmtk-svs.c513 struct device *opp_dev; member
592 opp = dev_pm_opp_find_freq_exact(svsb->opp_dev, in svs_sync_bank_volts_from_opp()
680 ret = dev_pm_opp_adjust_voltage(svsb->opp_dev, in svs_adjust_pm_opp_volts()
834 opp = dev_pm_opp_find_freq_exact(svsb->opp_dev, in svs_status_debug_show()
1471 if (!pm_runtime_enabled(svsb->opp_dev)) { in svs_init01()
1472 pm_runtime_enable(svsb->opp_dev); in svs_init01()
1476 ret = pm_runtime_resume_and_get(svsb->opp_dev); in svs_init01()
1508 ret = dev_pm_opp_adjust_voltage(svsb->opp_dev, in svs_init01()
1522 ret = dev_pm_opp_disable(svsb->opp_dev, in svs_init01()
1577 r = dev_pm_opp_enable(svsb->opp_dev, in svs_init01()
[all …]