Daniel Scheller | 3dae3c9 | 2018-06-19 14:51:18 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Ralph Metzler | 0f0b270 | 2011-01-10 06:36:15 -0300 | [diff] [blame] | 2 | /* |
Daniel Scheller | 2dc3e05 | 2018-03-17 10:55:32 -0400 | [diff] [blame] | 3 | * cxd2099.h: Driver for the Sony CXD2099AR Common Interface Controller |
Ralph Metzler | 0f0b270 | 2011-01-10 06:36:15 -0300 | [diff] [blame] | 4 | * |
Ralph Metzler | 6eb9419 | 2011-07-03 14:00:57 -0300 | [diff] [blame] | 5 | * Copyright (C) 2010-2011 Digital Devices GmbH |
Ralph Metzler | 0f0b270 | 2011-01-10 06:36:15 -0300 | [diff] [blame] | 6 | */ |
7 | |||||
8 | #ifndef _CXD2099_H_ | ||||
9 | #define _CXD2099_H_ | ||||
10 | |||||
Mauro Carvalho Chehab | fada193 | 2017-12-28 13:03:51 -0500 | [diff] [blame] | 11 | #include <media/dvb_ca_en50221.h> |
Ralph Metzler | 0f0b270 | 2011-01-10 06:36:15 -0300 | [diff] [blame] | 12 | |
Ralph Metzler | 6eb9419 | 2011-07-03 14:00:57 -0300 | [diff] [blame] | 13 | struct cxd2099_cfg { |
14 | u32 bitrate; | ||||
Ralph Metzler | dd3c5d0 | 2017-06-25 18:37:08 -0300 | [diff] [blame] | 15 | u8 polarity; |
16 | u8 clock_mode; | ||||
17 | |||||
18 | u32 max_i2c; | ||||
Daniel Scheller | 81a7059 | 2018-02-17 10:03:23 -0500 | [diff] [blame] | 19 | |
20 | /* ptr to DVB CA struct */ | ||||
21 | struct dvb_ca_en50221 **en; | ||||
Ralph Metzler | 6eb9419 | 2011-07-03 14:00:57 -0300 | [diff] [blame] | 22 | }; |
23 | |||||
Ralph Metzler | 0f0b270 | 2011-01-10 06:36:15 -0300 | [diff] [blame] | 24 | #endif |