Lines Matching refs:debugfs_dir
887 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_init()
961 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_remove()
1516 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1519 debugfs_dir = debugfs_create_dir(dev_name(&sw->dev), tb_debugfs_root); in tb_switch_debugfs_init()
1520 sw->debugfs_dir = debugfs_dir; in tb_switch_debugfs_init()
1521 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, sw, in tb_switch_debugfs_init()
1525 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1534 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
1535 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, in tb_switch_debugfs_init()
1537 debugfs_create_file("path", 0400, debugfs_dir, port, in tb_switch_debugfs_init()
1540 debugfs_create_file("counters", 0600, debugfs_dir, port, in tb_switch_debugfs_init()
1556 debugfs_remove_recursive(sw->debugfs_dir); in tb_switch_debugfs_remove()
1577 svc->debugfs_dir = debugfs_create_dir(dev_name(&svc->dev), in tb_service_debugfs_init()
1589 debugfs_remove_recursive(svc->debugfs_dir); in tb_service_debugfs_remove()
1590 svc->debugfs_dir = NULL; in tb_service_debugfs_remove()