Lines Matching refs:dev
22 static void opp_set_dev_name(const struct device *dev, char *name) in opp_set_dev_name() argument
24 if (dev->parent) in opp_set_dev_name()
25 snprintf(name, NAME_MAX, "%s-%s", dev_name(dev->parent), in opp_set_dev_name()
26 dev_name(dev)); in opp_set_dev_name()
28 snprintf(name, NAME_MAX, "%s", dev_name(dev)); in opp_set_dev_name()
174 const struct device *dev = opp_dev->dev; in opp_list_debug_create_dir() local
177 opp_set_dev_name(dev, opp_table->dentry_name); in opp_list_debug_create_dir()
191 opp_set_dev_name(opp_dev->dev, name); in opp_list_debug_create_link()
219 const struct device *dev; in opp_migrate_dentry() local
232 dev = new_dev->dev; in opp_migrate_dentry()
235 opp_set_dev_name(dev, opp_table->dentry_name); in opp_migrate_dentry()
240 dev_err(dev, "%s: Failed to rename link from: %s to %s\n", in opp_migrate_dentry()
241 __func__, dev_name(opp_dev->dev), dev_name(dev)); in opp_migrate_dentry()