Lines Matching refs:fei
226 void c8sectpfe_debugfs_init(struct c8sectpfei *fei) in c8sectpfe_debugfs_init() argument
228 fei->regset = devm_kzalloc(fei->dev, sizeof(*fei->regset), GFP_KERNEL); in c8sectpfe_debugfs_init()
229 if (!fei->regset) in c8sectpfe_debugfs_init()
232 fei->regset->regs = fei_sys_regs; in c8sectpfe_debugfs_init()
233 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs); in c8sectpfe_debugfs_init()
234 fei->regset->base = fei->io; in c8sectpfe_debugfs_init()
236 fei->root = debugfs_create_dir("c8sectpfe", NULL); in c8sectpfe_debugfs_init()
237 debugfs_create_regset32("registers", S_IRUGO, fei->root, fei->regset); in c8sectpfe_debugfs_init()
240 void c8sectpfe_debugfs_exit(struct c8sectpfei *fei) in c8sectpfe_debugfs_exit() argument
242 debugfs_remove_recursive(fei->root); in c8sectpfe_debugfs_exit()
243 fei->root = NULL; in c8sectpfe_debugfs_exit()