diff options
Diffstat (limited to 'drivers/media/dvb/firesat/avc_api.h')
-rw-r--r-- | drivers/media/dvb/firesat/avc_api.h | 115 |
1 files changed, 56 insertions, 59 deletions
diff --git a/drivers/media/dvb/firesat/avc_api.h b/drivers/media/dvb/firesat/avc_api.h index 04166568590..66f419a6f7c 100644 --- a/drivers/media/dvb/firesat/avc_api.h +++ b/drivers/media/dvb/firesat/avc_api.h | |||
@@ -1,32 +1,25 @@ | |||
1 | /*************************************************************************** | ||
2 | avc_api.h - description | ||
3 | ------------------- | ||
4 | begin : Wed May 1 2000 | ||
5 | copyright : (C) 2000 by Manfred Weihs | ||
6 | copyright : (C) 2003 by Philipp Gutgsell | ||
7 | copyright : (C) 2008 by Henrik Kurelid (henrik@kurelid.se) | ||
8 | email : 0014guph@edu.fh-kaernten.ac.at | ||
9 | ***************************************************************************/ | ||
10 | |||
11 | /*************************************************************************** | ||
12 | * * | ||
13 | * This program is free software; you can redistribute it and/or modify * | ||
14 | * it under the terms of the GNU General Public License as published by * | ||
15 | * the Free Software Foundation; either version 2 of the License, or * | ||
16 | * (at your option) any later version. * | ||
17 | * * | ||
18 | ***************************************************************************/ | ||
19 | |||
20 | /* | 1 | /* |
21 | This is based on code written by Peter Halwachs, | 2 | * AV/C API |
22 | Thomas Groiss and Andreas Monitzer. | 3 | * |
23 | */ | 4 | * Copyright (C) 2000 Manfred Weihs |
24 | 5 | * Copyright (C) 2003 Philipp Gutgsell <0014guph@edu.fh-kaernten.ac.at> | |
25 | 6 | * Copyright (C) 2004 Andreas Monitzer <andy@monitzer.com> | |
26 | #ifndef __AVC_API_H__ | 7 | * Copyright (C) 2008 Ben Backx <ben@bbackx.com> |
27 | #define __AVC_API_H__ | 8 | * Copyright (C) 2008 Henrik Kurelid <henrik@kurelid.se> |
28 | 9 | * | |
29 | #include <linux/dvb/frontend.h> | 10 | * This is based on code written by Peter Halwachs, Thomas Groiss and |
11 | * Andreas Monitzer. | ||
12 | * | ||
13 | * This program is free software; you can redistribute it and/or | ||
14 | * modify it under the terms of the GNU General Public License as | ||
15 | * published by the Free Software Foundation; either version 2 of | ||
16 | * the License, or (at your option) any later version. | ||
17 | */ | ||
18 | |||
19 | #ifndef _AVC_API_H | ||
20 | #define _AVC_API_H | ||
21 | |||
22 | #include <linux/types.h> | ||
30 | 23 | ||
31 | /************************************************************* | 24 | /************************************************************* |
32 | Constants from EN510221 | 25 | Constants from EN510221 |
@@ -416,34 +409,38 @@ typedef struct | |||
416 | 409 | ||
417 | #define LNBCONTROL_DONTCARE 0xff | 410 | #define LNBCONTROL_DONTCARE 0xff |
418 | 411 | ||
419 | 412 | struct dvb_diseqc_master_cmd; | |
420 | extern int AVCWrite(struct firesat *firesat, const AVCCmdFrm *CmdFrm, AVCRspFrm *RspFrm); | 413 | struct dvb_frontend_parameters; |
421 | extern int AVCRecv(struct firesat *firesat, u8 *data, size_t length); | 414 | struct firesat; |
422 | 415 | ||
423 | extern int AVCTuner_DSIT(struct firesat *firesat, | 416 | int AVCWrite(struct firesat *firesat, const AVCCmdFrm *CmdFrm, |
424 | int Source_Plug, | 417 | AVCRspFrm *RspFrm); |
425 | struct dvb_frontend_parameters *params, | 418 | int AVCRecv(struct firesat *firesat, u8 *data, size_t length); |
426 | __u8 *status); | 419 | |
427 | 420 | int AVCTuner_DSIT(struct firesat *firesat, int Source_Plug, | |
428 | extern int AVCTunerStatus(struct firesat *firesat, ANTENNA_INPUT_INFO *antenna_input_info); | 421 | struct dvb_frontend_parameters *params, __u8 *status); |
429 | extern int AVCTuner_DSD(struct firesat *firesat, struct dvb_frontend_parameters *params, __u8 *status); | 422 | |
430 | extern int AVCTuner_SetPIDs(struct firesat *firesat, unsigned char pidc, u16 pid[]); | 423 | int AVCTunerStatus(struct firesat *firesat, |
431 | extern int AVCTuner_GetTS(struct firesat *firesat); | 424 | ANTENNA_INPUT_INFO *antenna_input_info); |
432 | 425 | int AVCTuner_DSD(struct firesat *firesat, | |
433 | extern int AVCIdentifySubunit(struct firesat *firesat, unsigned char *systemId, int *transport); | 426 | struct dvb_frontend_parameters *params, __u8 *status); |
434 | extern int AVCLNBControl(struct firesat *firesat, char voltage, char burst, char conttone, char nrdiseq, struct dvb_diseqc_master_cmd *diseqcmd); | 427 | int AVCTuner_SetPIDs(struct firesat *firesat, unsigned char pidc, u16 pid[]); |
435 | extern int AVCSubUnitInfo(struct firesat *firesat, char *subunitcount); | 428 | int AVCTuner_GetTS(struct firesat *firesat); |
436 | extern int AVCRegisterRemoteControl(struct firesat *firesat); | 429 | |
437 | extern int AVCTuner_Host2Ca(struct firesat *firesat); | 430 | int AVCIdentifySubunit(struct firesat *firesat); |
438 | extern int avc_ca_app_info(struct firesat *firesat, char *app_info, | 431 | int AVCLNBControl(struct firesat *firesat, char voltage, char burst, |
439 | int *length); | 432 | char conttone, char nrdiseq, |
440 | extern int avc_ca_info(struct firesat *firesat, char *app_info, int *length); | 433 | struct dvb_diseqc_master_cmd *diseqcmd); |
441 | extern int avc_ca_reset(struct firesat *firesat); | 434 | int AVCSubUnitInfo(struct firesat *firesat, char *subunitcount); |
442 | extern int avc_ca_pmt(struct firesat *firesat, char *app_info, int length); | 435 | void avc_remote_ctrl_work(struct work_struct *work); |
443 | extern int avc_ca_get_time_date(struct firesat *firesat, int *interval); | 436 | int AVCRegisterRemoteControl(struct firesat *firesat); |
444 | extern int avc_ca_enter_menu(struct firesat *firesat); | 437 | int AVCTuner_Host2Ca(struct firesat *firesat); |
445 | extern int avc_ca_get_mmi(struct firesat *firesat, char *mmi_object, | 438 | int avc_ca_app_info(struct firesat *firesat, char *app_info, int *length); |
446 | int *length); | 439 | int avc_ca_info(struct firesat *firesat, char *app_info, int *length); |
447 | 440 | int avc_ca_reset(struct firesat *firesat); | |
448 | #endif | 441 | int avc_ca_pmt(struct firesat *firesat, char *app_info, int length); |
449 | 442 | int avc_ca_get_time_date(struct firesat *firesat, int *interval); | |
443 | int avc_ca_enter_menu(struct firesat *firesat); | ||
444 | int avc_ca_get_mmi(struct firesat *firesat, char *mmi_object, int *length); | ||
445 | |||
446 | #endif /* _AVC_API_H */ | ||