linux/drivers/crypto/intel/qat/qat_common/qat_crypto.c

// SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
/* Copyright(c) 2014 - 2020 Intel Corporation */
#include <linux/module.h>
#include <linux/slab.h>
#include "adf_accel_devices.h"
#include "adf_common_drv.h"
#include "adf_transport.h"
#include "adf_cfg.h"
#include "adf_cfg_strings.h"
#include "adf_gen2_hw_data.h"
#include "qat_crypto.h"
#include "icp_qat_fw.h"

#define SEC

static struct service_hndl qat_crypto;

void qat_crypto_put_instance(struct qat_crypto_instance *inst)
{}

static int qat_crypto_free_instances(struct adf_accel_dev *accel_dev)
{}

struct qat_crypto_instance *qat_crypto_get_instance_node(int node)
{}

/**
 * qat_crypto_vf_dev_config() - create dev config required to create
 * crypto inst.
 *
 * @accel_dev: Pointer to acceleration device.
 *
 * Function creates device configuration required to create
 * asym, sym or, crypto instances
 *
 * Return: 0 on success, error code otherwise.
 */
int qat_crypto_vf_dev_config(struct adf_accel_dev *accel_dev)
{}

static int qat_crypto_create_instances(struct adf_accel_dev *accel_dev)
{}

static int qat_crypto_init(struct adf_accel_dev *accel_dev)
{}

static int qat_crypto_shutdown(struct adf_accel_dev *accel_dev)
{}

static int qat_crypto_event_handler(struct adf_accel_dev *accel_dev,
				    enum adf_event event)
{}

int qat_crypto_register(void)
{}

int qat_crypto_unregister(void)
{}