Adds sample period actmon registers accessors
Bug
1515085
Change-Id: Ic9ff3bff8a6880f86bc78763b9c457642180eb67
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/434953
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
/*
- * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2012-2014, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
{
return 0x20;
}
+static inline u32 actmon_sample_ctrl_r(void)
+{
+ return 0x28;
+}
+static inline u32 actmon_sample_ctrl_tick_range_f(u32 v)
+{
+ return (v & 0x1) << 2;
+}
+static inline u32 actmon_sample_ctrl_tick_range_m(void)
+{
+ return 0x1 << 2;
+}
#endif