Lines Matching +full:device +full:- +full:level
1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2005-2011, 2021-2022 Intel Corporation
5 #include <linux/device.h>
11 #include "iwl-drv.h"
12 #include "iwl-debug.h"
14 #include "iwl-modparams.h"
16 #include "iwl-devtrace.h"
27 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \
42 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \
67 void __iwl_err(struct device *dev, enum iwl_err_mode mode, const char *fmt, ...)
110 iwl_have_debug_level(enum iwl_dl level)
113 return (iwlwifi_mod_params.debug_level & level || level == IWL_DL_ANY);
118 iwl_print_hex_dump(void *drv __unused, enum iwl_dl level,
126 /* Given we have a level, check for it. */
127 if (!iwl_have_debug_level(level))
140 void __iwl_dbg(struct device *dev,
141 u32 level, bool limit, const char *function,
152 if (iwl_have_debug_level(level) &&
161 curthread->td_tid, (unsigned int)ticks, function, str);
167 trace_iwlwifi_dbg(level, function, &vaf);