mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Use SPDX license GPL-V2.0 format and change Nvidia copyright year to include 2023. Bug 4078035 Change-Id: I4db6577ddb806690f6ec04f5eaf1364578102d14 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890635 Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-by: Ketan Patil <ketanp@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
29 lines
706 B
C
29 lines
706 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* structure declarations for nvmem and nvmap user-space ioctls
|
|
*/
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/bitmap.h>
|
|
#include <linux/device.h>
|
|
#include <linux/spinlock.h>
|
|
|
|
#ifndef _LINUX_NVMAP_T19x_H
|
|
#define _LINUX_NVMAP_T19x_H
|
|
|
|
#define NVMAP_HEAP_CARVEOUT_CVSRAM (1ul<<25)
|
|
|
|
int nvmap_register_cvsram_carveout(struct device *dma_dev,
|
|
phys_addr_t base, size_t size,
|
|
int (*pmops_busy)(void), int (*pmops_idle)(void));
|
|
|
|
struct nvmap_handle_t19x {
|
|
atomic_t nc_pin; /* no. of pins from non io coherent devices */
|
|
};
|
|
|
|
extern bool nvmap_version_t19x;
|
|
|
|
#endif /* _LINUX_NVMAP_T19x_H */
|