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