Lines Matching refs:debugfs_dir
887 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_init()
960 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_remove()
1515 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1518 debugfs_dir = debugfs_create_dir(dev_name(&sw->dev), tb_debugfs_root); in tb_switch_debugfs_init()
1519 sw->debugfs_dir = debugfs_dir; in tb_switch_debugfs_init()
1520 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, sw, in tb_switch_debugfs_init()
1524 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1533 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
1534 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, in tb_switch_debugfs_init()
1536 debugfs_create_file("path", 0400, debugfs_dir, port, in tb_switch_debugfs_init()
1539 debugfs_create_file("counters", 0600, debugfs_dir, port, in tb_switch_debugfs_init()
1555 debugfs_remove_recursive(sw->debugfs_dir); in tb_switch_debugfs_remove()
1576 svc->debugfs_dir = debugfs_create_dir(dev_name(&svc->dev), in tb_service_debugfs_init()
1588 debugfs_remove_recursive(svc->debugfs_dir); in tb_service_debugfs_remove()
1589 svc->debugfs_dir = NULL; in tb_service_debugfs_remove()