1DEBUGFS_PRINT_REGS32(9) The debugfs filesystem DEBUGFS_PRINT_REGS32(9)
2
3
4
6 debugfs_print_regs32 - use seq_print to describe a set of registers
7
9 int debugfs_print_regs32(struct seq_file * s,
10 const struct debugfs_reg32 * regs, int nregs,
11 void __iomem * base, char * prefix);
12
14 s
15 the seq_file structure being used to generate output
16
17 regs
18 an array if struct debugfs_reg32 structures
19
20 nregs
21 the length of the above array
22
23 base
24 the base address to be used in reading the registers
25
26 prefix
27 a string to be prefixed to every output line
28
30 This function outputs a text block describing the current values of
31 some 32-bit hardware registers. It is meant to be used within debugfs
32 files based on seq_file that need to show registers, intermixed with
33 other information. The prefix argument may be used to specify a leading
34 string, because some peripherals have several blocks of identical
35 registers, for example configuration of dma channels
36
38Kernel Hackers Manual 3.10 June 2019 DEBUGFS_PRINT_REGS32(9)