android_kernel_samsung_msm8976/include/linux/avtimer_kernel.h
Asish Bhattacharya 3aa312307c avtimer: msm: allow driver to register to SSR framework
Sub System Restart[SSR] framework allows driver to handle
unexpected crash in middle of operation.
Also, adding support clk_div dtsi entry to calculate
avtimer_lsw value.

CRs-Fixed: 689849
Change-Id: I521e3c010dadd00a06a0fe8998a1759b2eb81b55
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2014-07-21 15:29:31 +05:30

24 lines
762 B
C

/*
* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _AVTIMER_H
#define _AVTIMER_H
#include <uapi/linux/avtimer.h>
int avcs_core_open(void);
int avcs_core_disable_power_collapse(int disable);/* true or flase */
int avcs_core_query_timer(uint64_t *avtimer_tick);
#endif