xref: /openbmc/linux/drivers/crypto/caam/error.h (revision 8ee90c5c)
1 /*
2  * CAAM Error Reporting code header
3  *
4  * Copyright 2009-2011 Freescale Semiconductor, Inc.
5  */
6 
7 #ifndef CAAM_ERROR_H
8 #define CAAM_ERROR_H
9 #define CAAM_ERROR_STR_MAX 302
10 void caam_jr_strstatus(struct device *jrdev, u32 status);
11 
12 void caam_dump_sg(const char *level, const char *prefix_str, int prefix_type,
13 		  int rowsize, int groupsize, struct scatterlist *sg,
14 		  size_t tlen, bool ascii);
15 #endif /* CAAM_ERROR_H */
16