xref: /OK3568_Linux_fs/kernel/drivers/media/pci/ddbridge/ddbridge-ci.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * ddbridge-ci.h: Digital Devices bridge CI (DuoFlex, CI Bridge) support
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copyright (C) 2010-2017 Digital Devices GmbH
6*4882a593Smuzhiyun  *                         Marcus Metzler <mocm@metzlerbros.de>
7*4882a593Smuzhiyun  *                         Ralph Metzler <rjkm@metzlerbros.de>
8*4882a593Smuzhiyun  *
9*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or
10*4882a593Smuzhiyun  * modify it under the terms of the GNU General Public License
11*4882a593Smuzhiyun  * version 2 only, as published by the Free Software Foundation.
12*4882a593Smuzhiyun  *
13*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful,
14*4882a593Smuzhiyun  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15*4882a593Smuzhiyun  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*4882a593Smuzhiyun  * GNU General Public License for more details.
17*4882a593Smuzhiyun  */
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun #ifndef __DDBRIDGE_CI_H__
20*4882a593Smuzhiyun #define __DDBRIDGE_CI_H__
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #include "ddbridge.h"
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun /******************************************************************************/
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun int ddb_ci_attach(struct ddb_port *port, u32 bitrate);
27*4882a593Smuzhiyun void ddb_ci_detach(struct ddb_port *port);
28*4882a593Smuzhiyun 
29*4882a593Smuzhiyun #endif /* __DDBRIDGE_CI_H__ */
30