Lines Matching refs:ioc
41 #define ioc_err(ioc, fmt, ...) \ argument
42 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
43 #define ioc_notice(ioc, fmt, ...) \ argument
44 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
45 #define ioc_warn(ioc, fmt, ...) \ argument
46 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
47 #define ioc_info(ioc, fmt, ...) \ argument
48 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
50 #define dprint(ioc, fmt, ...) \ argument
52 if (ioc->logging_level & MPI3_DEBUG) \
53 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
56 #define dprint_event_th(ioc, fmt, ...) \ argument
58 if (ioc->logging_level & MPI3_DEBUG_EVENT) \
59 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
62 #define dprint_event_bh(ioc, fmt, ...) \ argument
64 if (ioc->logging_level & MPI3_DEBUG_EVENT_WORK_TASK) \
65 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
68 #define dprint_init(ioc, fmt, ...) \ argument
70 if (ioc->logging_level & MPI3_DEBUG_INIT) \
71 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
74 #define dprint_exit(ioc, fmt, ...) \ argument
76 if (ioc->logging_level & MPI3_DEBUG_EXIT) \
77 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
80 #define dprint_tm(ioc, fmt, ...) \ argument
82 if (ioc->logging_level & MPI3_DEBUG_TM) \
83 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
86 #define dprint_reply(ioc, fmt, ...) \ argument
88 if (ioc->logging_level & MPI3_DEBUG_REPLY) \
89 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
92 #define dprint_reset(ioc, fmt, ...) \ argument
94 if (ioc->logging_level & MPI3_DEBUG_RESET) \
95 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
98 #define dprint_scsi_info(ioc, fmt, ...) \ argument
100 if (ioc->logging_level & MPI3_DEBUG_SCSI_INFO) \
101 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
104 #define dprint_scsi_err(ioc, fmt, ...) \ argument
106 if (ioc->logging_level & MPI3_DEBUG_SCSI_ERROR) \
107 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
110 #define dprint_scsi_command(ioc, SCMD, LOG_LEVEL) \ argument
112 if (ioc->logging_level & LOG_LEVEL) \
117 #define dprint_bsg_info(ioc, fmt, ...) \ argument
119 if (ioc->logging_level & MPI3_DEBUG_BSG_INFO) \
120 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
123 #define dprint_bsg_err(ioc, fmt, ...) \ argument
125 if (ioc->logging_level & MPI3_DEBUG_BSG_ERROR) \
126 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
129 #define dprint_cfg_info(ioc, fmt, ...) \ argument
131 if (ioc->logging_level & MPI3_DEBUG_CFG_INFO) \
132 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
135 #define dprint_cfg_err(ioc, fmt, ...) \ argument
137 if (ioc->logging_level & MPI3_DEBUG_CFG_ERROR) \
138 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
140 #define dprint_transport_info(ioc, fmt, ...) \ argument
142 if (ioc->logging_level & MPI3_DEBUG_TRANSPORT_INFO) \
143 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
146 #define dprint_transport_err(ioc, fmt, ...) \ argument
148 if (ioc->logging_level & MPI3_DEBUG_TRANSPORT_ERROR) \
149 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \