linux/drivers/crypto/ccp/ccp-dev-v3.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * AMD Cryptographic Coprocessor (CCP) driver
 *
 * Copyright (C) 2013,2017 Advanced Micro Devices, Inc.
 *
 * Author: Tom Lendacky <[email protected]>
 * Author: Gary R Hook <[email protected]>
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/interrupt.h>
#include <linux/ccp.h>

#include "ccp-dev.h"

static u32 ccp_alloc_ksb(struct ccp_cmd_queue *cmd_q, unsigned int count)
{}

static void ccp_free_ksb(struct ccp_cmd_queue *cmd_q, unsigned int start,
			 unsigned int count)
{}

static unsigned int ccp_get_free_slots(struct ccp_cmd_queue *cmd_q)
{}

static int ccp_do_cmd(struct ccp_op *op, u32 *cr, unsigned int cr_count)
{}

static int ccp_perform_aes(struct ccp_op *op)
{}

static int ccp_perform_xts_aes(struct ccp_op *op)
{}

static int ccp_perform_sha(struct ccp_op *op)
{}

static int ccp_perform_rsa(struct ccp_op *op)
{}

static int ccp_perform_passthru(struct ccp_op *op)
{}

static int ccp_perform_ecc(struct ccp_op *op)
{}

static void ccp_disable_queue_interrupts(struct ccp_device *ccp)
{}

static void ccp_enable_queue_interrupts(struct ccp_device *ccp)
{}

static void ccp_irq_bh(unsigned long data)
{}

static irqreturn_t ccp_irq_handler(int irq, void *data)
{}

static int ccp_init(struct ccp_device *ccp)
{}

static void ccp_destroy(struct ccp_device *ccp)
{}

static const struct ccp_actions ccp3_actions =;

const struct ccp_vdata ccpv3_platform =;

const struct ccp_vdata ccpv3 =;