xref: /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/cxd2099.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * cxd2099.h: Driver for the Sony CXD2099AR Common Interface Controller
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copyright (C) 2010-2011 Digital Devices GmbH
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or
8*4882a593Smuzhiyun  * modify it under the terms of the GNU General Public License
9*4882a593Smuzhiyun  * version 2 only, as published by the Free Software Foundation.
10*4882a593Smuzhiyun  *
11*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful,
12*4882a593Smuzhiyun  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*4882a593Smuzhiyun  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*4882a593Smuzhiyun  * GNU General Public License for more details.
15*4882a593Smuzhiyun  */
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #ifndef _CXD2099_H_
18*4882a593Smuzhiyun #define _CXD2099_H_
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun #include <media/dvb_ca_en50221.h>
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun struct cxd2099_cfg {
23*4882a593Smuzhiyun 	u32 bitrate;
24*4882a593Smuzhiyun 	u8  polarity;
25*4882a593Smuzhiyun 	u8  clock_mode;
26*4882a593Smuzhiyun 
27*4882a593Smuzhiyun 	u32 max_i2c;
28*4882a593Smuzhiyun 
29*4882a593Smuzhiyun 	/* ptr to DVB CA struct */
30*4882a593Smuzhiyun 	struct dvb_ca_en50221 **en;
31*4882a593Smuzhiyun };
32*4882a593Smuzhiyun 
33*4882a593Smuzhiyun #endif
34