Lines Matching full:debugfs
3 // Register map access API - debugfs
11 #include <linux/debugfs.h>
480 dev_warn(map->dev, "debugfs cache_only=Y forced\n"); in regmap_cache_only_write_file()
483 dev_warn(map->dev, "debugfs cache_only=N forced: syncing cache\n"); in regmap_cache_only_write_file()
527 dev_warn(map->dev, "debugfs cache_bypass=Y forced\n"); in regmap_cache_bypass_write_file()
530 dev_warn(map->dev, "debugfs cache_bypass=N forced\n"); in regmap_cache_bypass_write_file()
554 * Userspace can initiate reads from the hardware over debugfs. in regmap_debugfs_init()
558 * don't create the debugfs entries if locking is disabled. in regmap_debugfs_init()
561 dev_dbg(map->dev, "regmap locking disabled - not creating debugfs entries\n"); in regmap_debugfs_init()
565 /* If we don't have the debugfs root yet, postpone init */ in regmap_debugfs_init()
606 map->debugfs = debugfs_create_dir(name, regmap_debugfs_root); in regmap_debugfs_init()
608 debugfs_create_file("name", 0400, map->debugfs, in regmap_debugfs_init()
611 debugfs_create_file("range", 0400, map->debugfs, in regmap_debugfs_init()
623 debugfs_create_file("registers", registers_mode, map->debugfs, in regmap_debugfs_init()
625 debugfs_create_file("access", 0400, map->debugfs, in regmap_debugfs_init()
630 debugfs_create_file("cache_only", 0600, map->debugfs, in regmap_debugfs_init()
632 debugfs_create_bool("cache_dirty", 0400, map->debugfs, in regmap_debugfs_init()
634 debugfs_create_file("cache_bypass", 0600, map->debugfs, in regmap_debugfs_init()
646 debugfs_create_bool("force_write_field", 0600, map->debugfs, in regmap_debugfs_init()
656 map->debugfs, range_node, in regmap_debugfs_init()
668 if (map->debugfs) { in regmap_debugfs_exit()
669 debugfs_remove_recursive(map->debugfs); in regmap_debugfs_exit()