mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: remove un-used ltc defs from hw headers
Removed un-used ltc registers from register generator and generated kernel hw headers with that. JIRA NVGPU-2917 JIRA NVGPU-2918 JIRA NVGPU-2919 JIRA NVGPU-2920 JIRA NVGPU-2921 Change-Id: I18d25086fb1fcd27dfee81bd7a767ffcd485bde5 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2088056 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
bd8b866758
commit
78b78d4e39
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -286,22 +286,6 @@ static inline u32 ltc_ltc0_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_r(void)
|
||||
{
|
||||
return 0x00142214U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltcs_ltss_intr_r(void)
|
||||
{
|
||||
return 0x0017e20cU;
|
||||
@@ -494,36 +478,4 @@ static inline u32 ltc_ltc0_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_r(void)
|
||||
{
|
||||
return 0x001422a0U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_r(void)
|
||||
{
|
||||
return 0x001422a4U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -294,22 +294,6 @@ static inline u32 ltc_ltc0_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_r(void)
|
||||
{
|
||||
return 0x00142214U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltcs_ltss_intr_r(void)
|
||||
{
|
||||
return 0x0017e20cU;
|
||||
@@ -534,38 +518,6 @@ static inline u32 ltc_ltc0_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_r(void)
|
||||
{
|
||||
return 0x001422a0U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_r(void)
|
||||
{
|
||||
return 0x001422a4U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc0_lts0_tstg_info_1_r(void)
|
||||
{
|
||||
return 0x0014058cU;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -334,22 +334,6 @@ static inline u32 ltc_ltc0_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_r(void)
|
||||
{
|
||||
return 0x00142214U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltcs_ltss_intr_r(void)
|
||||
{
|
||||
return 0x0017e20cU;
|
||||
@@ -586,38 +570,6 @@ static inline u32 ltc_ltc0_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_r(void)
|
||||
{
|
||||
return 0x001422a0U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_r(void)
|
||||
{
|
||||
return 0x001422a4U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc0_lts0_tstg_info_1_r(void)
|
||||
{
|
||||
return 0x0014058cU;
|
||||
|
||||
@@ -334,22 +334,6 @@ static inline u32 ltc_ltc0_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_r(void)
|
||||
{
|
||||
return 0x00142214U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltcs_ltss_intr_r(void)
|
||||
{
|
||||
return 0x0017e20cU;
|
||||
@@ -794,38 +778,6 @@ static inline u32 ltc_ltc0_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_r(void)
|
||||
{
|
||||
return 0x001422a0U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_r(void)
|
||||
{
|
||||
return 0x001422a4U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc0_lts0_tstg_info_1_r(void)
|
||||
{
|
||||
return 0x0014058cU;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -346,22 +346,6 @@ static inline u32 ltc_ltc0_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_r(void)
|
||||
{
|
||||
return 0x00142214U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_g_elpg_flush_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltcs_ltss_intr_r(void)
|
||||
{
|
||||
return 0x0017e20cU;
|
||||
@@ -598,38 +582,6 @@ static inline u32 ltc_ltc0_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_r(void)
|
||||
{
|
||||
return 0x001422a0U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt0_invalidate_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_r(void)
|
||||
{
|
||||
return 0x001422a4U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_v(u32 r)
|
||||
{
|
||||
return (r >> 0U) & 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_v(void)
|
||||
{
|
||||
return 0x00000001U;
|
||||
}
|
||||
static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_f(void)
|
||||
{
|
||||
return 0x1U;
|
||||
}
|
||||
static inline u32 ltc_ltc0_lts0_tstg_info_1_r(void)
|
||||
{
|
||||
return 0x0014058cU;
|
||||
|
||||
Reference in New Issue
Block a user