aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/mediatek/vdec/vdec.h
blob: 098a76079c7563ea2eb03ba0da9f30d33e22f889 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*****************************************************************************
 *
 * Filename:
 * ---------
 *    auxadc.h
 *
 * Project:
 * --------
 *   MT6573 DVT
 *
 * Description:
 * ------------
 *   This file is for Auxiliary ADC Unit.
 *
 * Author:
 * -------
 *  Myron Li
 *
 *============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *============================================================================
 ****************************************************************************/

#ifndef MT8320_LDVT_VDEC_TS_H
#define MT8320_LDVT_VDEC_TS_H

#include <mach/mt_irq.h>


#define MT8320_VDEC_IRQ          (82)

#endif
struct file *openFile(char *path, int flag, int mode);
int readFileOffset(struct file *fp, char *buf, int readlen, UINT32 u4Offset);
int readFileSize(struct file *fp, char *buf, int readlen) ;
int readFile(struct file *fp, char *buf, int readlen);
int closeFile(struct file *fp);
void initKernelEnv(void);