Lines Matching defs:name
112 #define DEBUGFS_ADD_FILE(name, parent, mode) do { \
113 debugfs_create_file(#name, mode, parent, il, \
114 &il_dbgfs_##name##_ops); \
117 #define DEBUGFS_ADD_BOOL(name, parent, ptr) do { \
118 debugfs_create_bool(#name, 0600, parent, ptr); \
122 #define DEBUGFS_READ_FUNC(name) \
123 static ssize_t il_dbgfs_##name##_read(struct file *file, \
127 #define DEBUGFS_WRITE_FUNC(name) \
128 static ssize_t il_dbgfs_##name##_write(struct file *file, \
133 #define DEBUGFS_READ_FILE_OPS(name) \
134 DEBUGFS_READ_FUNC(name); \
135 static const struct file_operations il_dbgfs_##name##_ops = { \
136 .read = il_dbgfs_##name##_read, \
141 #define DEBUGFS_WRITE_FILE_OPS(name) \
142 DEBUGFS_WRITE_FUNC(name); \
143 static const struct file_operations il_dbgfs_##name##_ops = { \
144 .write = il_dbgfs_##name##_write, \
149 #define DEBUGFS_READ_WRITE_FILE_OPS(name) \
150 DEBUGFS_READ_FUNC(name); \
151 DEBUGFS_WRITE_FUNC(name); \
152 static const struct file_operations il_dbgfs_##name##_ops = { \
153 .write = il_dbgfs_##name##_write, \
154 .read = il_dbgfs_##name##_read, \
1316 il_dbgfs_register(struct il_priv *il, const char *name)
1321 dir_drv = debugfs_create_dir(name, phyd);