gpu: nvgpu: Add ELPG_ENABLE register

Change-Id: I8b2272641c7f406cec9bb2649846e4b4b195e21a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/708720
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Terje Bergstrom
2015-02-11 14:34:48 -08:00
committed by Deepak Nibade
parent fc898d8f56
commit 3d08b0dc35

View File

@@ -226,4 +226,20 @@ static inline u32 mc_enable_pb_sel_f(u32 v, u32 i)
{ {
return (v & 0x1) << (0 + i*1); return (v & 0x1) << (0 + i*1);
} }
static inline u32 mc_elpg_enable_r(void)
{
return 0x0000020c;
}
static inline u32 mc_elpg_enable_xbar_enabled_f(void)
{
return 0x4;
}
static inline u32 mc_elpg_enable_pfb_enabled_f(void)
{
return 0x100000;
}
static inline u32 mc_elpg_enable_hub_enabled_f(void)
{
return 0x20000000;
}
#endif #endif