#include <linux/debugfs.h>
#include <linux/ccp.h>
#include "ccp-dev.h"
#define OBUFP …
#define OBUFLEN …
#define OBUFSPC …
#define OSCNPRINTF(fmt, ...) …
#define BUFLEN …
#define RI_VERSION_NUM …
#define RI_AES_PRESENT …
#define RI_3DES_PRESENT …
#define RI_SHA_PRESENT …
#define RI_RSA_PRESENT …
#define RI_ECC_PRESENT …
#define RI_ZDE_PRESENT …
#define RI_ZCE_PRESENT …
#define RI_TRNG_PRESENT …
#define RI_ELFC_PRESENT …
#define RI_ELFC_SHIFT …
#define RI_NUM_VQM …
#define RI_NVQM_SHIFT …
#define RI_NVQM(r) …
#define RI_LSB_ENTRIES …
#define RI_NLSB_SHIFT …
#define RI_NLSB(r) …
static ssize_t ccp5_debugfs_info_read(struct file *filp, char __user *ubuf,
size_t count, loff_t *offp)
{ … }
static ssize_t ccp5_debugfs_stats_read(struct file *filp, char __user *ubuf,
size_t count, loff_t *offp)
{ … }
static void ccp5_debugfs_reset_queue_stats(struct ccp_cmd_queue *cmd_q)
{ … }
static ssize_t ccp5_debugfs_stats_write(struct file *filp,
const char __user *ubuf,
size_t count, loff_t *offp)
{ … }
static ssize_t ccp5_debugfs_queue_read(struct file *filp, char __user *ubuf,
size_t count, loff_t *offp)
{ … }
static ssize_t ccp5_debugfs_queue_write(struct file *filp,
const char __user *ubuf,
size_t count, loff_t *offp)
{ … }
static const struct file_operations ccp_debugfs_info_ops = …;
static const struct file_operations ccp_debugfs_queue_ops = …;
static const struct file_operations ccp_debugfs_stats_ops = …;
static struct dentry *ccp_debugfs_dir;
static DEFINE_MUTEX(ccp_debugfs_lock);
#define MAX_NAME_LEN …
void ccp5_debugfs_setup(struct ccp_device *ccp)
{ … }
void ccp5_debugfs_destroy(void)
{ … }