blob: 5aa332bac4b06fc607e44cbb015fca41646c989c [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * CAAM Error Reporting code header
4 *
5 * Copyright 2009-2011 Freescale Semiconductor, Inc.
6 */
7
8#ifndef CAAM_ERROR_H
9#define CAAM_ERROR_H
10#define CAAM_ERROR_STR_MAX 302
11void caam_jr_strstatus(struct device *jrdev, u32 status);
12
13void caam_dump_sg(const char *level, const char *prefix_str, int prefix_type,
14 int rowsize, int groupsize, struct scatterlist *sg,
15 size_t tlen, bool ascii);
16#endif /* CAAM_ERROR_H */