Files
linux-nv-oot/include/linux/nvhost_t194.h
Laxman Dewangan cafcc24336 include: nvhost: Use SPDX license GPL 2.0 format
Use SPDX license GPL-V2.0 format and change Nvidia
copyright year to include 2023.

Bug 4078035

Change-Id: I0baf1b4d579ac7414e0936c99ba0861abee241e6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2891215
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-21 11:42:48 -07:00

30 lines
767 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2017-2023, NVIDIA Corporation. All rights reserved.
*/
#ifndef __LINUX_NVHOST_T194_H__
#define __LINUX_NVHOST_T194_H__
int nvhost_syncpt_unit_interface_get_aperture(
struct platform_device *host_pdev,
phys_addr_t *base,
size_t *size);
u32 nvhost_syncpt_unit_interface_get_byte_offset(u32 syncpt_id);
#ifdef CONFIG_TEGRA_HOST1X
u32 nvhost_syncpt_unit_interface_get_byte_offset_ext(
struct platform_device *host_pdev,
u32 syncpt_id);
#else
static inline u32 nvhost_syncpt_unit_interface_get_byte_offset_ext(
struct platform_device *host_pdev,
u32 syncpt_id)
{
return nvhost_syncpt_unit_interface_get_byte_offset(syncpt_id);
}
#endif
#endif /* __LINUX_NVHOST_T194_H__ */