Lines Matching refs:ioc

41 #define ioc_err(ioc, fmt, ...) \
42 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
43 #define ioc_notice(ioc, fmt, ...) \
44 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
45 #define ioc_warn(ioc, fmt, ...) \
46 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
47 #define ioc_info(ioc, fmt, ...) \
48 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
50 #define dprint(ioc, fmt, ...) \
52 if (ioc->logging_level & MPI3_DEBUG) \
53 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
56 #define dprint_event_th(ioc, fmt, ...) \
58 if (ioc->logging_level & MPI3_DEBUG_EVENT) \
59 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
62 #define dprint_event_bh(ioc, fmt, ...) \
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, ...) \
70 if (ioc->logging_level & MPI3_DEBUG_INIT) \
71 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
74 #define dprint_exit(ioc, fmt, ...) \
76 if (ioc->logging_level & MPI3_DEBUG_EXIT) \
77 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
80 #define dprint_tm(ioc, fmt, ...) \
82 if (ioc->logging_level & MPI3_DEBUG_TM) \
83 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
86 #define dprint_reply(ioc, fmt, ...) \
88 if (ioc->logging_level & MPI3_DEBUG_REPLY) \
89 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
92 #define dprint_reset(ioc, fmt, ...) \
94 if (ioc->logging_level & MPI3_DEBUG_RESET) \
95 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
98 #define dprint_scsi_info(ioc, fmt, ...) \
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, ...) \
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) \
112 if (ioc->logging_level & LOG_LEVEL) \
117 #define dprint_bsg_info(ioc, fmt, ...) \
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, ...) \
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, ...) \
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, ...) \
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, ...) \
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, ...) \
148 if (ioc->logging_level & MPI3_DEBUG_TRANSPORT_ERROR) \
149 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \