hc
2023-10-16 def2367077573b56f9fc4f824e5c0377a3a4175a
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
// SPDX-License-Identifier: GPL-2.0
/********************************************************************************
 *
 *  Copyright (C) 2017 NEXTCHIP Inc. All rights reserved.
 *  Module        : Nvp6158 Device Driver
 *  Description    : BT1120
 *  Author        :
 *  Date         :
 *  Version        : Version 1.0
 *
 ********************************************************************************
 *  History      :
 *
 *
 ********************************************************************************/
#ifndef _NVP6158_DRV_
#define _NVP6158_DRV_
 
#include "nvp6158_video.h"
 
extern void nvp6158_datareverse(unsigned char chip, unsigned char port);
 
int nvp6158_open(struct inode * inode, struct file * file);
int nvp6158_close(struct inode * inode, struct file * file);
long nvp6158_native_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
void nvp6158_i2c_client_exit(void);
 
void nvp6158_set_mclk(unsigned int mclk);
void nvp6158_start(video_init_all *video_init, bool dual_edge);
void nvp6158_stop(void);
int nvp6158_init(int i2c_bus);
void nvp6158_exit(void);
 
#endif