mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
Initiate handshake with FSI by sending signal to NvFsiCom daemon on system resume. JIRA SS-3761 This patch is integrated from kernel/nvidia to kernel/nvidia-oot https://git-master.nvidia.com/r/c/linux-nvidia/+/2720391 JIRA SS-4628 Bug 3855033 Change-Id: I08221f94248c39998df856ae3e254e02b2803985 Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819742 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
28 lines
667 B
C
28 lines
667 B
C
/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note)
|
|
*
|
|
* Copyright (c) 2021-2022, NVIDIA CORPORATION, All rights reserved.
|
|
*/
|
|
|
|
#ifndef _UAPI_TEGRA_FSICOM_H_
|
|
#define _UAPI_TEGRA_FSICOM_H_
|
|
|
|
#include <linux/ioctl.h>
|
|
|
|
struct rw_data {
|
|
uint32_t handle;
|
|
uint64_t pa;
|
|
uint64_t iova;
|
|
};
|
|
|
|
/* signal value */
|
|
#define SIG_DRIVER_RESUME 43
|
|
#define SIG_FSI_WRITE_EVENT 44
|
|
|
|
/* ioctl call macros */
|
|
#define NVMAP_SMMU_MAP _IOWR('q', 1, struct rw_data *)
|
|
#define NVMAP_SMMU_UNMAP _IOWR('q', 2, struct rw_data *)
|
|
#define TEGRA_HSP_WRITE _IOWR('q', 3, struct rw_data *)
|
|
#define TEGRA_SIGNAL_REG _IOWR('q', 4, struct rw_data *)
|
|
|
|
#endif /* _UAPI_TEGRA_FSICOM_H_ */
|