#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
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(…) …;