Lines Matching refs:root
229 static void qcom_create_ddr_stat_files(struct dentry *root, void __iomem *reg, in qcom_create_ddr_stat_files() argument
239 debugfs_create_file("ddr_stats", 0400, root, in qcom_create_ddr_stat_files()
244 static void qcom_create_soc_sleep_stat_files(struct dentry *root, void __iomem *reg, in qcom_create_soc_sleep_stat_files() argument
281 debugfs_create_file(stat_type, 0400, root, &d[i], in qcom_create_soc_sleep_stat_files()
290 static void qcom_create_subsystem_stat_files(struct dentry *root, in qcom_create_subsystem_stat_files() argument
299 debugfs_create_file(subsystems[i].name, 0400, root, (void *)&subsystems[i], in qcom_create_subsystem_stat_files()
306 struct dentry *root; in qcom_stats_probe() local
342 root = debugfs_create_dir("qcom_stats", NULL); in qcom_stats_probe()
344 qcom_create_subsystem_stat_files(root, config); in qcom_stats_probe()
345 qcom_create_soc_sleep_stat_files(root, reg, d, config); in qcom_stats_probe()
346 qcom_create_ddr_stat_files(root, reg, config); in qcom_stats_probe()
348 platform_set_drvdata(pdev, root); in qcom_stats_probe()
357 struct dentry *root = platform_get_drvdata(pdev); in qcom_stats_remove() local
359 debugfs_remove_recursive(root); in qcom_stats_remove()