summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
index 5916f695..4a3f634e 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
@@ -50,6 +50,26 @@
50#ifndef _hw_ltc_gp10b_h_ 50#ifndef _hw_ltc_gp10b_h_
51#define _hw_ltc_gp10b_h_ 51#define _hw_ltc_gp10b_h_
52 52
53static inline u32 ltc_pltcg_base_v(void)
54{
55 return 0x00140000;
56}
57static inline u32 ltc_pltcg_extent_v(void)
58{
59 return 0x0017ffff;
60}
61static inline u32 ltc_ltc0_ltss_v(void)
62{
63 return 0x00140200;
64}
65static inline u32 ltc_ltc0_lts0_v(void)
66{
67 return 0x00140400;
68}
69static inline u32 ltc_ltcs_ltss_v(void)
70{
71 return 0x0017e200;
72}
53static inline u32 ltc_ltcs_lts0_cbc_ctrl1_r(void) 73static inline u32 ltc_ltcs_lts0_cbc_ctrl1_r(void)
54{ 74{
55 return 0x0014046c; 75 return 0x0014046c;