linux/drivers/crypto/starfive/jh7110-cryp.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Cryptographic API.
 *
 * Support for StarFive hardware cryptographic engine.
 * Copyright (c) 2022 StarFive Technology
 *
 */

#include <crypto/engine.h>
#include "jh7110-cryp.h"
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/iopoll.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/reset.h>
#include <linux/spinlock.h>

#define DRIVER_NAME

struct starfive_dev_list {};

static struct starfive_dev_list dev_list =;

struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx)
{}

static u16 side_chan;
module_param(side_chan, ushort, 0);
MODULE_PARM_DESC();

static int starfive_dma_init(struct starfive_cryp_dev *cryp)
{}

static void starfive_dma_cleanup(struct starfive_cryp_dev *cryp)
{}

static int starfive_cryp_probe(struct platform_device *pdev)
{}

static void starfive_cryp_remove(struct platform_device *pdev)
{}

static const struct of_device_id starfive_dt_ids[] __maybe_unused =;
MODULE_DEVICE_TABLE(of, starfive_dt_ids);

static struct platform_driver starfive_cryp_driver =;

module_platform_driver();

MODULE_LICENSE();
MODULE_DESCRIPTION();