Lines Matching refs:debugfs_dir
871 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_init()
944 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_remove()
1488 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1491 debugfs_dir = debugfs_create_dir(dev_name(&sw->dev), tb_debugfs_root); in tb_switch_debugfs_init()
1492 sw->debugfs_dir = debugfs_dir; in tb_switch_debugfs_init()
1493 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, sw, in tb_switch_debugfs_init()
1497 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1506 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
1507 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, in tb_switch_debugfs_init()
1509 debugfs_create_file("path", 0400, debugfs_dir, port, in tb_switch_debugfs_init()
1512 debugfs_create_file("counters", 0600, debugfs_dir, port, in tb_switch_debugfs_init()
1528 debugfs_remove_recursive(sw->debugfs_dir); in tb_switch_debugfs_remove()
1549 svc->debugfs_dir = debugfs_create_dir(dev_name(&svc->dev), in tb_service_debugfs_init()
1561 debugfs_remove_recursive(svc->debugfs_dir); in tb_service_debugfs_remove()
1562 svc->debugfs_dir = NULL; in tb_service_debugfs_remove()