linux/drivers/crypto/caam/debugfs.c

// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/* Copyright 2019, 2023 NXP */

#include <linux/debugfs.h>
#include "compat.h"
#include "debugfs.h"
#include "regs.h"
#include "intern.h"

static int caam_debugfs_u64_get(void *data, u64 *val)
{}

static int caam_debugfs_u32_get(void *data, u64 *val)
{}

DEFINE_DEBUGFS_ATTRIBUTE();
DEFINE_DEBUGFS_ATTRIBUTE();

#ifdef CONFIG_CAAM_QI
/*
 * This is a counter for the number of times the congestion group (where all
 * the request and response queueus are) reached congestion. Incremented
 * each time the congestion callback is called with congested == true.
 */
static u64 times_congested;

void caam_debugfs_qi_congested(void)
{}

void caam_debugfs_qi_init(struct caam_drv_private *ctrlpriv)
{}
#endif

void caam_debugfs_init(struct caam_drv_private *ctrlpriv,
		       struct caam_perfmon __force *perfmon,
		       struct dentry *root)
{}