regmap: debugfs: Add a registers `range' file
Subsystems (2)
PATCH v2 1/1 regmap: debugfs: Add a registers `range' file
This file lists the register ranges in the register map. The condition to split the range is based on the actual register attributes. A range is a contiguous block of registers with the same register attributes.
Signed-off-by Dimitris Papastamos <[email protected]>
--- drivers/base/regmap/internal.h | 1 + drivers/base/regmap/regmap-debugfs.c | 116 +++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+)
drivers/base/regmap/internal.h +1 -0
@@ -27,6 +27,7 @@ struct regmap_debugfs_off_cache {off_t max;unsigned int base_reg;unsigned int max_reg; +unsigned int reg_attr; };struct regmap_format {
drivers/base/regmap/regmap-debugfs.c +116 -0
146 lines not on this page · raw message
Signature · 1 line
1.8.1.3