mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
using this patch fixing below cert & misra errors:- - misra_c_2012_rule_21_2_violation: "__UAPI_NVHVIVC_MEMPOOL_IOCTL_H__", an identifier or macro name beginning with an underscore, shall not be declared. - misra_c_2012_rule_21_1_violation: Defining or undefining a reserved name "__UAPI_NVHVIVC_MEMPOOL_IOCTL_H__", which is an identifier or macro name beginning with an underscore. - cert_dcl37_c_violation: The reserved identifier "__UAPI_NVHVIVC_MEMPOOL_IOCTL_H__", which is reserved for use as identifiers with file scope in both the ordinary and tag name spaces, is defined. JIRA ESLC-8398 Change-Id: I82aca2a1c87ee4d2a145671ea0284fe739cb9b16 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3297795 Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
23 lines
565 B
C
23 lines
565 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*/
|
|
#ifndef NVHVIVC_MEMPOOL_IOCTL_H
|
|
#define NVHVIVC_MEMPOOL_IOCTL_H
|
|
|
|
#include <linux/ioctl.h>
|
|
|
|
/* ivc mempool IOCTL magic number */
|
|
#define TEGRA_MPLUSERSPACE_IOCTL_MAGIC 0xA6
|
|
|
|
|
|
/* IOCTL definitions */
|
|
|
|
/* query ivc mempool configuration data */
|
|
#define TEGRA_MPLUSERSPACE_IOCTL_GET_INFO \
|
|
_IOR(TEGRA_MPLUSERSPACE_IOCTL_MAGIC, 1, struct ivc_mempool)
|
|
|
|
#define TEGRA_MPLUSERSPACE_IOCTL_NUMBER_MAX 1
|
|
|
|
#endif /* NVHVIVC_MEMPOOL_IOCTL_H */
|