diff options
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110.h')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.h b/drivers/media/dvb/ttpci/av7110.h index cce00ef293e9..6ea30df2e823 100644 --- a/drivers/media/dvb/ttpci/av7110.h +++ b/drivers/media/dvb/ttpci/av7110.h | |||
@@ -98,7 +98,8 @@ struct av7110 { | |||
98 | int adac_type; /* audio DAC type */ | 98 | int adac_type; /* audio DAC type */ |
99 | #define DVB_ADAC_TI 0 | 99 | #define DVB_ADAC_TI 0 |
100 | #define DVB_ADAC_CRYSTAL 1 | 100 | #define DVB_ADAC_CRYSTAL 1 |
101 | #define DVB_ADAC_MSP 2 | 101 | #define DVB_ADAC_MSP34x0 2 |
102 | #define DVB_ADAC_MSP34x5 3 | ||
102 | #define DVB_ADAC_NONE -1 | 103 | #define DVB_ADAC_NONE -1 |
103 | 104 | ||
104 | 105 | ||
@@ -228,6 +229,9 @@ struct av7110 { | |||
228 | struct dvb_video_events video_events; | 229 | struct dvb_video_events video_events; |
229 | video_size_t video_size; | 230 | video_size_t video_size; |
230 | 231 | ||
232 | u16 wssMode; | ||
233 | u16 wssData; | ||
234 | |||
231 | u32 ir_config; | 235 | u32 ir_config; |
232 | u32 ir_command; | 236 | u32 ir_command; |
233 | void (*ir_handler)(struct av7110 *av7110, u32 ircom); | 237 | void (*ir_handler)(struct av7110 *av7110, u32 ircom); |
@@ -245,6 +249,15 @@ struct av7110 { | |||
245 | 249 | ||
246 | struct dvb_frontend* fe; | 250 | struct dvb_frontend* fe; |
247 | fe_status_t fe_status; | 251 | fe_status_t fe_status; |
252 | |||
253 | /* crash recovery */ | ||
254 | void (*recover)(struct av7110* av7110); | ||
255 | struct dvb_frontend_parameters saved_fe_params; | ||
256 | fe_sec_voltage_t saved_voltage; | ||
257 | fe_sec_tone_mode_t saved_tone; | ||
258 | struct dvb_diseqc_master_cmd saved_master_cmd; | ||
259 | fe_sec_mini_cmd_t saved_minicmd; | ||
260 | |||
248 | int (*fe_init)(struct dvb_frontend* fe); | 261 | int (*fe_init)(struct dvb_frontend* fe); |
249 | int (*fe_read_status)(struct dvb_frontend* fe, fe_status_t* status); | 262 | int (*fe_read_status)(struct dvb_frontend* fe, fe_status_t* status); |
250 | int (*fe_diseqc_reset_overload)(struct dvb_frontend* fe); | 263 | int (*fe_diseqc_reset_overload)(struct dvb_frontend* fe); |
@@ -252,7 +265,7 @@ struct av7110 { | |||
252 | int (*fe_diseqc_send_burst)(struct dvb_frontend* fe, fe_sec_mini_cmd_t minicmd); | 265 | int (*fe_diseqc_send_burst)(struct dvb_frontend* fe, fe_sec_mini_cmd_t minicmd); |
253 | int (*fe_set_tone)(struct dvb_frontend* fe, fe_sec_tone_mode_t tone); | 266 | int (*fe_set_tone)(struct dvb_frontend* fe, fe_sec_tone_mode_t tone); |
254 | int (*fe_set_voltage)(struct dvb_frontend* fe, fe_sec_voltage_t voltage); | 267 | int (*fe_set_voltage)(struct dvb_frontend* fe, fe_sec_voltage_t voltage); |
255 | int (*fe_dishnetwork_send_legacy_command)(struct dvb_frontend* fe, unsigned int cmd); | 268 | int (*fe_dishnetwork_send_legacy_command)(struct dvb_frontend* fe, unsigned long cmd); |
256 | int (*fe_set_frontend)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params); | 269 | int (*fe_set_frontend)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params); |
257 | }; | 270 | }; |
258 | 271 | ||