linux/drivers/crypto/tegra/tegra-se-main.c

// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/*
 * Crypto driver for NVIDIA Security Engine in Tegra Chips
 */

#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/mod_devicetable.h>

#include <crypto/engine.h>

#include "tegra-se.h"

static struct host1x_bo *tegra_se_cmdbuf_get(struct host1x_bo *host_bo)
{}

static void tegra_se_cmdbuf_release(struct kref *ref)
{}

static void tegra_se_cmdbuf_put(struct host1x_bo *host_bo)
{}

static struct host1x_bo_mapping *
tegra_se_cmdbuf_pin(struct device *dev, struct host1x_bo *bo, enum dma_data_direction direction)
{}

static void tegra_se_cmdbuf_unpin(struct host1x_bo_mapping *map)
{}

static void *tegra_se_cmdbuf_mmap(struct host1x_bo *host_bo)
{}

static void tegra_se_cmdbuf_munmap(struct host1x_bo *host_bo, void *addr)
{}

static const struct host1x_bo_ops tegra_se_cmdbuf_ops =;

static struct tegra_se_cmdbuf *tegra_se_host1x_bo_alloc(struct tegra_se *se, ssize_t size)
{}

int tegra_se_host1x_submit(struct tegra_se *se, u32 size)
{}

static int tegra_se_client_init(struct host1x_client *client)
{}

static int tegra_se_client_deinit(struct host1x_client *client)
{}

static const struct host1x_client_ops tegra_se_client_ops =;

static int tegra_se_host1x_register(struct tegra_se *se)
{}

static int tegra_se_probe(struct platform_device *pdev)
{}

static void tegra_se_remove(struct platform_device *pdev)
{}

static const struct tegra_se_regs tegra234_aes1_regs =;

static const struct tegra_se_regs tegra234_hash_regs =;

static const struct tegra_se_hw tegra234_aes_hw =;

static const struct tegra_se_hw tegra234_hash_hw =;

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

static struct platform_driver tegra_se_driver =;

static int tegra_se_host1x_probe(struct host1x_device *dev)
{}

static int tegra_se_host1x_remove(struct host1x_device *dev)
{}

static struct host1x_driver tegra_se_host1x_driver =;

static int __init tegra_se_module_init(void)
{}

static void __exit tegra_se_module_exit(void)
{}

module_init();
module_exit(tegra_se_module_exit);

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();