Lines Matching +full:native +full:- +full:mode
33 static struct dentry *debugfs_create_io_x64(const char *name, umode_t mode, in debugfs_create_io_x64() argument
36 return debugfs_create_file_unsafe(name, mode, parent, in debugfs_create_io_x64()
49 debugfs_create_io_x64("xsl-debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9()
67 return -ENODEV; in cxl_debugfs_adapter_add()
69 snprintf(buf, 32, "card%i", adapter->adapter_num); in cxl_debugfs_adapter_add()
73 adapter->debugfs = dir; in cxl_debugfs_adapter_add()
77 if (adapter->native->sl_ops->debugfs_add_adapter_regs) in cxl_debugfs_adapter_add()
78 adapter->native->sl_ops->debugfs_add_adapter_regs(adapter, dir); in cxl_debugfs_adapter_add()
84 debugfs_remove_recursive(adapter->debugfs); in cxl_debugfs_adapter_remove()
108 if (!afu->adapter->debugfs) in cxl_debugfs_afu_add()
109 return -ENODEV; in cxl_debugfs_afu_add()
111 snprintf(buf, 32, "psl%i.%i", afu->adapter->adapter_num, afu->slice); in cxl_debugfs_afu_add()
112 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add()
115 afu->debugfs = dir; in cxl_debugfs_afu_add()
123 if (afu->adapter->native->sl_ops->debugfs_add_afu_regs) in cxl_debugfs_afu_add()
124 afu->adapter->native->sl_ops->debugfs_add_afu_regs(afu, dir); in cxl_debugfs_afu_add()
131 debugfs_remove_recursive(afu->debugfs); in cxl_debugfs_afu_remove()