/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
/*
- * Copyright (C) 2024 Intel Corporation
+ * Copyright (C) 2024-2025 Intel Corporation
*/
#include "iface.h"
#include "sta.h"
.release = _iwl_dbgfs_release, \
}
-#define WIPHY_DEBUGFS_HANDLER_WRAPPER(name) \
+#define WIPHY_DEBUGFS_WRITE_HANDLER_WRAPPER(name) \
static ssize_t iwl_dbgfs_##name##_write_handler(struct wiphy *wiphy, \
struct file *file, char *buf, \
size_t count, void *data) \
}
#define WIPHY_DEBUGFS_WRITE_WRAPPER(name, bufsz, objtype) \
-WIPHY_DEBUGFS_HANDLER_WRAPPER(name) \
+WIPHY_DEBUGFS_WRITE_HANDLER_WRAPPER(name) \
static ssize_t __iwl_dbgfs_##name##_write(struct file *file, \
const char __user *user_buf, \
size_t count, loff_t *ppos) \
.llseek = generic_file_llseek, \
}
-#define WIPHY_DEBUGFS_HANDLER_WRAPPER_MLD(name) \
+#define WIPHY_DEBUGFS_WRITE_HANDLER_WRAPPER_MLD(name) \
static ssize_t iwl_dbgfs_##name##_write_handler(struct wiphy *wiphy, \
struct file *file, char *buf, \
size_t count, void *data) \
}
#define WIPHY_DEBUGFS_WRITE_WRAPPER_MLD(name) \
-WIPHY_DEBUGFS_HANDLER_WRAPPER_MLD(name) \
+WIPHY_DEBUGFS_WRITE_HANDLER_WRAPPER_MLD(name) \
static ssize_t __iwl_dbgfs_##name##_write(struct file *file, \
const char __user *user_buf, \
size_t count, loff_t *ppos) \
}
#define WIPHY_DEBUGFS_WRITE_WRAPPER_IEEE80211(name, bufsz, objtype) \
-WIPHY_DEBUGFS_HANDLER_WRAPPER(name) \
+WIPHY_DEBUGFS_WRITE_HANDLER_WRAPPER(name) \
static ssize_t _iwl_dbgfs_##name##_write(struct file *file, \
const char __user *user_buf, \
size_t count, loff_t *ppos) \