Lines Matching +full:native +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0-or-later
29 static void debugfs_create_io_x64(const char *name, umode_t mode, in debugfs_create_io_x64() argument
32 debugfs_create_file_unsafe(name, mode, parent, (void __force *)value, in debugfs_create_io_x64()
45 debugfs_create_io_x64("xsl-debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9()
65 snprintf(buf, 32, "card%i", adapter->adapter_num); in cxl_debugfs_adapter_add()
67 adapter->debugfs = dir; in cxl_debugfs_adapter_add()
71 if (adapter->native->sl_ops->debugfs_add_adapter_regs) in cxl_debugfs_adapter_add()
72 adapter->native->sl_ops->debugfs_add_adapter_regs(adapter, dir); in cxl_debugfs_adapter_add()
77 debugfs_remove_recursive(adapter->debugfs); in cxl_debugfs_adapter_remove()
101 if (!afu->adapter->debugfs) in cxl_debugfs_afu_add()
104 snprintf(buf, 32, "psl%i.%i", afu->adapter->adapter_num, afu->slice); in cxl_debugfs_afu_add()
105 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add()
106 afu->debugfs = dir; in cxl_debugfs_afu_add()
114 if (afu->adapter->native->sl_ops->debugfs_add_afu_regs) in cxl_debugfs_afu_add()
115 afu->adapter->native->sl_ops->debugfs_add_afu_regs(afu, dir); in cxl_debugfs_afu_add()
120 debugfs_remove_recursive(afu->debugfs); in cxl_debugfs_afu_remove()