xref: /openbmc/linux/include/scsi/scsi_dbg.h (revision 1da177e4)
1 #ifndef _SCSI_SCSI_DBG_H
2 #define _SCSI_SCSI_DBG_H
3 
4 struct scsi_cmnd;
5 struct scsi_request;
6 
7 extern void scsi_print_command(struct scsi_cmnd *);
8 extern void __scsi_print_command(unsigned char *);
9 extern void scsi_print_sense(const char *, struct scsi_cmnd *);
10 extern void scsi_print_req_sense(const char *, struct scsi_request *);
11 extern void __scsi_print_sense(const char *name,
12 			       const unsigned char *sense_buffer,
13 			       int sense_len);
14 extern void scsi_print_driverbyte(int);
15 extern void scsi_print_hostbyte(int);
16 extern void scsi_print_status(unsigned char);
17 extern int scsi_print_msg(const unsigned char *);
18 extern const char *scsi_sense_key_string(unsigned char);
19 extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
20 
21 #endif /* _SCSI_SCSI_DBG_H */
22