android_kernel_oneplus_msm8998/include/linux/avtimer_kernel.h
Sudheer Papothi 2df0d98256 ASoC: Add AV timer changes for MSM targets
Add snapshot of avtimer changes for MSM targets. The code
is migrated from msm-3.18 kernel.

Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 20:11:12 -07:00

24 lines
762 B
C

/*
* Copyright (c) 2015, 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