]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - drivers/crypto/caam/error.h
Merge branch 'am335x-phy-fixes' into omap-for-v5.0/fixes-v2
[mirror_ubuntu-eoan-kernel.git] / drivers / crypto / caam / error.h
1 /* 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
11
12 void caam_strstatus(struct device *dev, u32 status, bool qi_v2);
13
14 #define caam_jr_strstatus(jrdev, status) caam_strstatus(jrdev, status, false)
15 #define caam_qi2_strstatus(qidev, status) caam_strstatus(qidev, status, true)
16
17 void caam_dump_sg(const char *level, const char *prefix_str, int prefix_type,
18 int rowsize, int groupsize, struct scatterlist *sg,
19 size_t tlen, bool ascii);
20 #endif /* CAAM_ERROR_H */