linux/drivers/crypto/caam/error.c

// SPDX-License-Identifier: GPL-2.0
/*
 * CAAM Error Reporting
 *
 * Copyright 2009-2011 Freescale Semiconductor, Inc.
 */

#include "compat.h"
#include "regs.h"
#include "desc.h"
#include "error.h"

#ifdef DEBUG
#include <linux/highmem.h>

void caam_dump_sg(const char *prefix_str, int prefix_type,
		  int rowsize, int groupsize, struct scatterlist *sg,
		  size_t tlen, bool ascii)
{}
#else
void caam_dump_sg(const char *prefix_str, int prefix_type,
		  int rowsize, int groupsize, struct scatterlist *sg,
		  size_t tlen, bool ascii)
{}
#endif /* DEBUG */
EXPORT_SYMBOL();

bool caam_little_end;
EXPORT_SYMBOL();

bool caam_imx;
EXPORT_SYMBOL();

size_t caam_ptr_sz;
EXPORT_SYMBOL();

static const struct {} desc_error_list[] =;

static const struct {} qi_error_list[] =;

static const char * const cha_id_list[] =;

static const char * const err_id_list[] =;

static const char * const rng_err_id_list[] =;

static int report_ccb_status(struct device *jrdev, const u32 status,
			     const char *error)
{}

static int report_jump_status(struct device *jrdev, const u32 status,
			      const char *error)
{}

static int report_deco_status(struct device *jrdev, const u32 status,
			      const char *error)
{}

static int report_qi_status(struct device *qidev, const u32 status,
			    const char *error)
{}

static int report_jr_status(struct device *jrdev, const u32 status,
			    const char *error)
{}

static int report_cond_code_status(struct device *jrdev, const u32 status,
				   const char *error)
{}

int caam_strstatus(struct device *jrdev, u32 status, bool qi_v2)
{}
EXPORT_SYMBOL();

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_AUTHOR();