diff options
Diffstat (limited to 'arch/arm/mach-tegra/include/nvodm_pmu.h')
-rw-r--r-- | arch/arm/mach-tegra/include/nvodm_pmu.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/nvodm_pmu.h b/arch/arm/mach-tegra/include/nvodm_pmu.h index 2b768edbe5b4..b20f536ebb82 100644 --- a/arch/arm/mach-tegra/include/nvodm_pmu.h +++ b/arch/arm/mach-tegra/include/nvodm_pmu.h @@ -449,6 +449,30 @@ NvOdmPmuWriteRtc( NvU32 Count); /** + * Gets the alarm count in seconds of the current external RTC (in PMU). + * + * @param hDevice A handle to the PMU. + * @param Count A pointer to where to return the current counter in sec. + * @return NV_TRUE if successful, or NV_FALSE otherwise. + */ +NvBool +NvOdmPmuReadAlarm( + NvOdmPmuDeviceHandle hDevice, + NvU32* Count); + +/** + * Updates alarm count value. + * + * @param hDevice A handle to the PMU. + * @param Count data with which to update the current counter in sec. + * @return NV_TRUE if successful, or NV_FALSE otherwise. + */ +NvBool +NvOdmPmuWriteAlarm( + NvOdmPmuDeviceHandle hDevice, + NvU32 Count); + +/** * Returns whether or not the RTC is initialized. * * @param hDevice A handle to the PMU. |