1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2008 VideoLAN
7 * Authors: Christophe Massiot <massiot@via.ecp.fr>
9 * This program is free software. It comes without any warranty, to
10 * the extent permitted by applicable law. You can redistribute it
11 * and/or modify it under the terms of the Do What The Fuck You Want
12 * To Public License, Version 2, as published by Sam Hocevar. See
13 * http://sam.zoy.org/wtfpl/COPYING for more details.
14 *****************************************************************************/
16 /* DVB Card Drivers */
17 #include <linux/dvb/version.h>
18 #include <linux/dvb/dmx.h>
19 #include <linux/dvb/frontend.h>
20 #include <linux/dvb/ca.h>
22 #define COMM_BUFFER_SIZE 4096
23 #define COMM_HEADER_SIZE 4
24 #define COMM_HEADER_MAGIC 0x48
27 #define CMD_SHUTDOWN 2
28 #define CMD_FRONTEND_STATUS 3
29 #define CMD_MMI_STATUS 4
30 #define CMD_MMI_SLOT_STATUS 5 /* arg: slot */
31 #define CMD_MMI_OPEN 6 /* arg: slot */
32 #define CMD_MMI_CLOSE 7 /* arg: slot */
33 #define CMD_MMI_RECV 8 /* arg: slot */
34 #define CMD_MMI_SEND 9 /* arg: slot, en50221_mmi_object_t */
38 #define RET_FRONTEND_STATUS 2
39 #define RET_MMI_STATUS 3
40 #define RET_MMI_SLOT_STATUS 4
41 #define RET_MMI_RECV 5
42 #define RET_MMI_WAIT 6
45 struct ret_frontend_status
47 struct dvb_frontend_info info
;
49 int32_t i_ber
, i_strength
, i_snr
;
57 struct ret_mmi_slot_status
64 en50221_mmi_object_t object
;
70 en50221_mmi_object_t object
;