#include "qla_def.h"
struct qla2300_fw_dump { … };
struct qla2100_fw_dump { … };
struct qla24xx_fw_dump { … };
struct qla25xx_fw_dump { … };
struct qla81xx_fw_dump { … };
struct qla83xx_fw_dump { … };
#define EFT_NUM_BUFFERS …
#define EFT_BYTES_PER_BUFFER …
#define EFT_SIZE …
#define FCE_NUM_BUFFERS …
#define FCE_BYTES_PER_BUFFER …
#define FCE_SIZE …
#define fce_calc_size(b) …
struct qla2xxx_fce_chain { … };
struct qla2xxx_offld_chain { … };
struct qla2xxx_mq_chain { … };
struct qla2xxx_mqueue_header { … };
struct qla2xxx_mqueue_chain { … };
#define DUMP_CHAIN_VARIANT …
#define DUMP_CHAIN_FCE …
#define DUMP_CHAIN_MQ …
#define DUMP_CHAIN_QUEUE …
#define DUMP_CHAIN_EXLOGIN …
#define DUMP_CHAIN_EXCHG …
#define DUMP_CHAIN_LAST …
struct qla2xxx_fw_dump { … };
#define QL_MSGHDR …
#define QL_DBG_DEFAULT1_MASK …
#define ql_log_fatal …
#define ql_log_warn …
#define ql_log_info …
#define ql_log_all …
extern uint ql_errlev;
void __attribute__((format (printf, 4, 5)))
ql_dbg(uint, scsi_qla_host_t *vha, uint, const char *fmt, ...);
void __attribute__((format (printf, 4, 5)))
ql_dbg_pci(uint, struct pci_dev *pdev, uint, const char *fmt, ...);
void __attribute__((format (printf, 4, 5)))
ql_dbg_qp(uint32_t, struct qla_qpair *, int32_t, const char *fmt, ...);
void __attribute__((format (printf, 4, 5)))
ql_log(uint, scsi_qla_host_t *vha, uint, const char *fmt, ...);
void __attribute__((format (printf, 4, 5)))
ql_log_pci(uint, struct pci_dev *pdev, uint, const char *fmt, ...);
void __attribute__((format (printf, 4, 5)))
ql_log_qp(uint32_t, struct qla_qpair *, int32_t, const char *fmt, ...);
#define ql_dbg_init …
#define ql_dbg_mbx …
#define ql_dbg_disc …
#define ql_dbg_io …
#define ql_dbg_dpc …
#define ql_dbg_async …
#define ql_dbg_timer …
#define ql_dbg_user …
#define ql_dbg_taskm …
#define ql_dbg_aer …
#define ql_dbg_multiq …
#define ql_dbg_p3p …
#define ql_dbg_vport …
#define ql_dbg_buffer …
#define ql_dbg_misc …
#define ql_dbg_verbose …
#define ql_dbg_tgt …
#define ql_dbg_tgt_mgt …
#define ql_dbg_tgt_tmr …
#define ql_dbg_tgt_dif …
#define ql_dbg_edif …
#define ql_dbg_unsol …
extern int qla27xx_dump_mpi_ram(struct qla_hw_data *, uint32_t, uint32_t *,
uint32_t, void **);
extern int qla24xx_dump_ram(struct qla_hw_data *, uint32_t, __be32 *,
uint32_t, void **);
extern void qla24xx_pause_risc(struct device_reg_24xx __iomem *,
struct qla_hw_data *);
extern int qla24xx_soft_reset(struct qla_hw_data *);
static inline int
ql_mask_match(uint level)
{ … }
static inline int
ql_mask_match_ext(uint level, int *log_tunable)
{ … }
#define ql_ktrace(dbg_msg, level, pbuf, pdev, vha, id, fmt) …
#define QLA_ENABLE_KERNEL_TRACING
#ifdef QLA_ENABLE_KERNEL_TRACING
#define QLA_TRACE_ENABLE(_tr) …
#else
#define QLA_TRACE_ENABLE …
#endif