xref: /openbmc/linux/drivers/media/pci/bt8xx/dst_ca.h (revision a8fe58ce)
1 /*
2 	CA-driver for TwinHan DST Frontend/Card
3 
4 	Copyright (C) 2004, 2005 Manu Abraham (manu@kromtek.com)
5 
6 	This program is free software; you can redistribute it and/or modify
7 	it under the terms of the GNU General Public License as published by
8 	the Free Software Foundation; either version 2 of the License, or
9 	(at your option) any later version.
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 	You should have received a copy of the GNU General Public License
17 	along with this program; if not, write to the Free Software
18 	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20 
21 #ifndef _DST_CA_H_
22 #define _DST_CA_H_
23 
24 #define RETRIES			5
25 
26 
27 #define	CA_APP_INFO_ENQUIRY	0x9f8020
28 #define	CA_APP_INFO		0x9f8021
29 #define	CA_ENTER_MENU		0x9f8022
30 #define CA_INFO_ENQUIRY		0x9f8030
31 #define	CA_INFO			0x9f8031
32 #define CA_PMT			0x9f8032
33 #define CA_PMT_REPLY		0x9f8033
34 
35 #define CA_CLOSE_MMI		0x9f8800
36 #define CA_DISPLAY_CONTROL	0x9f8801
37 #define CA_DISPLAY_REPLY	0x9f8802
38 #define CA_TEXT_LAST		0x9f8803
39 #define CA_TEXT_MORE		0x9f8804
40 #define CA_KEYPAD_CONTROL	0x9f8805
41 #define CA_KEYPRESS		0x9f8806
42 
43 #define CA_ENQUIRY		0x9f8807
44 #define CA_ANSWER		0x9f8808
45 #define CA_MENU_LAST		0x9f8809
46 #define CA_MENU_MORE		0x9f880a
47 #define CA_MENU_ANSWER		0x9f880b
48 #define CA_LIST_LAST		0x9f880c
49 #define CA_LIST_MORE		0x9f880d
50 
51 
52 struct dst_ca_private {
53 	struct dst_state *dst;
54 	struct dvb_device *dvbdev;
55 };
56 
57 
58 #endif
59