Searched refs:opp_dev (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/opp/ |
D | debugfs.c | 170 static void opp_list_debug_create_dir(struct opp_device *opp_dev, in opp_list_debug_create_dir() argument 173 const struct device *dev = opp_dev->dev; in opp_list_debug_create_dir() 181 opp_dev->dentry = d; in opp_list_debug_create_dir() 185 static void opp_list_debug_create_link(struct opp_device *opp_dev, in opp_list_debug_create_link() argument 190 opp_set_dev_name(opp_dev->dev, name); in opp_list_debug_create_link() 193 opp_dev->dentry = debugfs_create_symlink(name, rootdir, in opp_list_debug_create_link() 206 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table) in opp_debug_register() argument 209 opp_list_debug_create_link(opp_dev, opp_table); in opp_debug_register() 211 opp_list_debug_create_dir(opp_dev, opp_table); in opp_debug_register() 214 static void opp_migrate_dentry(struct opp_device *opp_dev, in opp_migrate_dentry() argument [all …]
|
D | cpu.c | 158 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()
|
D | opp.h | 281 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table); 282 void opp_debug_unregister(struct opp_device *opp_dev, struct opp_table *opp_table); 289 static inline void opp_debug_register(struct opp_device *opp_dev, in opp_debug_register() argument 292 static inline void opp_debug_unregister(struct opp_device *opp_dev, in opp_debug_unregister() argument
|
D | core.c | 45 struct opp_device *opp_dev; in _find_opp_dev() local 49 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 50 if (opp_dev->dev == dev) { in _find_opp_dev() 1272 static void _remove_opp_dev(struct opp_device *opp_dev, in _remove_opp_dev() argument 1275 opp_debug_unregister(opp_dev, opp_table); in _remove_opp_dev() 1276 list_del(&opp_dev->node); in _remove_opp_dev() 1277 kfree(opp_dev); in _remove_opp_dev() 1283 struct opp_device *opp_dev; in _add_opp_dev() local 1285 opp_dev = kzalloc(sizeof(*opp_dev), GFP_KERNEL); in _add_opp_dev() 1286 if (!opp_dev) in _add_opp_dev() [all …]
|
/linux-6.1.9/drivers/soc/mediatek/ |
D | mtk-svs.c | 422 struct device *opp_dev; member 523 opp = dev_pm_opp_find_freq_exact(svsb->opp_dev, in svs_sync_bank_volts_from_opp() 614 ret = dev_pm_opp_adjust_voltage(svsb->opp_dev, in svs_adjust_pm_opp_volts() 757 opp = dev_pm_opp_find_freq_exact(svsb->opp_dev, in svs_status_debug_show() 1322 if (!pm_runtime_enabled(svsb->opp_dev)) { in svs_init01() 1323 pm_runtime_enable(svsb->opp_dev); in svs_init01() 1327 ret = pm_runtime_get_sync(svsb->opp_dev); in svs_init01() 1358 ret = dev_pm_opp_adjust_voltage(svsb->opp_dev, in svs_init01() 1372 ret = dev_pm_opp_disable(svsb->opp_dev, in svs_init01() 1426 r = dev_pm_opp_enable(svsb->opp_dev, in svs_init01() [all …]
|